ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxn3yv_ek executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_powershell_2019.yml ******************************************** 1 plays in /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml PLAY [Ensure that the role install powershell in an idempotent manner] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:3 Wednesday 03 August 2022 16:55:28 +0000 (0:00:00.035) 0:00:00.035 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Run on a fresh host and install powershell] ****************************** task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:10 Wednesday 03 August 2022 16:55:30 +0000 (0:00:01.373) 0:00:01.408 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.093) 0:00:01.502 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.033) 0:00:01.535 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.590) 0:00:02.125 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.052) 0:00:02.177 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.029) 0:00:02.206 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.028) 0:00:02.235 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.022) 0:00:02.258 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.023) 0:00:02.281 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:55:30 +0000 (0:00:00.044) 0:00:02.326 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:55:31 +0000 (0:00:00.042) 0:00:02.369 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:55:31 +0000 (0:00:00.034) 0:00:02.403 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:55:31 +0000 (0:00:00.032) 0:00:02.436 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:55:31 +0000 (0:00:00.034) 0:00:02.470 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:55:31 +0000 (0:00:00.033) 0:00:02.504 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:55:32 +0000 (0:00:01.097) 0:00:03.602 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:55:32 +0000 (0:00:00.045) 0:00:03.647 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:55:33 +0000 (0:00:00.783) 0:00:04.431 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:55:33 +0000 (0:00:00.051) 0:00:04.482 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:55:33 +0000 (0:00:00.051) 0:00:04.533 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:55:33 +0000 (0:00:00.574) 0:00:05.108 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-15.0.4236.7-1.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:56:10 +0000 (0:00:36.781) 0:00:41.889 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: openldap-compat-2.4.59-3.fc35.x86_64" ] } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:56:12 +0000 (0:00:02.369) 0:00:44.258 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006367", "end": "2022-08-03 16:56:12.770627", "rc": 0, "start": "2022-08-03 16:56:12.764260" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:56:13 +0000 (0:00:00.536) 0:00:44.795 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:56:15 +0000 (0:00:02.032) 0:00:46.828 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:56:15 +0000 (0:00:00.074) 0:00:46.903 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.765251", "end": "2022-08-03 16:56:20.076761", "rc": 0, "start": "2022-08-03 16:56:15.311510" } STDOUT: The licensing PID was successfully processed. The new edition is [Enterprise Evaluation Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. The license terms for this product can be found in /usr/share/doc/mssql-server or downloaded from: https://go.microsoft.com/fwlink/?LinkId=2104294&clcid=0x409 The privacy statement can be viewed at: https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 Configuring SQL Server... Setup has completed successfully. SQL Server is now starting. STDERR: Created symlink /etc/systemd/system/multi-user.target.wants/mssql-server.service → /usr/lib/systemd/system/mssql-server.service. TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:56:20 +0000 (0:00:05.216) 0:00:52.119 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: ethtool-2:5.18-1.fc35.x86_64", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: hdparm-9.63-1.fc35.x86_64", "Installed: kernel-tools-5.18.13-100.fc35.x86_64", "Installed: kernel-tools-libs-5.18.13-100.fc35.x86_64", "Installed: tuned-2.18.0-2.fc35.noarch", "Installed: python3-perf-5.18.13-100.fc35.x86_64", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: tuned-profiles-mssql-2.18.0-2.fc35.noarch", "Installed: python3-linux-procfs-0.6.3-3.fc35.noarch", "Installed: python3-pyudev-0.22.0-6.fc35.noarch", "Installed: virt-what-1.24-1.fc35.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:56:24 +0000 (0:00:03.488) 0:00:55.608 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target system.slice systemd-sysctl.service systemd-journald.socket dbus.socket dbus-broker.service sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service shutdown.target cpupower.service power-profiles-daemon.service auto-cpufreq.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket polkit.service system.slice dbus-broker.service sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:56:25 +0000 (0:00:01.397) 0:00:57.006 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.105264", "end": "2022-08-03 16:56:25.546868", "rc": 0, "start": "2022-08-03 16:56:25.441604" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:56:26 +0000 (0:00:00.568) 0:00:57.574 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.106550", "end": "2022-08-03 16:56:27.076209", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:56:25.969659" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:56:27 +0000 (0:00:01.534) 0:00:59.109 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.040) 0:00:59.149 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:56:27 +0000 (0:00:00.038) 0:00:59.188 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:56:28 +0000 (0:00:00.414) 0:00:59.602 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.1.1-1.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-2.3.9-4.fc35.x86_64", "Installed: unixODBC-devel-2.3.9-4.fc35.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:56:31 +0000 (0:00:02.760) 0:01:02.363 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.042) 0:01:02.405 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.050) 0:01:02.456 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.042) 0:01:02.498 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.038) 0:01:02.537 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.041) 0:01:02.578 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.105) 0:01:02.684 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.041) 0:01:02.725 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.040) 0:01:02.765 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.039) 0:01:02.804 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.038) 0:01:02.843 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.055) 0:01:02.898 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.057) 0:01:02.956 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:56:31 +0000 (0:00:00.071) 0:01:03.028 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003908", "end": "2022-08-03 16:56:31.475960", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:56:31.472052" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.478) 0:01:03.506 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.102458", "end": "2022-08-03 16:56:32.004468", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:56:31.902010" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.541) 0:01:04.048 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.036) 0:01:04.084 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.096) 0:01:04.180 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.040) 0:01:04.221 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:56:32 +0000 (0:00:00.041) 0:01:04.262 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: powershell-7.2.5-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:56:38 +0000 (0:00:05.177) 0:01:09.440 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.037) 0:01:09.478 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.037) 0:01:09.515 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.062) 0:01:09.578 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.037) 0:01:09.616 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.041) 0:01:09.657 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.040) 0:01:09.698 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.040) 0:01:09.738 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.043) 0:01:09.782 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.039) 0:01:09.821 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.037) 0:01:09.858 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.041) 0:01:09.900 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.046) 0:01:09.946 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.048) 0:01:09.995 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.055) 0:01:10.050 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.056) 0:01:10.107 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.051) 0:01:10.158 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.048) 0:01:10.207 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.050) 0:01:10.257 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:56:38 +0000 (0:00:00.097) 0:01:10.355 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.055) 0:01:10.411 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.049) 0:01:10.460 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.050) 0:01:10.511 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.056) 0:01:10.567 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.053) 0:01:10.620 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.048) 0:01:10.669 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Create the availability group] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.048) 0:01:10.717 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.049) 0:01:10.767 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.047) 0:01:10.815 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.050) 0:01:10.865 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.057) 0:01:10.923 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.050) 0:01:10.973 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.051) 0:01:11.025 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.048) 0:01:11.073 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.048) 0:01:11.122 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.048) 0:01:11.170 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.089) 0:01:11.260 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:56:39 +0000 (0:00:00.055) 0:01:11.315 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.049) 0:01:11.365 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.048) 0:01:11.413 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.050) 0:01:11.463 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.046) 0:01:11.510 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.045) 0:01:11.555 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.050) 0:01:11.605 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.060) 0:01:11.666 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.057) 0:01:11.724 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.049) 0:01:11.774 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.046) 0:01:11.821 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:56:40 +0000 (0:00:00.045) 0:01:11.866 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:56:41 +0000 (0:00:00.634) 0:01:12.501 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:56:41 +0000 (0:00:00.041) 0:01:12.543 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:18 Wednesday 03 August 2022 16:56:41 +0000 (0:00:00.066) 0:01:12.609 ****** included: /tmp/tmpc9fejdi1/tests/tasks/mssql-sever-increase-start-limit.yml for /cache/fedora-35.qcow2.snap TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmpc9fejdi1/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 16:56:41 +0000 (0:00:00.079) 0:01:12.688 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmpc9fejdi1/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 16:56:41 +0000 (0:00:00.570) 0:01:13.258 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 16:56:42 +0000 (0:00:00.404) 0:01:13.663 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:19 UTC", "ActiveEnterTimestampMonotonic": "61345846", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:19 UTC", "AssertTimestampMonotonic": "61343876", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5032618000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:19 UTC", "ConditionTimestampMonotonic": "61343875", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2770", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:19 UTC", "ExecMainStartTimestampMonotonic": "61345313", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:19 UTC", "InactiveExitTimestampMonotonic": "61345846", "InvocationID": "41d752e9dff241fdb3c7df819be96123", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "2770", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "644894720", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:19 UTC", "StateChangeTimestampMonotonic": "61345846", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "139", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:21 Wednesday 03 August 2022 16:56:43 +0000 (0:00:01.398) 0:01:15.062 ****** META: ran handlers TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:24 Wednesday 03 August 2022 16:56:43 +0000 (0:00:00.021) 0:01:15.083 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:56:43 +0000 (0:00:00.112) 0:01:15.196 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:56:43 +0000 (0:00:00.058) 0:01:15.254 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.639) 0:01:15.893 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.064) 0:01:15.957 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.044) 0:01:16.002 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.129) 0:01:16.131 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.041) 0:01:16.173 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.045) 0:01:16.219 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.070) 0:01:16.289 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:56:44 +0000 (0:00:00.065) 0:01:16.355 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.049) 0:01:16.405 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.046) 0:01:16.451 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.047) 0:01:16.499 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.049) 0:01:16.548 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:56:45 +0000 (0:00:00.764) 0:01:17.313 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.093) 0:01:17.406 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.694) 0:01:18.100 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.051) 0:01:18.152 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.055) 0:01:18.207 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:56:46 +0000 (0:00:00.059) 0:01:18.267 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:56:48 +0000 (0:00:01.954) 0:01:20.222 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:56:50 +0000 (0:00:01.844) 0:01:22.067 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006523", "end": "2022-08-03 16:56:50.447629", "rc": 0, "start": "2022-08-03 16:56:50.441106" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:56:51 +0000 (0:00:00.410) 0:01:22.477 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:56:53 +0000 (0:00:01.900) 0:01:24.378 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.061) 0:01:24.439 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:56:53 +0000 (0:00:00.056) 0:01:24.495 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:56:55 +0000 (0:00:01.892) 0:01:26.388 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ActiveEnterTimestampMonotonic": "66463197", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target systemd-sysctl.service dbus-broker.service system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:24 UTC", "AssertTimestampMonotonic": "66165699", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "718174000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ConditionTimestampMonotonic": "66165697", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service tlp.service power-profiles-daemon.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3752", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ExecMainStartTimestampMonotonic": "66166986", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:24 UTC", "InactiveExitTimestampMonotonic": "66167296", "InvocationID": "6444ba451eab4fb8a5291c5aa2669ba2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3752", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17477632", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket dbus-broker.service sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:42 UTC", "StateChangeTimestampMonotonic": "83875596", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:56:55 +0000 (0:00:00.558) 0:01:26.947 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.093949", "end": "2022-08-03 16:56:55.438814", "rc": 0, "start": "2022-08-03 16:56:55.344865" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:56:56 +0000 (0:00:00.523) 0:01:27.471 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:56:56 +0000 (0:00:00.037) 0:01:27.508 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:56:56 +0000 (0:00:00.074) 0:01:27.582 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:56:56 +0000 (0:00:00.038) 0:01:27.621 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:56:56 +0000 (0:00:00.421) 0:01:28.042 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:56:58 +0000 (0:00:01.904) 0:01:29.947 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:56:58 +0000 (0:00:00.071) 0:01:30.018 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ActiveEnterTimestampMonotonic": "84524269", "ActiveExitTimestamp": "Wed 2022-08-03 16:56:42 UTC", "ActiveExitTimestampMonotonic": "83893303", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:43 UTC", "AssertTimestampMonotonic": "84522603", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4888395000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ConditionTimestampMonotonic": "84522601", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5529", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ExecMainStartTimestampMonotonic": "84523812", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveEnterTimestampMonotonic": "84521898", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveExitTimestampMonotonic": "84524269", "InvocationID": "e3c2a709e8ce4d81856bd7319525d5c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5529", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "655417344", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:43 UTC", "StateChangeTimestampMonotonic": "84524269", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:56:59 +0000 (0:00:00.618) 0:01:30.637 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003329", "end": "2022-08-03 16:56:59.071257", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:56:59.067928" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:56:59 +0000 (0:00:00.461) 0:01:31.099 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003664", "end": "2022-08-03 16:56:59.504306", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:56:59.500642" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.434) 0:01:31.534 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.073) 0:01:31.607 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031785", "end": "2022-08-03 16:57:00.039308", "rc": 0, "start": "2022-08-03 16:57:00.007523" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.469) 0:01:32.076 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.046) 0:01:32.123 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.046) 0:01:32.169 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.044) 0:01:32.214 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.050) 0:01:32.264 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004901", "end": "2022-08-03 16:57:00.655244", "rc": 0, "start": "2022-08-03 16:57:00.650343" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:57:01 +0000 (0:00:00.459) 0:01:32.724 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:57:01 +0000 (0:00:00.056) 0:01:32.780 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:57:01 +0000 (0:00:00.054) 0:01:32.835 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:57:01 +0000 (0:00:00.049) 0:01:32.885 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:57:01 +0000 (0:00:00.064) 0:01:32.949 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:57:01 +0000 (0:00:00.058) 0:01:33.008 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:57:01 +0000 (0:00:00.066) 0:01:33.074 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003382", "end": "2022-08-03 16:57:01.471796", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:57:01.468414" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.427) 0:01:33.502 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.105971", "end": "2022-08-03 16:57:02.011609", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:57:01.905638" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.551) 0:01:34.053 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.037) 0:01:34.090 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.122) 0:01:34.213 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.042) 0:01:34.255 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.042) 0:01:34.298 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:57:04 +0000 (0:00:01.914) 0:01:36.212 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:57:04 +0000 (0:00:00.042) 0:01:36.255 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:57:04 +0000 (0:00:00.043) 0:01:36.298 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.074) 0:01:36.373 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.041) 0:01:36.414 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.038) 0:01:36.452 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.040) 0:01:36.493 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.042) 0:01:36.535 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.046) 0:01:36.582 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.039) 0:01:36.621 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.041) 0:01:36.663 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.041) 0:01:36.704 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.042) 0:01:36.746 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.049) 0:01:36.796 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.050) 0:01:36.846 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.050) 0:01:36.897 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.050) 0:01:36.948 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.049) 0:01:36.997 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.097) 0:01:37.095 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.051) 0:01:37.146 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.055) 0:01:37.201 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.054) 0:01:37.256 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.051) 0:01:37.308 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.055) 0:01:37.363 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.046) 0:01:37.409 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.047) 0:01:37.457 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Create the availability group] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.049) 0:01:37.507 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.047) 0:01:37.555 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.049) 0:01:37.605 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.056) 0:01:37.662 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.055) 0:01:37.717 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.049) 0:01:37.766 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.050) 0:01:37.817 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.147) 0:01:37.965 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.051) 0:01:38.016 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.051) 0:01:38.068 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.050) 0:01:38.119 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.057) 0:01:38.176 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.052) 0:01:38.229 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.051) 0:01:38.281 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.054) 0:01:38.336 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.051) 0:01:38.387 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.051) 0:01:38.439 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.053) 0:01:38.492 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.054) 0:01:38.547 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.054) 0:01:38.601 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.054) 0:01:38.655 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.101) 0:01:38.756 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.058) 0:01:38.814 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.494) 0:01:39.309 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.043) 0:01:39.352 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Verify settings] ********************************************************* task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:32 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.072) 0:01:39.424 ****** included: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml for /cache/fedora-35.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.116) 0:01:39.541 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005802", "end": "2022-08-03 16:57:07.933125", "rc": 0, "start": "2022-08-03 16:57:07.927323" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.419) 0:01:39.961 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005830", "end": "2022-08-03 16:57:08.352074", "rc": 0, "start": "2022-08-03 16:57:08.346244" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.427) 0:01:40.388 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.064) 0:01:40.453 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.044) 0:01:40.498 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.043) 0:01:40.541 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.072) 0:01:40.613 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ActiveEnterTimestampMonotonic": "84524269", "ActiveExitTimestamp": "Wed 2022-08-03 16:56:42 UTC", "ActiveExitTimestampMonotonic": "83893303", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:43 UTC", "AssertTimestampMonotonic": "84522603", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4981612000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ConditionTimestampMonotonic": "84522601", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5529", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ExecMainStartTimestampMonotonic": "84523812", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveEnterTimestampMonotonic": "84521898", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveExitTimestampMonotonic": "84524269", "InvocationID": "e3c2a709e8ce4d81856bd7319525d5c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5529", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "658313216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:43 UTC", "StateChangeTimestampMonotonic": "84524269", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.567) 0:01:41.181 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003169", "end": "2022-08-03 16:57:09.576291", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:57:09.573122" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.425) 0:01:41.606 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003337", "end": "2022-08-03 16:57:10.002167", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:57:09.998830" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.469) 0:01:42.076 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.094) 0:01:42.171 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 992, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6901, "state": "file", "uid": 992 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:57:14 +0000 (0:00:03.537) 0:01:45.708 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030717", "end": "2022-08-03 16:57:14.131462", "rc": 0, "start": "2022-08-03 16:57:14.100745" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:57:14 +0000 (0:00:00.456) 0:01:46.164 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:57:14 +0000 (0:00:00.053) 0:01:46.217 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:57:14 +0000 (0:00:00.086) 0:01:46.303 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:57:14 +0000 (0:00:00.042) 0:01:46.346 ****** included: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml for /cache/fedora-35.qcow2.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml:7 Wednesday 03 August 2022 16:57:15 +0000 (0:00:00.068) 0:01:46.415 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the powershell package is installed] *************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml:12 Wednesday 03 August 2022 16:57:15 +0000 (0:00:00.763) 0:01:47.179 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the powershell package is not installed] *********************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml:17 Wednesday 03 August 2022 16:57:15 +0000 (0:00:00.072) 0:01:47.252 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:57:15 +0000 (0:00:00.040) 0:01:47.292 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:57:15 +0000 (0:00:00.042) 0:01:47.334 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.043) 0:01:47.378 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.042) 0:01:47.421 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.123) 0:01:47.544 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.041) 0:01:47.585 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.042) 0:01:47.627 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.045) 0:01:47.673 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.039) 0:01:47.713 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.041) 0:01:47.754 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.039) 0:01:47.793 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:39 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.045) 0:01:47.839 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.213) 0:01:48.052 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.120) 0:01:48.173 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.630) 0:01:48.803 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.069) 0:01:48.873 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.045) 0:01:48.918 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.051) 0:01:48.969 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.043) 0:01:49.013 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.039) 0:01:49.052 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.065) 0:01:49.118 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.066) 0:01:49.185 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.051) 0:01:49.236 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.050) 0:01:49.287 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.050) 0:01:49.337 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:57:18 +0000 (0:00:00.133) 0:01:49.471 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:57:18 +0000 (0:00:00.732) 0:01:50.203 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:57:18 +0000 (0:00:00.050) 0:01:50.254 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:57:19 +0000 (0:00:00.641) 0:01:50.896 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:57:19 +0000 (0:00:00.051) 0:01:50.947 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:57:19 +0000 (0:00:00.051) 0:01:50.999 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:57:19 +0000 (0:00:00.058) 0:01:51.058 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:57:21 +0000 (0:00:01.980) 0:01:53.039 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:57:23 +0000 (0:00:01.863) 0:01:54.902 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006047", "end": "2022-08-03 16:57:23.284889", "rc": 0, "start": "2022-08-03 16:57:23.278842" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:57:23 +0000 (0:00:00.416) 0:01:55.319 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:57:25 +0000 (0:00:01.929) 0:01:57.249 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:57:26 +0000 (0:00:00.131) 0:01:57.380 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:57:26 +0000 (0:00:00.064) 0:01:57.444 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:57:27 +0000 (0:00:01.837) 0:01:59.282 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ActiveEnterTimestampMonotonic": "66463197", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target systemd-sysctl.service dbus-broker.service system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:24 UTC", "AssertTimestampMonotonic": "66165699", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1127236000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ConditionTimestampMonotonic": "66165697", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service tlp.service power-profiles-daemon.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3752", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ExecMainStartTimestampMonotonic": "66166986", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:24 UTC", "InactiveExitTimestampMonotonic": "66167296", "InvocationID": "6444ba451eab4fb8a5291c5aa2669ba2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3752", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17485824", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket dbus-broker.service sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:42 UTC", "StateChangeTimestampMonotonic": "83875596", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:57:28 +0000 (0:00:00.567) 0:01:59.849 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.099196", "end": "2022-08-03 16:57:28.326489", "rc": 0, "start": "2022-08-03 16:57:28.227293" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:57:28 +0000 (0:00:00.511) 0:02:00.361 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:57:29 +0000 (0:00:00.088) 0:02:00.449 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:57:29 +0000 (0:00:00.041) 0:02:00.491 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:57:29 +0000 (0:00:00.039) 0:02:00.530 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:57:29 +0000 (0:00:00.410) 0:02:00.940 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:57:31 +0000 (0:00:01.852) 0:02:02.793 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.069) 0:02:02.862 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ActiveEnterTimestampMonotonic": "84524269", "ActiveExitTimestamp": "Wed 2022-08-03 16:56:42 UTC", "ActiveExitTimestampMonotonic": "83893303", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:43 UTC", "AssertTimestampMonotonic": "84522603", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5136758000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ConditionTimestampMonotonic": "84522601", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5529", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ExecMainStartTimestampMonotonic": "84523812", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveEnterTimestampMonotonic": "84521898", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveExitTimestampMonotonic": "84524269", "InvocationID": "e3c2a709e8ce4d81856bd7319525d5c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5529", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "659722240", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:43 UTC", "StateChangeTimestampMonotonic": "84524269", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.627) 0:02:03.490 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003749", "end": "2022-08-03 16:57:31.874748", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:57:31.870999" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.418) 0:02:03.908 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003430", "end": "2022-08-03 16:57:32.300561", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:57:32.297131" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.422) 0:02:04.331 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rd" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.075) 0:02:04.407 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027095", "end": "2022-08-03 16:57:32.826181", "rc": 1, "start": "2022-08-03 16:57:32.799086" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.454) 0:02:04.861 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ActiveEnterTimestampMonotonic": "84524269", "ActiveExitTimestamp": "Wed 2022-08-03 16:56:42 UTC", "ActiveExitTimestampMonotonic": "83893303", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:43 UTC", "AssertTimestampMonotonic": "84522603", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5160222000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ConditionTimestampMonotonic": "84522601", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5529", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ExecMainStartTimestampMonotonic": "84523812", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[n/a] ; pid=5529 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveEnterTimestampMonotonic": "84521898", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveExitTimestampMonotonic": "84524269", "InvocationID": "e3c2a709e8ce4d81856bd7319525d5c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5529", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "660684800", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:43 UTC", "StateChangeTimestampMonotonic": "84524269", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:57:35 +0000 (0:00:01.820) 0:02:06.682 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.708156", "end": "2022-08-03 16:57:38.845565", "rc": 0, "start": "2022-08-03 16:57:35.137409" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:57:39 +0000 (0:00:04.197) 0:02:10.880 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:57:39 +0000 (0:00:00.098) 0:02:10.978 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:57:39 +0000 (0:00:00.049) 0:02:11.028 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005155", "end": "2022-08-03 16:57:39.423532", "rc": 0, "start": "2022-08-03 16:57:39.418377" } STDOUT: false TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:57:40 +0000 (0:00:00.425) 0:02:11.453 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ActiveEnterTimestampMonotonic": "84524269", "ActiveExitTimestamp": "Wed 2022-08-03 16:57:33 UTC", "ActiveExitTimestampMonotonic": "134897961", "ActiveState": "inactive", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:43 UTC", "AssertTimestampMonotonic": "84522603", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5272699000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ConditionTimestampMonotonic": "84522601", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 16:57:34 UTC", "ExecMainExitTimestampMonotonic": "136129009", "ExecMainPID": "5529", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ExecMainStartTimestampMonotonic": "84523812", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[Wed 2022-08-03 16:57:34 UTC] ; pid=5529 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[Wed 2022-08-03 16:57:34 UTC] ; pid=5529 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:57:34 UTC", "InactiveEnterTimestampMonotonic": "136129133", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveExitTimestampMonotonic": "84524269", "InvocationID": "e3c2a709e8ce4d81856bd7319525d5c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:57:34 UTC", "StateChangeTimestampMonotonic": "136129133", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:57:40 +0000 (0:00:00.569) 0:02:12.023 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-edition" ], "delta": "0:00:03.424055", "end": "2022-08-03 16:57:43.851336", "rc": 0, "start": "2022-08-03 16:57:40.427281" } STDOUT: The licensing PID was successfully processed. The new edition is [Standard Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:57:44 +0000 (0:00:03.869) 0:02:15.893 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.038) 0:02:15.932 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.093) 0:02:16.025 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.053) 0:02:16.078 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.062) 0:02:16.141 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003503", "end": "2022-08-03 16:57:44.554241", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:57:44.550738" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:57:45 +0000 (0:00:00.445) 0:02:16.586 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.108111", "end": "2022-08-03 16:57:45.094739", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:57:44.986628" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:57:45 +0000 (0:00:00.561) 0:02:17.148 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:57:45 +0000 (0:00:00.042) 0:02:17.190 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:57:45 +0000 (0:00:00.061) 0:02:17.252 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:57:45 +0000 (0:00:00.046) 0:02:17.299 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:57:45 +0000 (0:00:00.042) 0:02:17.341 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.2.5-1.rh.x86_64" ] } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:57:48 +0000 (0:00:02.375) 0:02:19.717 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.048) 0:02:19.766 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.050) 0:02:19.816 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.042) 0:02:19.859 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.043) 0:02:19.903 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.041) 0:02:19.945 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.084) 0:02:20.029 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.042) 0:02:20.071 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.045) 0:02:20.117 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.039) 0:02:20.156 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.040) 0:02:20.196 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.045) 0:02:20.241 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.044) 0:02:20.286 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.048) 0:02:20.334 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.049) 0:02:20.384 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.050) 0:02:20.434 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.050) 0:02:20.484 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.054) 0:02:20.538 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.050) 0:02:20.589 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.050) 0:02:20.640 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.056) 0:02:20.696 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.129) 0:02:20.825 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.047) 0:02:20.873 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.055) 0:02:20.929 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.060) 0:02:20.990 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.053) 0:02:21.043 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Create the availability group] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.053) 0:02:21.096 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.053) 0:02:21.149 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.050) 0:02:21.200 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.055) 0:02:21.256 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:57:49 +0000 (0:00:00.058) 0:02:21.314 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.051) 0:02:21.366 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.052) 0:02:21.418 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.051) 0:02:21.469 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.051) 0:02:21.520 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.099) 0:02:21.620 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.051) 0:02:21.671 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.061) 0:02:21.732 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.048) 0:02:21.781 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.052) 0:02:21.833 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.053) 0:02:21.887 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.052) 0:02:21.939 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.052) 0:02:21.992 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.052) 0:02:22.044 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.055) 0:02:22.100 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.055) 0:02:22.156 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.052) 0:02:22.209 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.051) 0:02:22.260 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.048) 0:02:22.309 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:57:51 +0000 (0:00:00.529) 0:02:22.838 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:57:51 +0000 (0:00:00.042) 0:02:22.881 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:47 Wednesday 03 August 2022 16:57:51 +0000 (0:00:00.075) 0:02:22.957 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:57:51 +0000 (0:00:00.000) 0:02:22.957 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ActiveEnterTimestampMonotonic": "84524269", "ActiveExitTimestamp": "Wed 2022-08-03 16:57:33 UTC", "ActiveExitTimestampMonotonic": "134897961", "ActiveState": "inactive", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:43 UTC", "AssertTimestampMonotonic": "84522603", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5272699000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ConditionTimestampMonotonic": "84522601", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 16:57:34 UTC", "ExecMainExitTimestampMonotonic": "136129009", "ExecMainPID": "5529", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:43 UTC", "ExecMainStartTimestampMonotonic": "84523812", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[Wed 2022-08-03 16:57:34 UTC] ; pid=5529 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:56:43 UTC] ; stop_time=[Wed 2022-08-03 16:57:34 UTC] ; pid=5529 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:57:34 UTC", "InactiveEnterTimestampMonotonic": "136129133", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:43 UTC", "InactiveExitTimestampMonotonic": "84524269", "InvocationID": "e3c2a709e8ce4d81856bd7319525d5c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:57:34 UTC", "StateChangeTimestampMonotonic": "136129133", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Run with the edited settings again - should report not changed] ********** task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:50 Wednesday 03 August 2022 16:57:52 +0000 (0:00:00.634) 0:02:23.591 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:57:52 +0000 (0:00:00.227) 0:02:23.818 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:57:52 +0000 (0:00:00.122) 0:02:23.941 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.624) 0:02:24.566 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.073) 0:02:24.639 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.051) 0:02:24.691 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.048) 0:02:24.739 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.049) 0:02:24.788 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.043) 0:02:24.832 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.065) 0:02:24.898 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.063) 0:02:24.961 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.051) 0:02:25.012 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.051) 0:02:25.064 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.106) 0:02:25.171 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.052) 0:02:25.223 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:57:54 +0000 (0:00:00.780) 0:02:26.003 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:57:54 +0000 (0:00:00.062) 0:02:26.065 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.666) 0:02:26.731 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.048) 0:02:26.780 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.055) 0:02:26.836 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.098) 0:02:26.935 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:57:57 +0000 (0:00:01.912) 0:02:28.847 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:57:59 +0000 (0:00:01.852) 0:02:30.700 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.007652", "end": "2022-08-03 16:57:59.093897", "rc": 0, "start": "2022-08-03 16:57:59.086245" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.428) 0:02:31.129 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:58:01 +0000 (0:00:01.916) 0:02:33.045 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:58:01 +0000 (0:00:00.063) 0:02:33.109 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:58:01 +0000 (0:00:00.063) 0:02:33.172 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:58:03 +0000 (0:00:01.920) 0:02:35.093 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ActiveEnterTimestampMonotonic": "66463197", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket basic.target systemd-sysctl.service dbus-broker.service system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:56:24 UTC", "AssertTimestampMonotonic": "66165699", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1595725000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ConditionTimestampMonotonic": "66165697", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service tlp.service power-profiles-daemon.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3752", "ExecMainStartTimestamp": "Wed 2022-08-03 16:56:24 UTC", "ExecMainStartTimestampMonotonic": "66166986", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 16:56:24 UTC", "InactiveExitTimestampMonotonic": "66167296", "InvocationID": "6444ba451eab4fb8a5291c5aa2669ba2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3752", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17584128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket dbus-broker.service sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:56:42 UTC", "StateChangeTimestampMonotonic": "83875596", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:58:04 +0000 (0:00:00.565) 0:02:35.659 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.100131", "end": "2022-08-03 16:58:04.144213", "rc": 0, "start": "2022-08-03 16:58:04.044082" } STDOUT: Current active profile: virtual-guest mssql TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:58:04 +0000 (0:00:00.520) 0:02:36.180 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:58:04 +0000 (0:00:00.041) 0:02:36.221 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:58:04 +0000 (0:00:00.038) 0:02:36.260 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:58:04 +0000 (0:00:00.086) 0:02:36.346 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:58:05 +0000 (0:00:00.430) 0:02:36.777 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:58:07 +0000 (0:00:01.832) 0:02:38.609 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:58:07 +0000 (0:00:00.071) 0:02:38.681 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:57:51 UTC", "ActiveEnterTimestampMonotonic": "153044539", "ActiveExitTimestamp": "Wed 2022-08-03 16:57:33 UTC", "ActiveExitTimestampMonotonic": "134897961", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:57:51 UTC", "AssertTimestampMonotonic": "153041907", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4459544000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:57:51 UTC", "ConditionTimestampMonotonic": "153041897", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11986", "ExecMainStartTimestamp": "Wed 2022-08-03 16:57:51 UTC", "ExecMainStartTimestampMonotonic": "153044103", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:57:51 UTC] ; stop_time=[n/a] ; pid=11986 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:57:51 UTC] ; stop_time=[n/a] ; pid=11986 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:57:34 UTC", "InactiveEnterTimestampMonotonic": "136129133", "InactiveExitTimestamp": "Wed 2022-08-03 16:57:51 UTC", "InactiveExitTimestampMonotonic": "153044539", "InvocationID": "d3a137656b624e7387894a0d169d7639", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11986", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "641298432", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:57:51 UTC", "StateChangeTimestampMonotonic": "153044539", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:58:07 +0000 (0:00:00.584) 0:02:39.265 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003623", "end": "2022-08-03 16:58:07.723706", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:58:07.720083" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:58:08 +0000 (0:00:00.492) 0:02:39.758 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003751", "end": "2022-08-03 16:58:08.212744", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:58:08.208993" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:58:08 +0000 (0:00:00.482) 0:02:40.241 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rd" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:58:08 +0000 (0:00:00.077) 0:02:40.318 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026137", "end": "2022-08-03 16:58:08.733224", "rc": 0, "start": "2022-08-03 16:58:08.707087" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:58:09 +0000 (0:00:00.446) 0:02:40.764 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:58:09 +0000 (0:00:00.046) 0:02:40.810 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:58:09 +0000 (0:00:00.048) 0:02:40.859 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:58:09 +0000 (0:00:00.041) 0:02:40.901 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [linux-system-roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:58:09 +0000 (0:00:00.047) 0:02:40.949 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004914", "end": "2022-08-03 16:58:09.343757", "rc": 0, "start": "2022-08-03 16:58:09.338843" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.425) 0:02:41.374 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.056) 0:02:41.430 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.099) 0:02:41.530 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.042) 0:02:41.572 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.052) 0:02:41.624 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.051) 0:02:41.676 ****** included: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.062) 0:02:41.739 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003646", "end": "2022-08-03 16:58:10.148932", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:58:10.145286" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.446) 0:02:42.185 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.058) 0:02:42.243 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.037) 0:02:42.281 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.047) 0:02:42.328 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:58:11 +0000 (0:00:00.039) 0:02:42.368 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:58:11 +0000 (0:00:00.044) 0:02:42.412 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:58:13 +0000 (0:00:01.986) 0:02:44.399 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.075) 0:02:44.475 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.077) 0:02:44.552 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.074) 0:02:44.627 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.047) 0:02:44.674 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.043) 0:02:44.718 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.051) 0:02:44.769 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.046) 0:02:44.815 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.095) 0:02:44.910 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.042) 0:02:44.953 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.041) 0:02:44.994 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.042) 0:02:45.037 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.042) 0:02:45.079 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.058) 0:02:45.137 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.056) 0:02:45.194 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.052) 0:02:45.247 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.051) 0:02:45.298 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.051) 0:02:45.350 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.052) 0:02:45.403 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.051) 0:02:45.455 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.057) 0:02:45.512 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.051) 0:02:45.564 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.050) 0:02:45.614 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.110) 0:02:45.725 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.050) 0:02:45.776 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.047) 0:02:45.823 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.mssql : Create the availability group] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.055) 0:02:45.879 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.053) 0:02:45.932 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.050) 0:02:45.983 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.059) 0:02:46.042 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.054) 0:02:46.096 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.049) 0:02:46.146 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.046) 0:02:46.192 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.048) 0:02:46.240 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.051) 0:02:46.292 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.053) 0:02:46.346 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.054) 0:02:46.400 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.112) 0:02:46.513 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.050) 0:02:46.564 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.051) 0:02:46.616 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.053) 0:02:46.669 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.052) 0:02:46.721 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.052) 0:02:46.773 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.053) 0:02:46.826 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.057) 0:02:46.884 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.057) 0:02:46.941 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.050) 0:02:46.992 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.056) 0:02:47.048 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.057) 0:02:47.106 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:58:16 +0000 (0:00:00.475) 0:02:47.582 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:58:16 +0000 (0:00:00.088) 0:02:47.670 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Verify disabled settings] ************************************************ task path: /tmp/tmpc9fejdi1/tests/tests_powershell_2019.yml:58 Wednesday 03 August 2022 16:58:16 +0000 (0:00:00.069) 0:02:47.740 ****** included: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml for /cache/fedora-35.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:58:16 +0000 (0:00:00.165) 0:02:47.905 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005711", "end": "2022-08-03 16:58:16.304270", "rc": 0, "start": "2022-08-03 16:58:16.298559" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:58:16 +0000 (0:00:00.439) 0:02:48.344 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005166", "end": "2022-08-03 16:58:16.748771", "rc": 0, "start": "2022-08-03 16:58:16.743605" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:58:17 +0000 (0:00:00.435) 0:02:48.780 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:58:17 +0000 (0:00:00.063) 0:02:48.844 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:58:17 +0000 (0:00:00.038) 0:02:48.882 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:58:17 +0000 (0:00:00.043) 0:02:48.926 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:58:17 +0000 (0:00:00.116) 0:02:49.042 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:57:51 UTC", "ActiveEnterTimestampMonotonic": "153044539", "ActiveExitTimestamp": "Wed 2022-08-03 16:57:33 UTC", "ActiveExitTimestampMonotonic": "134897961", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket auditd.service basic.target system.slice -.mount", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:57:51 UTC", "AssertTimestampMonotonic": "153041907", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4547695000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:57:51 UTC", "ConditionTimestampMonotonic": "153041897", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11986", "ExecMainStartTimestamp": "Wed 2022-08-03 16:57:51 UTC", "ExecMainStartTimestampMonotonic": "153044103", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:57:51 UTC] ; stop_time=[n/a] ; pid=11986 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:57:51 UTC] ; stop_time=[n/a] ; pid=11986 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:57:34 UTC", "InactiveEnterTimestampMonotonic": "136129133", "InactiveExitTimestamp": "Wed 2022-08-03 16:57:51 UTC", "InactiveExitTimestampMonotonic": "153044539", "InvocationID": "d3a137656b624e7387894a0d169d7639", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11986", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "646385664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount system.slice sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:57:51 UTC", "StateChangeTimestampMonotonic": "153044539", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:58:18 +0000 (0:00:00.563) 0:02:49.606 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003342", "end": "2022-08-03 16:58:18.001320", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:58:17.997978" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:58:18 +0000 (0:00:00.430) 0:02:50.037 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003371", "end": "2022-08-03 16:58:18.434787", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:58:18.431416" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:58:19 +0000 (0:00:00.432) 0:02:50.469 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rd" }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:58:19 +0000 (0:00:00.095) 0:02:50.565 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 992, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7288, "state": "file", "uid": 992 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:58:22 +0000 (0:00:03.440) 0:02:54.006 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028403", "end": "2022-08-03 16:58:22.425244", "rc": 0, "start": "2022-08-03 16:58:22.396841" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.452) 0:02:54.458 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.053) 0:02:54.511 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.040) 0:02:54.552 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.039) 0:02:54.591 ****** included: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml for /cache/fedora-35.qcow2.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml:7 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.068) 0:02:54.659 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the powershell package is installed] *************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml:12 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.873) 0:02:55.533 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the powershell package is not installed] *********************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_package.yml:17 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.052) 0:02:55.586 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.063) 0:02:55.649 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.046) 0:02:55.696 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.042) 0:02:55.739 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.040) 0:02:55.779 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.047) 0:02:55.826 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.041) 0:02:55.867 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.039) 0:02:55.907 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.041) 0:02:55.949 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.045) 0:02:55.995 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.041) 0:02:56.036 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.043) 0:02:56.080 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=162 changed=21 unreachable=0 failed=0 skipped=332 rescued=0 ignored=1 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.116) 0:02:56.196 ****** =============================================================================== linux-system-roles.mssql : Ensure the mssql-server package ------------- 38.74s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Ensure the powershell package ---------------- 7.09s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 ------ linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 5.38s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.27s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 4.67s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ linux-system-roles.mssql : Ensure the powershell package ---------------- 4.36s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 ------ linux-system-roles.mssql : Change the password of the sa user ----------- 4.25s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 ------ linux-system-roles.mssql : Ensure that the openldap-compat package is installed --- 4.21s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 ------ linux-system-roles.mssql : Change the edition of MSSQL ------------------ 3.97s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 ------ linux-system-roles.mssql : Gather system services facts ----------------- 3.93s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Ensure the mssql-server package -------------- 3.89s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Gather system services facts ----------------- 3.85s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.76s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Ensure that the openldap-compat package is installed --- 3.72s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 3.69s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ Wait for mssql-server to start and prepare for client connections ------- 3.54s /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:65 --------------------------- Wait for mssql-server to start and prepare for client connections ------- 3.44s /tmp/tmpc9fejdi1/tests/tasks/verify_settings.yml:65 --------------------------- linux-system-roles.mssql : Ensure that the tuned service is started and enabled --- 1.96s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 ------ linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 1.87s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 ------ linux-system-roles.mssql : Gather package facts ------------------------- 1.86s /tmp/tmpc9fejdi1/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxn3yv_ek executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_powershell_2019.yml ******************************************** 1 plays in /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml PLAY [Ensure that the role install powershell in an idempotent manner] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:3 Wednesday 03 August 2022 17:28:59 +0000 (0:00:00.035) 0:00:00.035 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Run on a fresh host and install powershell] ****************************** task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:10 Wednesday 03 August 2022 17:29:01 +0000 (0:00:01.345) 0:00:01.381 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.119) 0:00:01.500 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.032) 0:00:01.533 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.610) 0:00:02.144 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.049) 0:00:02.193 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.028) 0:00:02.222 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.028) 0:00:02.251 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.025) 0:00:02.276 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:29:01 +0000 (0:00:00.028) 0:00:02.305 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:29:02 +0000 (0:00:00.052) 0:00:02.357 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:29:02 +0000 (0:00:00.047) 0:00:02.405 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:29:02 +0000 (0:00:00.034) 0:00:02.439 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:29:02 +0000 (0:00:00.034) 0:00:02.473 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:29:02 +0000 (0:00:00.032) 0:00:02.506 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:29:02 +0000 (0:00:00.036) 0:00:02.543 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:29:03 +0000 (0:00:01.110) 0:00:03.653 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:29:03 +0000 (0:00:00.056) 0:00:03.710 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.882) 0:00:04.593 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.051) 0:00:04.645 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.050) 0:00:04.696 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:29:04 +0000 (0:00:00.567) 0:00:05.263 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-server-15.0.4236.7-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:29:42 +0000 (0:00:37.412) 0:00:42.676 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: openldap-compat-2.4.59-3.fc35.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:29:44 +0000 (0:00:02.320) 0:00:44.996 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005940", "end": "2022-08-03 17:29:43.887058", "rc": 0, "start": "2022-08-03 17:29:43.881118" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:29:45 +0000 (0:00:00.556) 0:00:45.552 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:29:47 +0000 (0:00:02.073) 0:00:47.625 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:29:47 +0000 (0:00:00.138) 0:00:47.764 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.793908", "end": "2022-08-03 17:29:51.321205", "rc": 0, "start": "2022-08-03 17:29:46.527297" } STDOUT: The licensing PID was successfully processed. The new edition is [Enterprise Evaluation Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. The license terms for this product can be found in /usr/share/doc/mssql-server or downloaded from: https://go.microsoft.com/fwlink/?LinkId=2104294&clcid=0x409 The privacy statement can be viewed at: https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 Configuring SQL Server... Setup has completed successfully. SQL Server is now starting. STDERR: Created symlink /etc/systemd/system/multi-user.target.wants/mssql-server.service → /usr/lib/systemd/system/mssql-server.service. TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:29:52 +0000 (0:00:05.241) 0:00:53.006 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: ethtool-2:5.18-1.fc35.x86_64", "Installed: python3-gobject-base-3.42.0-1.fc35.x86_64", "Installed: hdparm-9.63-1.fc35.x86_64", "Installed: kernel-tools-5.18.13-100.fc35.x86_64", "Installed: kernel-tools-libs-5.18.13-100.fc35.x86_64", "Installed: tuned-2.18.0-2.fc35.noarch", "Installed: python3-perf-5.18.13-100.fc35.x86_64", "Installed: gobject-introspection-1.70.0-1.fc35.x86_64", "Installed: tuned-profiles-mssql-2.18.0-2.fc35.noarch", "Installed: python3-linux-procfs-0.6.3-3.fc35.noarch", "Installed: python3-pyudev-0.22.0-6.fc35.noarch", "Installed: virt-what-1.24-1.fc35.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:29:56 +0000 (0:00:03.450) 0:00:56.456 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket systemd-sysctl.service system.slice network.target basic.target dbus.socket dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus-broker.service dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:29:57 +0000 (0:00:01.370) 0:00:57.827 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112190", "end": "2022-08-03 17:29:56.681050", "rc": 0, "start": "2022-08-03 17:29:56.568860" } STDOUT: Current active profile: virtual-guest TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:29:58 +0000 (0:00:00.526) 0:00:58.353 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.109382", "end": "2022-08-03 17:29:58.253590", "failed_when_result": false, "rc": 0, "start": "2022-08-03 17:29:57.144208" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:29:59 +0000 (0:00:01.580) 0:00:59.933 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:29:59 +0000 (0:00:00.042) 0:00:59.976 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:29:59 +0000 (0:00:00.039) 0:01:00.016 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:30:00 +0000 (0:00:00.430) 0:01:00.446 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: msodbcsql17-17.10.1.1-1.x86_64", "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-2.3.9-4.fc35.x86_64", "Installed: unixODBC-devel-2.3.9-4.fc35.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:30:02 +0000 (0:00:02.731) 0:01:03.178 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.041) 0:01:03.220 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.041) 0:01:03.262 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.041) 0:01:03.304 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:30:02 +0000 (0:00:00.044) 0:01:03.348 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_pre_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.042) 0:01:03.391 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.048) 0:01:03.439 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.038) 0:01:03.478 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.042) 0:01:03.521 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.046) 0:01:03.568 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.040) 0:01:03.608 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.049) 0:01:03.658 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.064) 0:01:03.723 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.061) 0:01:03.784 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004490", "end": "2022-08-03 17:30:02.549496", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:30:02.545006" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:30:03 +0000 (0:00:00.489) 0:01:04.273 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.100816", "end": "2022-08-03 17:30:03.129982", "failed_when_result": false, "rc": 0, "start": "2022-08-03 17:30:03.029166" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:30:04 +0000 (0:00:00.538) 0:01:04.812 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:30:04 +0000 (0:00:00.038) 0:01:04.850 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:30:04 +0000 (0:00:00.047) 0:01:04.898 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:30:04 +0000 (0:00:00.041) 0:01:04.939 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:30:04 +0000 (0:00:00.042) 0:01:04.982 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: powershell-7.2.5-1.rh.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:30:09 +0000 (0:00:05.301) 0:01:10.284 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:30:09 +0000 (0:00:00.042) 0:01:10.327 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.039) 0:01:10.366 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.039) 0:01:10.406 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.042) 0:01:10.448 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.038) 0:01:10.487 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.038) 0:01:10.525 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.071) 0:01:10.597 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.044) 0:01:10.641 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.044) 0:01:10.685 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.042) 0:01:10.727 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.041) 0:01:10.769 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.043) 0:01:10.812 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.048) 0:01:10.861 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.049) 0:01:10.910 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.050) 0:01:10.960 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.054) 0:01:11.015 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.055) 0:01:11.071 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.050) 0:01:11.122 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.051) 0:01:11.173 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.059) 0:01:11.233 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.051) 0:01:11.284 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:30:10 +0000 (0:00:00.048) 0:01:11.333 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.110) 0:01:11.443 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.050) 0:01:11.494 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.050) 0:01:11.545 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Create the availability group] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.050) 0:01:11.595 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.050) 0:01:11.645 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.051) 0:01:11.697 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.054) 0:01:11.751 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.053) 0:01:11.805 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.047) 0:01:11.852 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.047) 0:01:11.900 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.051) 0:01:11.951 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.057) 0:01:12.009 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.051) 0:01:12.060 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.052) 0:01:12.113 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.058) 0:01:12.172 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.047) 0:01:12.219 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:30:11 +0000 (0:00:00.101) 0:01:12.321 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.052) 0:01:12.373 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.049) 0:01:12.422 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.054) 0:01:12.476 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.050) 0:01:12.527 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.054) 0:01:12.582 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.050) 0:01:12.632 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.046) 0:01:12.679 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.046) 0:01:12.725 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:30:12 +0000 (0:00:00.045) 0:01:12.771 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:30:13 +0000 (0:00:00.617) 0:01:13.389 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:30:13 +0000 (0:00:00.042) 0:01:13.432 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:18 Wednesday 03 August 2022 17:30:13 +0000 (0:00:00.106) 0:01:13.538 ****** included: /tmp/tmphentkgqr/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for /cache/fedora-35.qcow2.snap TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 17:30:13 +0000 (0:00:00.080) 0:01:13.619 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 17:30:13 +0000 (0:00:00.509) 0:01:14.128 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 17:30:14 +0000 (0:00:00.409) 0:01:14.538 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:29:51 UTC", "ActiveEnterTimestampMonotonic": "59475180", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:29:51 UTC", "AssertTimestampMonotonic": "59473458", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5039636000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:29:51 UTC", "ConditionTimestampMonotonic": "59473457", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2760", "ExecMainStartTimestamp": "Wed 2022-08-03 17:29:51 UTC", "ExecMainStartTimestampMonotonic": "59474733", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:29:51 UTC", "InactiveExitTimestampMonotonic": "59475180", "InvocationID": "26753eebc7f34b0ca6b7064cef9c98c2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "2760", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "645386240", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:29:51 UTC", "StateChangeTimestampMonotonic": "59475180", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "141", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:21 Wednesday 03 August 2022 17:30:15 +0000 (0:00:01.485) 0:01:16.024 ****** META: ran handlers TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:24 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.021) 0:01:16.046 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.132) 0:01:16.179 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:30:15 +0000 (0:00:00.065) 0:01:16.245 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:30:16 +0000 (0:00:00.668) 0:01:16.913 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:30:16 +0000 (0:00:00.075) 0:01:16.989 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:30:16 +0000 (0:00:00.048) 0:01:17.037 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:30:16 +0000 (0:00:00.048) 0:01:17.085 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:30:16 +0000 (0:00:00.047) 0:01:17.133 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:30:16 +0000 (0:00:00.039) 0:01:17.173 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:30:16 +0000 (0:00:00.156) 0:01:17.330 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:30:17 +0000 (0:00:00.065) 0:01:17.395 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:30:17 +0000 (0:00:00.050) 0:01:17.446 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:30:17 +0000 (0:00:00.048) 0:01:17.495 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:30:17 +0000 (0:00:00.051) 0:01:17.546 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:30:17 +0000 (0:00:00.049) 0:01:17.596 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:30:18 +0000 (0:00:00.763) 0:01:18.360 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:30:18 +0000 (0:00:00.052) 0:01:18.412 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:30:18 +0000 (0:00:00.748) 0:01:19.161 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:30:18 +0000 (0:00:00.052) 0:01:19.214 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:30:18 +0000 (0:00:00.055) 0:01:19.269 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:30:18 +0000 (0:00:00.061) 0:01:19.331 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:30:20 +0000 (0:00:01.975) 0:01:21.306 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:30:22 +0000 (0:00:02.002) 0:01:23.309 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005425", "end": "2022-08-03 17:30:22.056786", "rc": 0, "start": "2022-08-03 17:30:22.051361" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:30:23 +0000 (0:00:00.417) 0:01:23.726 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:30:25 +0000 (0:00:01.883) 0:01:25.610 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.060) 0:01:25.670 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:30:25 +0000 (0:00:00.060) 0:01:25.730 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:30:27 +0000 (0:00:02.142) 0:01:27.873 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:29:56 UTC", "ActiveEnterTimestampMonotonic": "64511781", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus-broker.service dbus.socket basic.target network.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:29:55 UTC", "AssertTimestampMonotonic": "64225714", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "704679000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:29:55 UTC", "ConditionTimestampMonotonic": "64225713", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3742", "ExecMainStartTimestamp": "Wed 2022-08-03 17:29:55 UTC", "ExecMainStartTimestampMonotonic": "64227252", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:29:55 UTC", "InactiveExitTimestampMonotonic": "64227580", "InvocationID": "85fcc31f2a744e1497718ad3c55eae0d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3742", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "15310848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus-broker.service system.slice dbus.socket polkit.service sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:30:13 UTC", "StateChangeTimestampMonotonic": "81977065", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.575) 0:01:28.448 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.094885", "end": "2022-08-03 17:30:27.280763", "rc": 0, "start": "2022-08-03 17:30:27.185878" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.503) 0:01:28.952 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.038) 0:01:28.991 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.038) 0:01:29.030 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:30:28 +0000 (0:00:00.069) 0:01:29.099 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:30:29 +0000 (0:00:00.409) 0:01:29.509 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:30:31 +0000 (0:00:01.909) 0:01:31.419 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:30:31 +0000 (0:00:00.071) 0:01:31.490 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ActiveEnterTimestampMonotonic": "82680344", "ActiveExitTimestamp": "Wed 2022-08-03 17:30:13 UTC", "ActiveExitTimestampMonotonic": "81996362", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:30:14 UTC", "AssertTimestampMonotonic": "82678352", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4841615000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ConditionTimestampMonotonic": "82678350", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5519", "ExecMainStartTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ExecMainStartTimestampMonotonic": "82679783", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveEnterTimestampMonotonic": "82677490", "InactiveExitTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveExitTimestampMonotonic": "82680344", "InvocationID": "63c048ec213642c68a20394399d4e872", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5519", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "650510336", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:30:14 UTC", "StateChangeTimestampMonotonic": "82680344", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "140", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:30:31 +0000 (0:00:00.567) 0:01:32.058 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003396", "end": "2022-08-03 17:30:30.825563", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:30:30.822167" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.436) 0:01:32.495 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003618", "end": "2022-08-03 17:30:31.291606", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:30:31.287988" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.467) 0:01:32.962 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:30:32 +0000 (0:00:00.076) 0:01:33.038 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027455", "end": "2022-08-03 17:30:31.814340", "rc": 0, "start": "2022-08-03 17:30:31.786885" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.448) 0:01:33.487 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.042) 0:01:33.530 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.046) 0:01:33.576 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_pre_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.040) 0:01:33.617 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.046) 0:01:33.663 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005329", "end": "2022-08-03 17:30:32.428706", "rc": 0, "start": "2022-08-03 17:30:32.423377" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.436) 0:01:34.099 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.056) 0:01:34.155 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.104) 0:01:34.260 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:30:33 +0000 (0:00:00.045) 0:01:34.306 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.052) 0:01:34.358 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.049) 0:01:34.408 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.061) 0:01:34.469 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003889", "end": "2022-08-03 17:30:33.240675", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:30:33.236786" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:30:34 +0000 (0:00:00.445) 0:01:34.914 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.101739", "end": "2022-08-03 17:30:33.776567", "failed_when_result": false, "rc": 0, "start": "2022-08-03 17:30:33.674828" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.543) 0:01:35.458 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.040) 0:01:35.498 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.048) 0:01:35.546 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.040) 0:01:35.587 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:30:35 +0000 (0:00:00.079) 0:01:35.667 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:30:37 +0000 (0:00:02.044) 0:01:37.711 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.041) 0:01:37.753 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.039) 0:01:37.792 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.041) 0:01:37.833 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.041) 0:01:37.875 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.069) 0:01:37.944 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.042) 0:01:37.987 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.046) 0:01:38.033 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.046) 0:01:38.080 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.042) 0:01:38.122 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.038) 0:01:38.161 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.044) 0:01:38.205 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.040) 0:01:38.246 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.049) 0:01:38.296 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:30:37 +0000 (0:00:00.047) 0:01:38.343 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.050) 0:01:38.393 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.062) 0:01:38.456 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.058) 0:01:38.515 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.051) 0:01:38.567 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.054) 0:01:38.621 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.107) 0:01:38.728 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.050) 0:01:38.778 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.048) 0:01:38.826 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.058) 0:01:38.885 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.053) 0:01:38.938 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.052) 0:01:38.991 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Create the availability group] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.052) 0:01:39.043 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.055) 0:01:39.098 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.052) 0:01:39.150 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.056) 0:01:39.207 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.053) 0:01:39.260 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:30:38 +0000 (0:00:00.056) 0:01:39.316 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.050) 0:01:39.367 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.051) 0:01:39.418 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.049) 0:01:39.468 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.121) 0:01:39.589 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.051) 0:01:39.641 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.058) 0:01:39.699 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.050) 0:01:39.749 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.047) 0:01:39.797 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.054) 0:01:39.852 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.051) 0:01:39.903 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.050) 0:01:39.954 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.050) 0:01:40.005 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.057) 0:01:40.063 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.053) 0:01:40.116 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.048) 0:01:40.165 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.047) 0:01:40.212 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:30:39 +0000 (0:00:00.049) 0:01:40.262 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:30:40 +0000 (0:00:00.533) 0:01:40.795 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:30:40 +0000 (0:00:00.043) 0:01:40.838 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Verify settings] ********************************************************* task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:32 Wednesday 03 August 2022 17:30:40 +0000 (0:00:00.073) 0:01:40.912 ****** included: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml for /cache/fedora-35.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 17:30:40 +0000 (0:00:00.115) 0:01:41.028 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.007173", "end": "2022-08-03 17:30:39.792981", "rc": 0, "start": "2022-08-03 17:30:39.785808" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 17:30:41 +0000 (0:00:00.437) 0:01:41.466 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005521", "end": "2022-08-03 17:30:40.217296", "rc": 0, "start": "2022-08-03 17:30:40.211775" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 17:30:41 +0000 (0:00:00.420) 0:01:41.886 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 17:30:41 +0000 (0:00:00.174) 0:01:42.060 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 17:30:41 +0000 (0:00:00.057) 0:01:42.118 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 17:30:41 +0000 (0:00:00.048) 0:01:42.166 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:30:41 +0000 (0:00:00.079) 0:01:42.246 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ActiveEnterTimestampMonotonic": "82680344", "ActiveExitTimestamp": "Wed 2022-08-03 17:30:13 UTC", "ActiveExitTimestampMonotonic": "81996362", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:30:14 UTC", "AssertTimestampMonotonic": "82678352", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4944117000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ConditionTimestampMonotonic": "82678350", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5519", "ExecMainStartTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ExecMainStartTimestampMonotonic": "82679783", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveEnterTimestampMonotonic": "82677490", "InactiveExitTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveExitTimestampMonotonic": "82680344", "InvocationID": "63c048ec213642c68a20394399d4e872", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5519", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "651669504", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:30:14 UTC", "StateChangeTimestampMonotonic": "82680344", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "139", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:30:42 +0000 (0:00:00.597) 0:01:42.843 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003304", "end": "2022-08-03 17:30:41.587068", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:30:41.583764" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:30:42 +0000 (0:00:00.414) 0:01:43.258 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004187", "end": "2022-08-03 17:30:42.005621", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:30:42.001434" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.419) 0:01:43.678 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 17:30:43 +0000 (0:00:00.140) 0:01:43.818 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 992, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6901, "state": "file", "uid": 992 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 17:30:46 +0000 (0:00:03.534) 0:01:47.352 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028840", "end": "2022-08-03 17:30:46.125978", "rc": 0, "start": "2022-08-03 17:30:46.097138" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.444) 0:01:47.797 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.054) 0:01:47.852 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.043) 0:01:47.895 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.040) 0:01:47.936 ****** included: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml for /cache/fedora-35.qcow2.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml:7 Wednesday 03 August 2022 17:30:47 +0000 (0:00:00.106) 0:01:48.042 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the powershell package is installed] *************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml:12 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.761) 0:01:48.804 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the powershell package is not installed] *********************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml:17 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.071) 0:01:48.875 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.039) 0:01:48.915 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.039) 0:01:48.954 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.042) 0:01:48.996 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.041) 0:01:49.038 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.040) 0:01:49.078 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.089) 0:01:49.168 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.044) 0:01:49.213 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.045) 0:01:49.258 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.041) 0:01:49.300 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 17:30:48 +0000 (0:00:00.040) 0:01:49.340 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 17:30:49 +0000 (0:00:00.038) 0:01:49.379 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:39 Wednesday 03 August 2022 17:30:49 +0000 (0:00:00.045) 0:01:49.424 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:30:49 +0000 (0:00:00.239) 0:01:49.663 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:30:49 +0000 (0:00:00.063) 0:01:49.726 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.675) 0:01:50.402 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.071) 0:01:50.473 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.049) 0:01:50.523 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.052) 0:01:50.575 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.044) 0:01:50.620 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.042) 0:01:50.662 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.060) 0:01:50.723 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.059) 0:01:50.782 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.046) 0:01:50.829 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.047) 0:01:50.877 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.051) 0:01:50.928 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:30:50 +0000 (0:00:00.052) 0:01:50.980 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:30:51 +0000 (0:00:00.809) 0:01:51.790 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:30:51 +0000 (0:00:00.058) 0:01:51.849 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:30:52 +0000 (0:00:00.673) 0:01:52.523 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:30:52 +0000 (0:00:00.055) 0:01:52.578 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:30:52 +0000 (0:00:00.055) 0:01:52.633 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:30:52 +0000 (0:00:00.061) 0:01:52.695 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:30:54 +0000 (0:00:01.941) 0:01:54.636 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:30:56 +0000 (0:00:01.897) 0:01:56.533 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005848", "end": "2022-08-03 17:30:55.283932", "rc": 0, "start": "2022-08-03 17:30:55.278084" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:30:56 +0000 (0:00:00.426) 0:01:56.960 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:30:58 +0000 (0:00:01.890) 0:01:58.851 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:30:58 +0000 (0:00:00.059) 0:01:58.910 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:30:58 +0000 (0:00:00.056) 0:01:58.967 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:31:00 +0000 (0:00:01.950) 0:02:00.918 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:29:56 UTC", "ActiveEnterTimestampMonotonic": "64511781", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus-broker.service dbus.socket basic.target network.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:29:55 UTC", "AssertTimestampMonotonic": "64225714", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1120257000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:29:55 UTC", "ConditionTimestampMonotonic": "64225713", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3742", "ExecMainStartTimestamp": "Wed 2022-08-03 17:29:55 UTC", "ExecMainStartTimestampMonotonic": "64227252", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:29:55 UTC", "InactiveExitTimestampMonotonic": "64227580", "InvocationID": "85fcc31f2a744e1497718ad3c55eae0d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3742", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "15351808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus-broker.service system.slice dbus.socket polkit.service sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:30:13 UTC", "StateChangeTimestampMonotonic": "81977065", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:31:01 +0000 (0:00:00.571) 0:02:01.490 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092536", "end": "2022-08-03 17:31:00.329026", "rc": 0, "start": "2022-08-03 17:31:00.236490" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:31:01 +0000 (0:00:00.521) 0:02:02.012 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:31:01 +0000 (0:00:00.039) 0:02:02.051 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:31:01 +0000 (0:00:00.038) 0:02:02.090 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:31:01 +0000 (0:00:00.038) 0:02:02.129 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:31:02 +0000 (0:00:00.474) 0:02:02.603 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:31:04 +0000 (0:00:01.893) 0:02:04.497 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:31:04 +0000 (0:00:00.070) 0:02:04.567 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ActiveEnterTimestampMonotonic": "82680344", "ActiveExitTimestamp": "Wed 2022-08-03 17:30:13 UTC", "ActiveExitTimestampMonotonic": "81996362", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:30:14 UTC", "AssertTimestampMonotonic": "82678352", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5123130000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ConditionTimestampMonotonic": "82678350", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5519", "ExecMainStartTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ExecMainStartTimestampMonotonic": "82679783", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveEnterTimestampMonotonic": "82677490", "InactiveExitTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveExitTimestampMonotonic": "82680344", "InvocationID": "63c048ec213642c68a20394399d4e872", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5519", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "653414400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:30:14 UTC", "StateChangeTimestampMonotonic": "82680344", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:31:04 +0000 (0:00:00.580) 0:02:05.148 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003335", "end": "2022-08-03 17:31:03.903897", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:31:03.900562" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:31:05 +0000 (0:00:00.465) 0:02:05.613 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003340", "end": "2022-08-03 17:31:04.363747", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:31:04.360407" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:31:05 +0000 (0:00:00.423) 0:02:06.037 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rd" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:31:05 +0000 (0:00:00.080) 0:02:06.118 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.033645", "end": "2022-08-03 17:31:04.907618", "rc": 1, "start": "2022-08-03 17:31:04.873973" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:31:06 +0000 (0:00:00.466) 0:02:06.584 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ActiveEnterTimestampMonotonic": "82680344", "ActiveExitTimestamp": "Wed 2022-08-03 17:30:13 UTC", "ActiveExitTimestampMonotonic": "81996362", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:30:14 UTC", "AssertTimestampMonotonic": "82678352", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5150150000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ConditionTimestampMonotonic": "82678350", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5519", "ExecMainStartTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ExecMainStartTimestampMonotonic": "82679783", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[n/a] ; pid=5519 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveEnterTimestampMonotonic": "82677490", "InactiveExitTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveExitTimestampMonotonic": "82680344", "InvocationID": "63c048ec213642c68a20394399d4e872", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5519", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "654532608", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:30:14 UTC", "StateChangeTimestampMonotonic": "82680344", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:31:07 +0000 (0:00:00.980) 0:02:07.564 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:04.165347", "end": "2022-08-03 17:31:10.480674", "rc": 0, "start": "2022-08-03 17:31:06.315327" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:31:11 +0000 (0:00:04.593) 0:02:12.158 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_pre_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:31:11 +0000 (0:00:00.041) 0:02:12.199 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:31:11 +0000 (0:00:00.045) 0:02:12.244 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005997", "end": "2022-08-03 17:31:11.012563", "rc": 0, "start": "2022-08-03 17:31:11.006566" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.442) 0:02:12.686 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ActiveEnterTimestampMonotonic": "82680344", "ActiveExitTimestamp": "Wed 2022-08-03 17:31:05 UTC", "ActiveExitTimestampMonotonic": "133843688", "ActiveState": "inactive", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:30:14 UTC", "AssertTimestampMonotonic": "82678352", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5250741000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ConditionTimestampMonotonic": "82678350", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 17:31:05 UTC", "ExecMainExitTimestampMonotonic": "134239664", "ExecMainPID": "5519", "ExecMainStartTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ExecMainStartTimestampMonotonic": "82679783", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[Wed 2022-08-03 17:31:05 UTC] ; pid=5519 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[Wed 2022-08-03 17:31:05 UTC] ; pid=5519 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:31:05 UTC", "InactiveEnterTimestampMonotonic": "134239811", "InactiveExitTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveExitTimestampMonotonic": "82680344", "InvocationID": "63c048ec213642c68a20394399d4e872", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:31:05 UTC", "StateChangeTimestampMonotonic": "134239811", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:31:12 +0000 (0:00:00.598) 0:02:13.285 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-edition" ], "delta": "0:00:03.485026", "end": "2022-08-03 17:31:15.580439", "rc": 0, "start": "2022-08-03 17:31:12.095413" } STDOUT: The licensing PID was successfully processed. The new edition is [Standard Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:31:16 +0000 (0:00:03.987) 0:02:17.273 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.097) 0:02:17.371 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.052) 0:02:17.423 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.050) 0:02:17.473 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.064) 0:02:17.538 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003436", "end": "2022-08-03 17:31:16.306278", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:31:16.302842" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:31:17 +0000 (0:00:00.442) 0:02:17.980 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.100573", "end": "2022-08-03 17:31:16.834923", "failed_when_result": false, "rc": 0, "start": "2022-08-03 17:31:16.734350" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.538) 0:02:18.519 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.041) 0:02:18.560 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.050) 0:02:18.610 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.041) 0:02:18.651 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:31:18 +0000 (0:00:00.044) 0:02:18.696 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Removed: powershell-7.2.5-1.rh.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:31:20 +0000 (0:00:02.391) 0:02:21.087 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.041) 0:02:21.128 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.044) 0:02:21.173 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.044) 0:02:21.217 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.043) 0:02:21.261 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:31:20 +0000 (0:00:00.041) 0:02:21.303 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.080) 0:02:21.383 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.041) 0:02:21.425 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.043) 0:02:21.468 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.038) 0:02:21.507 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.042) 0:02:21.549 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.039) 0:02:21.589 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.043) 0:02:21.632 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.049) 0:02:21.682 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.052) 0:02:21.734 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.052) 0:02:21.786 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.048) 0:02:21.835 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.047) 0:02:21.882 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.047) 0:02:21.929 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.053) 0:02:21.983 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.056) 0:02:22.039 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.104) 0:02:22.144 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.051) 0:02:22.196 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.059) 0:02:22.256 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:31:21 +0000 (0:00:00.066) 0:02:22.322 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.050) 0:02:22.373 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Create the availability group] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.051) 0:02:22.424 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.053) 0:02:22.478 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.053) 0:02:22.532 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.056) 0:02:22.588 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.057) 0:02:22.646 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.053) 0:02:22.700 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.050) 0:02:22.750 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.050) 0:02:22.800 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.049) 0:02:22.850 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.107) 0:02:22.957 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.049) 0:02:23.007 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.059) 0:02:23.066 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.054) 0:02:23.120 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.049) 0:02:23.170 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.050) 0:02:23.221 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.048) 0:02:23.270 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:31:22 +0000 (0:00:00.050) 0:02:23.320 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.053) 0:02:23.374 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.056) 0:02:23.430 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.053) 0:02:23.484 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.052) 0:02:23.536 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.053) 0:02:23.589 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.053) 0:02:23.643 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.529) 0:02:24.173 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.042) 0:02:24.215 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:47 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.074) 0:02:24.290 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 17:31:23 +0000 (0:00:00.000) 0:02:24.290 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ActiveEnterTimestampMonotonic": "82680344", "ActiveExitTimestamp": "Wed 2022-08-03 17:31:05 UTC", "ActiveExitTimestampMonotonic": "133843688", "ActiveState": "inactive", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:30:14 UTC", "AssertTimestampMonotonic": "82678352", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5250741000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ConditionTimestampMonotonic": "82678350", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 17:31:05 UTC", "ExecMainExitTimestampMonotonic": "134239664", "ExecMainPID": "5519", "ExecMainStartTimestamp": "Wed 2022-08-03 17:30:14 UTC", "ExecMainStartTimestampMonotonic": "82679783", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[Wed 2022-08-03 17:31:05 UTC] ; pid=5519 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:30:14 UTC] ; stop_time=[Wed 2022-08-03 17:31:05 UTC] ; pid=5519 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:31:05 UTC", "InactiveEnterTimestampMonotonic": "134239811", "InactiveExitTimestamp": "Wed 2022-08-03 17:30:14 UTC", "InactiveExitTimestampMonotonic": "82680344", "InvocationID": "63c048ec213642c68a20394399d4e872", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:31:05 UTC", "StateChangeTimestampMonotonic": "134239811", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Run with the edited settings again - should report not changed] ********** task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:50 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.613) 0:02:24.904 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.212) 0:02:25.116 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:31:24 +0000 (0:00:00.132) 0:02:25.249 ****** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.635) 0:02:25.884 ****** ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/8/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/8/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.072) 0:02:25.957 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.049) 0:02:26.007 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Link the deprecated accept_microsoft_sql_server_2019_standard_eula fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.049) 0:02:26.056 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.044) 0:02:26.101 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.040) 0:02:26.142 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.065) 0:02:26.207 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.062) 0:02:26.269 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:31:25 +0000 (0:00:00.050) 0:02:26.319 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:31:26 +0000 (0:00:00.048) 0:02:26.368 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:31:26 +0000 (0:00:00.109) 0:02:26.478 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:31:26 +0000 (0:00:00.053) 0:02:26.531 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:31:26 +0000 (0:00:00.769) 0:02:27.300 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.060) 0:02:27.361 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.676) 0:02:28.037 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the Microsoft SQL Server 2017 repository to upgrade to 2019] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.052) 0:02:28.090 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.051) 0:02:28.141 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:31:27 +0000 (0:00:00.165) 0:02:28.307 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:31:29 +0000 (0:00:01.940) 0:02:30.247 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:31:31 +0000 (0:00:02.001) 0:02:32.249 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006041", "end": "2022-08-03 17:31:31.014294", "rc": 0, "start": "2022-08-03 17:31:31.008253" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:31:32 +0000 (0:00:00.440) 0:02:32.689 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:31:34 +0000 (0:00:01.897) 0:02:34.587 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:31:34 +0000 (0:00:00.062) 0:02:34.650 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:31:34 +0000 (0:00:00.065) 0:02:34.715 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:31:36 +0000 (0:00:02.018) 0:02:36.733 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:29:56 UTC", "ActiveEnterTimestampMonotonic": "64511781", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus-broker.service dbus.socket basic.target network.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:29:55 UTC", "AssertTimestampMonotonic": "64225714", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1599824000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:29:55 UTC", "ConditionTimestampMonotonic": "64225713", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3742", "ExecMainStartTimestamp": "Wed 2022-08-03 17:29:55 UTC", "ExecMainStartTimestampMonotonic": "64227252", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 17:29:55 UTC", "InactiveExitTimestampMonotonic": "64227580", "InvocationID": "85fcc31f2a744e1497718ad3c55eae0d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3742", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "15335424", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus-broker.service system.slice dbus.socket polkit.service sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:30:13 UTC", "StateChangeTimestampMonotonic": "81977065", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4656", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:31:36 +0000 (0:00:00.585) 0:02:37.318 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.097702", "end": "2022-08-03 17:31:36.162462", "rc": 0, "start": "2022-08-03 17:31:36.064760" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.521) 0:02:37.840 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.040) 0:02:37.880 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.038) 0:02:37.919 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:31:37 +0000 (0:00:00.039) 0:02:37.959 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:31:38 +0000 (0:00:00.472) 0:02:38.431 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:31:40 +0000 (0:00:01.999) 0:02:40.431 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:31:40 +0000 (0:00:00.071) 0:02:40.503 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:31:23 UTC", "ActiveEnterTimestampMonotonic": "151588078", "ActiveExitTimestamp": "Wed 2022-08-03 17:31:05 UTC", "ActiveExitTimestampMonotonic": "133843688", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:31:23 UTC", "AssertTimestampMonotonic": "151584433", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4761876000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:31:23 UTC", "ConditionTimestampMonotonic": "151584422", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11971", "ExecMainStartTimestamp": "Wed 2022-08-03 17:31:23 UTC", "ExecMainStartTimestampMonotonic": "151587363", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:31:23 UTC] ; stop_time=[n/a] ; pid=11971 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:31:23 UTC] ; stop_time=[n/a] ; pid=11971 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:31:05 UTC", "InactiveEnterTimestampMonotonic": "134239811", "InactiveExitTimestamp": "Wed 2022-08-03 17:31:23 UTC", "InactiveExitTimestampMonotonic": "151588078", "InvocationID": "347b39eeab5b4d8b96e7fbf56bf1f1fa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11971", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "641437696", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:31:23 UTC", "StateChangeTimestampMonotonic": "151588078", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:31:40 +0000 (0:00:00.576) 0:02:41.079 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003757", "end": "2022-08-03 17:31:39.838239", "failed_when_result": false, "rc": 0, "start": "2022-08-03 17:31:39.834482" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:31:41 +0000 (0:00:00.435) 0:02:41.515 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003580", "end": "2022-08-03 17:31:40.316749", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:31:40.313169" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:31:41 +0000 (0:00:00.482) 0:02:41.997 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rd" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:31:41 +0000 (0:00:00.154) 0:02:42.151 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032427", "end": "2022-08-03 17:31:40.944280", "rc": 0, "start": "2022-08-03 17:31:40.911853" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.470) 0:02:42.622 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.045) 0:02:42.667 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.043) 0:02:42.711 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_pre_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.044) 0:02:42.755 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_pre_input_sql_file": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.048) 0:02:42.804 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005139", "end": "2022-08-03 17:31:41.562714", "rc": 0, "start": "2022-08-03 17:31:41.557575" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.433) 0:02:43.238 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:31:42 +0000 (0:00:00.067) 0:02:43.305 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.065) 0:02:43.371 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.045) 0:02:43.416 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.054) 0:02:43.471 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.121) 0:02:43.592 ****** included: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.062) 0:02:43.655 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003808", "end": "2022-08-03 17:31:42.419499", "failed_when_result": false, "rc": 0, "start": "2022-08-03 17:31:42.415691" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.441) 0:02:44.096 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.058) 0:02:44.155 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.037) 0:02:44.192 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.048) 0:02:44.241 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.043) 0:02:44.285 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:31:43 +0000 (0:00:00.045) 0:02:44.331 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:31:45 +0000 (0:00:01.961) 0:02:46.292 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:31:45 +0000 (0:00:00.048) 0:02:46.340 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.049) 0:02:46.390 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.044) 0:02:46.434 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.040) 0:02:46.475 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.045) 0:02:46.520 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.044) 0:02:46.565 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.043) 0:02:46.608 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.047) 0:02:46.656 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.041) 0:02:46.698 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.093) 0:02:46.791 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.040) 0:02:46.832 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.048) 0:02:46.880 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.051) 0:02:46.932 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.050) 0:02:46.983 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.050) 0:02:47.034 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.052) 0:02:47.086 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.052) 0:02:47.139 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.052) 0:02:47.192 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.049) 0:02:47.242 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:31:46 +0000 (0:00:00.064) 0:02:47.306 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.056) 0:02:47.362 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate and private key from the primary node to the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.053) 0:02:47.416 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.055) 0:02:47.472 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.050) 0:02:47.523 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get mssql-server version to see if WRITE_LEASE_VALIDITY is available] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.099) 0:02:47.622 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Create the availability group] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.050) 0:02:47.673 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.050) 0:02:47.723 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.057) 0:02:47.780 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set a fact to indicate successful set up on the primary replica] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.059) 0:02:47.840 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.058) 0:02:47.898 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.053) 0:02:47.951 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.053) 0:02:48.005 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.051) 0:02:48.056 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.048) 0:02:48.105 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.046) 0:02:48.152 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.049) 0:02:48.202 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item={'key': 'key', 'value': '/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.053) 0:02:48.255 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.046) 0:02:48.302 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:31:47 +0000 (0:00:00.051) 0:02:48.354 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.148) 0:02:48.502 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join synchronous and witness servers to the availability group] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.053) 0:02:48.556 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.053) 0:02:48.609 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.050) 0:02:48.660 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.054) 0:02:48.714 ****** skipping: [/cache/fedora-35.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.056) 0:02:48.771 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.052) 0:02:48.823 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.049) 0:02:48.873 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:31:48 +0000 (0:00:00.052) 0:02:48.925 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:31:49 +0000 (0:00:00.485) 0:02:49.411 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the mssql_post_input_sql_file fact] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:31:49 +0000 (0:00:00.043) 0:02:49.455 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Verify disabled settings] ************************************************ task path: /tmp/tmphentkgqr/tests/mssql/tests_powershell_2019.yml:58 Wednesday 03 August 2022 17:31:49 +0000 (0:00:00.075) 0:02:49.530 ****** included: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml for /cache/fedora-35.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 17:31:49 +0000 (0:00:00.227) 0:02:49.757 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006855", "end": "2022-08-03 17:31:48.506977", "rc": 0, "start": "2022-08-03 17:31:48.500122" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 17:31:49 +0000 (0:00:00.425) 0:02:50.183 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005700", "end": "2022-08-03 17:31:48.933758", "rc": 0, "start": "2022-08-03 17:31:48.928058" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 17:31:50 +0000 (0:00:00.425) 0:02:50.608 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 17:31:50 +0000 (0:00:00.063) 0:02:50.672 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 17:31:50 +0000 (0:00:00.040) 0:02:50.713 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 17:31:50 +0000 (0:00:00.040) 0:02:50.753 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:31:50 +0000 (0:00:00.072) 0:02:50.826 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 17:31:23 UTC", "ActiveEnterTimestampMonotonic": "151588078", "ActiveExitTimestamp": "Wed 2022-08-03 17:31:05 UTC", "ActiveExitTimestampMonotonic": "133843688", "ActiveState": "active", "After": "basic.target network.target auditd.service -.mount sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 17:31:23 UTC", "AssertTimestampMonotonic": "151584433", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4849773000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 17:31:23 UTC", "ConditionTimestampMonotonic": "151584422", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11971", "ExecMainStartTimestamp": "Wed 2022-08-03 17:31:23 UTC", "ExecMainStartTimestampMonotonic": "151587363", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 17:31:23 UTC] ; stop_time=[n/a] ; pid=11971 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 17:31:23 UTC] ; stop_time=[n/a] ; pid=11971 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "992", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 17:31:05 UTC", "InactiveEnterTimestampMonotonic": "134239811", "InactiveExitTimestamp": "Wed 2022-08-03 17:31:23 UTC", "InactiveExitTimestampMonotonic": "151588078", "InvocationID": "347b39eeab5b4d8b96e7fbf56bf1f1fa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11971", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "642490368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 17:31:23 UTC", "StateChangeTimestampMonotonic": "151588078", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "992", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.621) 0:02:51.447 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003702", "end": "2022-08-03 17:31:50.197646", "failed_when_result": false, "rc": 0, "start": "2022-08-03 17:31:50.193944" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.428) 0:02:51.875 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003669", "end": "2022-08-03 17:31:50.636265", "failed_when_result": false, "rc": 1, "start": "2022-08-03 17:31:50.632596" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:31:51 +0000 (0:00:00.440) 0:02:52.316 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rd" }, "changed": false } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 17:31:52 +0000 (0:00:00.101) 0:02:52.418 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 992, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7288, "state": "file", "uid": 992 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 17:31:55 +0000 (0:00:03.471) 0:02:55.889 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rd", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025466", "end": "2022-08-03 17:31:54.693763", "rc": 0, "start": "2022-08-03 17:31:54.668297" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (Fedora Linux 35 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.480) 0:02:56.370 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.052) 0:02:56.422 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.039) 0:02:56.461 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.038) 0:02:56.500 ****** included: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml for /cache/fedora-35.qcow2.snap TASK [Gather package facts] **************************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml:7 Wednesday 03 August 2022 17:31:56 +0000 (0:00:00.062) 0:02:56.562 ****** ok: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the powershell package is installed] *************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml:12 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.809) 0:02:57.372 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the powershell package is not installed] *********************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_package.yml:17 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.100) 0:02:57.473 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.063) 0:02:57.536 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.044) 0:02:57.581 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.046) 0:02:57.628 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.044) 0:02:57.672 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.042) 0:02:57.715 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.043) 0:02:57.758 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.043) 0:02:57.801 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.043) 0:02:57.845 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.044) 0:02:57.889 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.042) 0:02:57.932 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.055) 0:02:57.987 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=162 changed=21 unreachable=0 failed=0 skipped=332 rescued=0 ignored=1 Wednesday 03 August 2022 17:31:57 +0000 (0:00:00.071) 0:02:58.059 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the mssql-server package ------ 39.39s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Ensure the powershell package --------- 7.35s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 5.59s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.30s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.64s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Change the password of the sa user ---- 4.64s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 fedora.linux_system_roles.mssql : Ensure the powershell package --------- 4.35s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed --- 4.32s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 4.05s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.97s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Gather system services facts ---------- 3.96s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed --- 3.90s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 3.89s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Ensure the mssql-server package ------- 3.88s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Gather system services facts ---------- 3.79s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wait for mssql-server to start and prepare for client connections ------- 3.53s /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:65 --------------------- Wait for mssql-server to start and prepare for client connections ------- 3.47s /tmp/tmphentkgqr/tests/mssql/tasks/verify_settings.yml:65 --------------------- fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled --- 1.95s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.87s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.63s /tmp/tmpxn3yv_ek/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96