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/tmpf_49pz1i 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_password_2019.yml ********************************************** 1 plays in /tmp/tmpbm0vecr7/tests/tests_password_2019.yml PLAY [Ensure that the role is idempotent when changing the sa user password] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:3 Wednesday 03 August 2022 16:24:56 +0000 (0:00:00.033) 0:00:00.033 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Set up MSSQL] ************************************************************ task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:10 Wednesday 03 August 2022 16:24:57 +0000 (0:00:01.296) 0:00:01.330 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:24:57 +0000 (0:00:00.093) 0:00:01.424 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:24:57 +0000 (0:00:00.031) 0:00:01.455 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.526) 0:00:01.982 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.059) 0:00:02.041 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.027) 0:00:02.068 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.027) 0:00:02.096 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.023) 0:00:02.119 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.025) 0:00:02.144 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.045) 0:00:02.190 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.043) 0:00:02.233 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.033) 0:00:02.266 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.032) 0:00:02.298 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.032) 0:00:02.331 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:24:58 +0000 (0:00:00.030) 0:00:02.361 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:24:59 +0000 (0:00:01.529) 0:00:03.890 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.056) 0:00:03.946 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.832) 0:00:04.779 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.047) 0:00:04.826 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:25:00 +0000 (0:00:00.049) 0:00:04.875 ****** changed: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:25:01 +0000 (0:00:00.550) 0:00:05.425 ****** changed: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:25:38 +0000 (0:00:36.533) 0:00:41.959 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:25:38 +0000 (0:00:00.034) 0:00:41.993 ****** ok: [/cache/rhel-8-y.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.005838", "end": "2022-08-03 12:25:38.117458", "rc": 0, "start": "2022-08-03 12:25:38.111620" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:25:38 +0000 (0:00:00.531) 0:00:42.525 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:25:40 +0000 (0:00:01.920) 0:00:44.446 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:25:40 +0000 (0:00:00.071) 0:00:44.517 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.954366", "end": "2022-08-03 12:25:45.475274", "rc": 0, "start": "2022-08-03 12:25:40.520908" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:25:46 +0000 (0:00:05.380) 0:00:49.898 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.18.0-3.el8.noarch" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:25:47 +0000 (0:00:01.823) 0:00:51.721 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:24:51 EDT", "ActiveEnterTimestampMonotonic": "5063800", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network.target basic.target dbus.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:24:50 EDT", "AssertTimestampMonotonic": "4665317", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ConditionTimestampMonotonic": "4665313", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "871", "ExecMainStartTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ExecMainStartTimestampMonotonic": "4666342", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:24:50 EDT", "InactiveExitTimestampMonotonic": "4666400", "InvocationID": "aabe422ef4fc49e486262f4984de9d3b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "871", "MemoryAccounting": "yes", "MemoryCurrent": "21397504", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice polkit.service dbus.service dbus.socket sysinit.target", "Restart": "no", "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", "StandardInputData": "", "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 12:24:51 EDT", "StateChangeTimestampMonotonic": "5063800", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:24:51 EDT", "WatchdogTimestampMonotonic": "5063797", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:25:48 +0000 (0:00:00.866) 0:00:52.588 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.131352", "end": "2022-08-03 12:25:48.819752", "rc": 0, "start": "2022-08-03 12:25:48.688400" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:25:49 +0000 (0:00:00.641) 0:00:53.230 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:02.186376", "end": "2022-08-03 12:25:51.446659", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:25:49.260283" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:25:52 +0000 (0:00:02.678) 0:00:55.908 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:25:52 +0000 (0:00:00.041) 0:00:55.949 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:25:52 +0000 (0:00:00.035) 0:00:55.984 ****** changed: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:25:52 +0000 (0:00:00.402) 0:00:56.387 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-2.3.7-1.rh.x86_64", "Installed: unixODBC-devel-2.3.7-1.rh.x86_64", "Installed: msodbcsql17-17.10.1.1-1.x86_64" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:25:54 +0000 (0:00:02.176) 0:00:58.564 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:25:54 +0000 (0:00:00.040) 0:00:58.605 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:25:54 +0000 (0:00:00.074) 0:00:58.680 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:25:54 +0000 (0:00:00.041) 0:00:58.721 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:25:54 +0000 (0:00:00.039) 0:00:58.760 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:25:54 +0000 (0:00:00.038) 0:00:58.799 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:25:54 +0000 (0:00:00.046) 0:00:58.845 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:25:54 +0000 (0:00:00.036) 0:00:58.882 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:25:55 +0000 (0:00:00.039) 0:00:58.922 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:25:55 +0000 (0:00:00.039) 0:00:58.961 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:25:55 +0000 (0:00:00.038) 0:00:58.999 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:25:55 +0000 (0:00:00.048) 0:00:59.048 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:25:55 +0000 (0:00:00.051) 0:00:59.099 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:25:55 +0000 (0:00:00.057) 0:00:59.156 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003283", "end": "2022-08-03 12:25:55.147981", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:25:55.144698" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:25:55 +0000 (0:00:00.403) 0:00:59.560 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.110256", "end": "2022-08-03 12:25:55.724701", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:25:55.614445" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.586) 0:01:00.146 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.038) 0:01:00.184 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.047) 0:01:00.231 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.039) 0:01:00.271 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.041) 0:01:00.312 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.039) 0:01:00.351 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.037) 0:01:00.389 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.039) 0:01:00.429 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.039) 0:01:00.468 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.039) 0:01:00.507 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.036) 0:01:00.544 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.037) 0:01:00.581 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.042) 0:01:00.624 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.045) 0:01:00.669 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.039) 0:01:00.708 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.071) 0:01:00.780 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.040) 0:01:00.821 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:25:56 +0000 (0:00:00.041) 0:01:00.862 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.053) 0:01:00.915 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.051) 0:01:00.967 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.047) 0:01:01.015 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.046) 0:01:01.061 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.048) 0:01:01.109 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.046) 0:01:01.156 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.047) 0:01:01.204 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.055) 0:01:01.260 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.046) 0:01:01.306 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.048) 0:01:01.354 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.055) 0:01:01.410 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.051) 0:01:01.461 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.049) 0:01:01.511 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.103) 0:01:01.615 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.051) 0:01:01.667 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.047) 0:01:01.715 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.050) 0:01:01.765 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.053) 0:01:01.819 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:25:57 +0000 (0:00:00.049) 0:01:01.868 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.048) 0:01:01.917 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.044) 0:01:01.962 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.046) 0:01:02.008 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.048) 0:01:02.057 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.047) 0:01:02.104 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.052) 0:01:02.157 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.046) 0:01:02.203 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.048) 0:01:02.251 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.049) 0:01:02.300 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.047) 0:01:02.348 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.047) 0:01:02.395 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.086) 0:01:02.482 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.054) 0:01:02.537 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.051) 0:01:02.588 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.045) 0:01:02.634 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.046) 0:01:02.680 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:25:58 +0000 (0:00:00.048) 0:01:02.729 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:25:59 +0000 (0:00:00.596) 0:01:03.325 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:25:59 +0000 (0:00:00.039) 0:01:03.365 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:17 Wednesday 03 August 2022 16:25:59 +0000 (0:00:00.073) 0:01:03.438 ****** included: /tmp/tmpbm0vecr7/tests/tasks/mssql-sever-increase-start-limit.yml for /cache/rhel-8-y.qcow2.snap TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmpbm0vecr7/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 16:25:59 +0000 (0:00:00.088) 0:01:03.527 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmpbm0vecr7/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 16:26:00 +0000 (0:00:00.741) 0:01:04.268 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 16:26:00 +0000 (0:00:00.393) 0:01:04.662 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:25:45 EDT", "ActiveEnterTimestampMonotonic": "59245886", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:25:45 EDT", "AssertTimestampMonotonic": "59243678", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:25:45 EDT", "ConditionTimestampMonotonic": "59243678", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3129", "ExecMainStartTimestamp": "Wed 2022-08-03 12:25:45 EDT", "ExecMainStartTimestampMonotonic": "59245829", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:25:45 EDT", "InactiveExitTimestampMonotonic": "59245886", "InvocationID": "571604018fec4c968a91a46333f7567a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3129", "MemoryAccounting": "yes", "MemoryCurrent": "650219520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:25:45 EDT", "StateChangeTimestampMonotonic": "59245886", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:25:45 EDT", "WatchdogTimestampMonotonic": "59245885", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:20 Wednesday 03 August 2022 16:26:01 +0000 (0:00:00.876) 0:01:05.539 ****** META: ran handlers TASK [Change the password with default settings. Should report Changed.] ******* task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:23 Wednesday 03 August 2022 16:26:01 +0000 (0:00:00.027) 0:01:05.567 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:26:01 +0000 (0:00:00.157) 0:01:05.724 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:26:01 +0000 (0:00:00.101) 0:01:05.825 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.565) 0:01:06.391 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.078) 0:01:06.470 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.043) 0:01:06.513 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.046) 0:01:06.560 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.042) 0:01:06.603 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.039) 0:01:06.643 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.064) 0:01:06.707 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.058) 0:01:06.766 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.049) 0:01:06.816 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:26:02 +0000 (0:00:00.052) 0:01:06.869 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:26:03 +0000 (0:00:00.050) 0:01:06.919 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:26:03 +0000 (0:00:00.050) 0:01:06.970 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:26:04 +0000 (0:00:01.258) 0:01:08.228 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:26:04 +0000 (0:00:00.047) 0:01:08.276 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:26:05 +0000 (0:00:00.691) 0:01:08.967 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:26:05 +0000 (0:00:00.049) 0:01:09.016 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:26:05 +0000 (0:00:00.051) 0:01:09.068 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:26:05 +0000 (0:00:00.105) 0:01:09.174 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:26:06 +0000 (0:00:01.396) 0:01:10.570 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:26:06 +0000 (0:00:00.035) 0:01:10.605 ****** ok: [/cache/rhel-8-y.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.005632", "end": "2022-08-03 12:26:06.603159", "rc": 0, "start": "2022-08-03 12:26:06.597527" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:26:07 +0000 (0:00:00.410) 0:01:11.016 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:26:08 +0000 (0:00:01.695) 0:01:12.711 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:26:08 +0000 (0:00:00.057) 0:01:12.768 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:26:08 +0000 (0:00:00.099) 0:01:12.867 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:26:10 +0000 (0:00:01.346) 0:01:14.214 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:24:51 EDT", "ActiveEnterTimestampMonotonic": "5063800", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.socket sysinit.target dbus.service systemd-journald.socket systemd-sysctl.service network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:24:50 EDT", "AssertTimestampMonotonic": "4665317", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ConditionTimestampMonotonic": "4665313", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "871", "ExecMainStartTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ExecMainStartTimestampMonotonic": "4666342", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:24:50 EDT", "InactiveExitTimestampMonotonic": "4666400", "InvocationID": "aabe422ef4fc49e486262f4984de9d3b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "871", "MemoryAccounting": "yes", "MemoryCurrent": "22478848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket system.slice dbus.service sysinit.target", "Restart": "no", "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", "StandardInputData": "", "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 12:24:51 EDT", "StateChangeTimestampMonotonic": "5063800", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:24:51 EDT", "WatchdogTimestampMonotonic": "5063797", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:26:10 +0000 (0:00:00.543) 0:01:14.758 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.104387", "end": "2022-08-03 12:26:10.840928", "rc": 0, "start": "2022-08-03 12:26:10.736541" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:26:11 +0000 (0:00:00.497) 0:01:15.255 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:26:11 +0000 (0:00:00.036) 0:01:15.291 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:26:11 +0000 (0:00:00.034) 0:01:15.326 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:26:11 +0000 (0:00:00.037) 0:01:15.363 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:26:11 +0000 (0:00:00.463) 0:01:15.826 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:26:13 +0000 (0:00:01.402) 0:01:17.229 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:26:13 +0000 (0:00:00.069) 0:01:17.298 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ActiveEnterTimestampMonotonic": "75057868", "ActiveExitTimestamp": "Wed 2022-08-03 12:26:00 EDT", "ActiveExitTimestampMonotonic": "74861700", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:01 EDT", "AssertTimestampMonotonic": "75056537", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ConditionTimestampMonotonic": "75056537", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4889", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ExecMainStartTimestampMonotonic": "75057814", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:01 EDT] ; stop_time=[n/a] ; pid=4889 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:26:01 EDT", "InactiveEnterTimestampMonotonic": "75055404", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:01 EDT", "InactiveExitTimestampMonotonic": "75057868", "InvocationID": "2810f9d813c048db8fd3c0fde92c7566", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4889", "MemoryAccounting": "yes", "MemoryCurrent": "648445952", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:26:01 EDT", "StateChangeTimestampMonotonic": "75057868", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "140", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:26:01 EDT", "WatchdogTimestampMonotonic": "75057867", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:26:13 +0000 (0:00:00.550) 0:01:17.848 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003401", "end": "2022-08-03 12:26:13.912455", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:26:13.909054" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:26:14 +0000 (0:00:00.475) 0:01:18.324 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003603", "end": "2022-08-03 12:26:14.381888", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:26:14.378285" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:26:14 +0000 (0:00:00.471) 0:01:18.795 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD11" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:26:14 +0000 (0:00:00.075) 0:01:18.871 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.034636", "end": "2022-08-03 12:26:14.906562", "rc": 1, "start": "2022-08-03 12:26:14.871926" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:26:15 +0000 (0:00:00.451) 0:01:19.322 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ActiveEnterTimestampMonotonic": "75057868", "ActiveExitTimestamp": "Wed 2022-08-03 12:26:00 EDT", "ActiveExitTimestampMonotonic": "74861700", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:01 EDT", "AssertTimestampMonotonic": "75056537", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ConditionTimestampMonotonic": "75056537", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4889", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ExecMainStartTimestampMonotonic": "75057814", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:01 EDT] ; stop_time=[n/a] ; pid=4889 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:26:01 EDT", "InactiveEnterTimestampMonotonic": "75055404", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:01 EDT", "InactiveExitTimestampMonotonic": "75057868", "InvocationID": "2810f9d813c048db8fd3c0fde92c7566", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4889", "MemoryAccounting": "yes", "MemoryCurrent": "653676544", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:26:01 EDT", "StateChangeTimestampMonotonic": "75057868", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:26:01 EDT", "WatchdogTimestampMonotonic": "75057867", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:26:16 +0000 (0:00:01.514) 0:01:20.837 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.601144", "end": "2022-08-03 12:26:20.450879", "rc": 0, "start": "2022-08-03 12:26:16.849735" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:26:21 +0000 (0:00:04.074) 0:01:24.912 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.041) 0:01:24.953 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.049) 0:01:25.003 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.039) 0:01:25.042 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.040) 0:01:25.083 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.042) 0:01:25.125 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.041) 0:01:25.167 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.051) 0:01:25.219 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.054) 0:01:25.273 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.061) 0:01:25.334 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003917", "end": "2022-08-03 12:26:21.360689", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:26:21.356772" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:26:21 +0000 (0:00:00.440) 0:01:25.775 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.110205", "end": "2022-08-03 12:26:21.895898", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:26:21.785693" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.544) 0:01:26.319 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.075) 0:01:26.395 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.050) 0:01:26.445 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.043) 0:01:26.489 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.046) 0:01:26.535 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.042) 0:01:26.578 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.040) 0:01:26.618 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.044) 0:01:26.663 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.042) 0:01:26.705 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.039) 0:01:26.745 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.041) 0:01:26.787 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.040) 0:01:26.827 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:26:22 +0000 (0:00:00.038) 0:01:26.865 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.052) 0:01:26.918 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.041) 0:01:26.960 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.043) 0:01:27.003 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.045) 0:01:27.048 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.091) 0:01:27.140 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.048) 0:01:27.188 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.053) 0:01:27.242 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.051) 0:01:27.294 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.050) 0:01:27.345 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.053) 0:01:27.399 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.051) 0:01:27.450 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.049) 0:01:27.500 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.058) 0:01:27.559 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.052) 0:01:27.611 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.064) 0:01:27.675 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.060) 0:01:27.735 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.052) 0:01:27.787 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.055) 0:01:27.843 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:26:23 +0000 (0:00:00.051) 0:01:27.894 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.051) 0:01:27.946 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.051) 0:01:27.997 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.110) 0:01:28.108 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.054) 0:01:28.163 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.049) 0:01:28.212 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.046) 0:01:28.259 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.050) 0:01:28.310 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.051) 0:01:28.361 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.047) 0:01:28.408 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.054) 0:01:28.463 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.055) 0:01:28.518 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.048) 0:01:28.567 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.048) 0:01:28.616 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.051) 0:01:28.667 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.047) 0:01:28.714 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.054) 0:01:28.768 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.048) 0:01:28.817 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:26:24 +0000 (0:00:00.052) 0:01:28.869 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.095) 0:01:28.965 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.047) 0:01:29.012 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.046) 0:01:29.059 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.048) 0:01:29.108 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.453) 0:01:29.562 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.043) 0:01:29.605 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:31 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.084) 0:01:29.690 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:26:25 +0000 (0:00:00.000) 0:01:29.690 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ActiveEnterTimestampMonotonic": "75057868", "ActiveExitTimestamp": "Wed 2022-08-03 12:26:15 EDT", "ActiveExitTimestampMonotonic": "89408023", "ActiveState": "inactive", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:01 EDT", "AssertTimestampMonotonic": "75056537", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ConditionTimestampMonotonic": "75056537", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:26:16 EDT", "ExecMainExitTimestampMonotonic": "90354286", "ExecMainPID": "4889", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:01 EDT", "ExecMainStartTimestampMonotonic": "75057814", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:01 EDT] ; stop_time=[Wed 2022-08-03 12:26:16 EDT] ; pid=4889 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:26:16 EDT", "InactiveEnterTimestampMonotonic": "90354435", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:01 EDT", "InactiveExitTimestampMonotonic": "75057868", "InvocationID": "2810f9d813c048db8fd3c0fde92c7566", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:26:16 EDT", "StateChangeTimestampMonotonic": "90354435", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:34 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.591) 0:01:30.281 ****** included: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.162) 0:01:30.443 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.041) 0:01:30.485 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.040) 0:01:30.525 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.045) 0:01:30.571 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.041) 0:01:30.613 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.039) 0:01:30.652 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:26:26 +0000 (0:00:00.070) 0:01:30.723 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:25 EDT", "ActiveEnterTimestampMonotonic": "99798037", "ActiveExitTimestamp": "Wed 2022-08-03 12:26:15 EDT", "ActiveExitTimestampMonotonic": "89408023", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:25 EDT", "AssertTimestampMonotonic": "99796260", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:25 EDT", "ConditionTimestampMonotonic": "99796260", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7316", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:25 EDT", "ExecMainStartTimestampMonotonic": "99797988", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:25 EDT] ; stop_time=[n/a] ; pid=7316 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:26:16 EDT", "InactiveEnterTimestampMonotonic": "90354435", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:25 EDT", "InactiveExitTimestampMonotonic": "99798037", "InvocationID": "27d68d25cc684078a947848f2988e527", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7316", "MemoryAccounting": "yes", "MemoryCurrent": "143974400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:26:25 EDT", "StateChangeTimestampMonotonic": "99798037", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "44", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:26:25 EDT", "WatchdogTimestampMonotonic": "99798035", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:26:27 +0000 (0:00:00.574) 0:01:31.298 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003128", "end": "2022-08-03 12:26:27.302864", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:26:27.299736" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:26:27 +0000 (0:00:00.418) 0:01:31.717 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003305", "end": "2022-08-03 12:26:27.714995", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:26:27.711690" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:26:28 +0000 (0:00:00.450) 0:01:32.167 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:26:28 +0000 (0:00:00.092) 0:01:32.259 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 988, "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": 7393, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:26:31 +0000 (0:00:03.510) 0:01:35.770 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027431", "end": "2022-08-03 12:26:31.809420", "rc": 0, "start": "2022-08-03 12:26:31.781989" } 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 (Red Hat Enterprise Linux 8.7 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.455) 0:01:36.225 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.054) 0:01:36.279 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.094) 0:01:36.374 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.046) 0:01:36.421 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.044) 0:01:36.466 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.039) 0:01:36.505 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.039) 0:01:36.544 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.041) 0:01:36.586 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.044) 0:01:36.630 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.039) 0:01:36.670 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.039) 0:01:36.709 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.039) 0:01:36.749 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.037) 0:01:36.787 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.039) 0:01:36.827 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.038) 0:01:36.865 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the IP address setting.] ****************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:39 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.039) 0:01:36.905 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.269) 0:01:37.175 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.062) 0:01:37.237 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.570) 0:01:37.808 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.078) 0:01:37.887 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.048) 0:01:37.935 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.043) 0:01:37.979 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.038) 0:01:38.018 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.042) 0:01:38.060 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.073) 0:01:38.133 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.063) 0:01:38.197 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.105) 0:01:38.303 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.050) 0:01:38.353 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.053) 0:01:38.406 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:26:34 +0000 (0:00:00.049) 0:01:38.456 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:26:35 +0000 (0:00:01.227) 0:01:39.684 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.058) 0:01:39.742 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:26:36 +0000 (0:00:00.704) 0:01:40.447 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:26:36 +0000 (0:00:00.051) 0:01:40.498 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:26:36 +0000 (0:00:00.054) 0:01:40.553 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:26:36 +0000 (0:00:00.059) 0:01:40.612 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:26:38 +0000 (0:00:01.412) 0:01:42.025 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:26:38 +0000 (0:00:00.037) 0:01:42.062 ****** ok: [/cache/rhel-8-y.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.005751", "end": "2022-08-03 12:26:38.053490", "rc": 0, "start": "2022-08-03 12:26:38.047739" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:26:38 +0000 (0:00:00.405) 0:01:42.468 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:26:41 +0000 (0:00:02.785) 0:01:45.254 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:26:41 +0000 (0:00:00.150) 0:01:45.404 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:26:41 +0000 (0:00:00.058) 0:01:45.463 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:26:43 +0000 (0:00:01.452) 0:01:46.915 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:24:51 EDT", "ActiveEnterTimestampMonotonic": "5063800", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.socket sysinit.target dbus.service systemd-journald.socket systemd-sysctl.service network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:24:50 EDT", "AssertTimestampMonotonic": "4665317", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ConditionTimestampMonotonic": "4665313", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "871", "ExecMainStartTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ExecMainStartTimestampMonotonic": "4666342", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:24:50 EDT", "InactiveExitTimestampMonotonic": "4666400", "InvocationID": "aabe422ef4fc49e486262f4984de9d3b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "871", "MemoryAccounting": "yes", "MemoryCurrent": "22401024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket system.slice dbus.service sysinit.target", "Restart": "no", "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", "StandardInputData": "", "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 12:24:51 EDT", "StateChangeTimestampMonotonic": "5063800", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:24:51 EDT", "WatchdogTimestampMonotonic": "5063797", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:26:43 +0000 (0:00:00.558) 0:01:47.474 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.110102", "end": "2022-08-03 12:26:43.569299", "rc": 0, "start": "2022-08-03 12:26:43.459197" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.511) 0:01:47.986 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.037) 0:01:48.023 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.039) 0:01:48.063 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.075) 0:01:48.138 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.409) 0:01:48.548 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:26:46 +0000 (0:00:01.430) 0:01:49.978 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.039) 0:01:50.017 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.039) 0:01:50.057 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.043) 0:01:50.100 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.042) 0:01:50.143 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.054) 0:01:50.198 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.164) 0:01:50.363 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.046) 0:01:50.409 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.045) 0:01:50.455 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.041) 0:01:50.496 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Get the network ipaddress setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.073) 0:01:50.569 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003305", "end": "2022-08-03 12:26:46.580302", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:26:46.576997" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network ipaddress setting] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.426) 0:01:50.996 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.111173", "end": "2022-08-03 12:26:47.119921", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:26:47.008748" } 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 ipaddress setting] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.549) 0:01:51.545 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.037) 0:01:51.583 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.053) 0:01:51.636 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.051) 0:01:51.688 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.116) 0:01:51.804 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003390", "end": "2022-08-03 12:26:47.815093", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:26:47.811703" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.428) 0:01:52.233 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.055) 0:01:52.289 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.037) 0:01:52.326 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.050) 0:01:52.377 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.041) 0:01:52.419 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.042) 0:01:52.461 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.042) 0:01:52.503 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.040) 0:01:52.544 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.041) 0:01:52.585 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.041) 0:01:52.626 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.040) 0:01:52.667 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.042) 0:01:52.710 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.041) 0:01:52.752 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.041) 0:01:52.793 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.106) 0:01:52.900 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.040) 0:01:52.940 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.043) 0:01:52.984 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.050) 0:01:53.034 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.050) 0:01:53.085 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.051) 0:01:53.136 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.051) 0:01:53.188 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.052) 0:01:53.240 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.055) 0:01:53.295 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.050) 0:01:53.345 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.048) 0:01:53.394 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.050) 0:01:53.444 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.061) 0:01:53.505 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.052) 0:01:53.557 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.049) 0:01:53.607 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.054) 0:01:53.662 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.128) 0:01:53.791 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.051) 0:01:53.842 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.052) 0:01:53.894 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.050) 0:01:53.945 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.050) 0:01:53.995 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.056) 0:01:54.052 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.056) 0:01:54.108 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.051) 0:01:54.159 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.049) 0:01:54.209 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.047) 0:01:54.257 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.048) 0:01:54.305 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.053) 0:01:54.359 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.049) 0:01:54.408 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.054) 0:01:54.463 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.051) 0:01:54.515 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.049) 0:01:54.564 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.050) 0:01:54.615 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.102) 0:01:54.718 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.050) 0:01:54.768 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.050) 0:01:54.819 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.055) 0:01:54.875 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.055) 0:01:54.931 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.057) 0:01:54.988 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.057) 0:01:55.045 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.052) 0:01:55.097 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.486) 0:01:55.584 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.044) 0:01:55.629 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:45 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.077) 0:01:55.706 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.000) 0:01:55.706 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:25 EDT", "ActiveEnterTimestampMonotonic": "99798037", "ActiveExitTimestamp": "Wed 2022-08-03 12:26:15 EDT", "ActiveExitTimestampMonotonic": "89408023", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:25 EDT", "AssertTimestampMonotonic": "99796260", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:25 EDT", "ConditionTimestampMonotonic": "99796260", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7316", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:25 EDT", "ExecMainStartTimestampMonotonic": "99797988", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:25 EDT] ; stop_time=[n/a] ; pid=7316 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:26:16 EDT", "InactiveEnterTimestampMonotonic": "90354435", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:25 EDT", "InactiveExitTimestampMonotonic": "99798037", "InvocationID": "27d68d25cc684078a947848f2988e527", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7316", "MemoryAccounting": "yes", "MemoryCurrent": "657584128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:26:25 EDT", "StateChangeTimestampMonotonic": "99798037", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:26:25 EDT", "WatchdogTimestampMonotonic": "99798035", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom IP address. Should report Changed.] **** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:48 Wednesday 03 August 2022 16:26:53 +0000 (0:00:01.784) 0:01:57.491 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:26:53 +0000 (0:00:00.257) 0:01:57.748 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:26:53 +0000 (0:00:00.061) 0:01:57.810 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.634) 0:01:58.445 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.079) 0:01:58.524 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.049) 0:01:58.574 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.051) 0:01:58.626 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.043) 0:01:58.669 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.044) 0:01:58.713 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.076) 0:01:58.789 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:26:54 +0000 (0:00:00.073) 0:01:58.863 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.053) 0:01:58.917 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.049) 0:01:58.967 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.058) 0:01:59.025 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.054) 0:01:59.080 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:26:56 +0000 (0:00:01.296) 0:02:00.376 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.058) 0:02:00.434 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.666) 0:02:01.101 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.052) 0:02:01.154 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.055) 0:02:01.209 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.058) 0:02:01.268 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:26:58 +0000 (0:00:01.385) 0:02:02.653 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:26:58 +0000 (0:00:00.038) 0:02:02.692 ****** ok: [/cache/rhel-8-y.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.005545", "end": "2022-08-03 12:26:58.687098", "rc": 0, "start": "2022-08-03 12:26:58.681553" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:26:59 +0000 (0:00:00.408) 0:02:03.100 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:27:01 +0000 (0:00:02.714) 0:02:05.815 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:27:01 +0000 (0:00:00.065) 0:02:05.880 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:27:02 +0000 (0:00:00.064) 0:02:05.944 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:27:03 +0000 (0:00:01.421) 0:02:07.366 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:24:51 EDT", "ActiveEnterTimestampMonotonic": "5063800", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.socket sysinit.target dbus.service systemd-journald.socket systemd-sysctl.service network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:24:50 EDT", "AssertTimestampMonotonic": "4665317", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ConditionTimestampMonotonic": "4665313", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "871", "ExecMainStartTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ExecMainStartTimestampMonotonic": "4666342", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:24:50 EDT", "InactiveExitTimestampMonotonic": "4666400", "InvocationID": "aabe422ef4fc49e486262f4984de9d3b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "871", "MemoryAccounting": "yes", "MemoryCurrent": "22405120", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket system.slice dbus.service sysinit.target", "Restart": "no", "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", "StandardInputData": "", "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 12:24:51 EDT", "StateChangeTimestampMonotonic": "5063800", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:24:51 EDT", "WatchdogTimestampMonotonic": "5063797", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:27:04 +0000 (0:00:00.604) 0:02:07.971 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.105412", "end": "2022-08-03 12:27:04.071333", "rc": 0, "start": "2022-08-03 12:27:03.965921" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:27:04 +0000 (0:00:00.517) 0:02:08.488 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:27:04 +0000 (0:00:00.036) 0:02:08.525 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:27:04 +0000 (0:00:00.049) 0:02:08.574 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:27:04 +0000 (0:00:00.043) 0:02:08.618 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:27:05 +0000 (0:00:00.404) 0:02:09.022 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:27:06 +0000 (0:00:01.461) 0:02:10.483 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:27:06 +0000 (0:00:00.070) 0:02:10.554 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ActiveEnterTimestampMonotonic": "127008886", "ActiveExitTimestamp": "Wed 2022-08-03 12:26:51 EDT", "ActiveExitTimestampMonotonic": "125816213", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:53 EDT", "AssertTimestampMonotonic": "127006729", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ConditionTimestampMonotonic": "127006729", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9575", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ExecMainStartTimestampMonotonic": "127008804", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:53 EDT] ; stop_time=[n/a] ; pid=9575 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:26:53 EDT", "InactiveEnterTimestampMonotonic": "127004954", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:53 EDT", "InactiveExitTimestampMonotonic": "127008886", "InvocationID": "8065cccd5b8d4abebd41f6f7d9aa389e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9575", "MemoryAccounting": "yes", "MemoryCurrent": "649428992", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:26:53 EDT", "StateChangeTimestampMonotonic": "127008886", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:26:53 EDT", "WatchdogTimestampMonotonic": "127008884", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:27:07 +0000 (0:00:00.560) 0:02:11.115 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003269", "end": "2022-08-03 12:27:07.128700", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:07.125431" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:27:07 +0000 (0:00:00.428) 0:02:11.543 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003056", "end": "2022-08-03 12:27:07.569742", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:07.566686" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:27:08 +0000 (0:00:00.445) 0:02:11.989 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:27:08 +0000 (0:00:00.077) 0:02:12.067 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028102", "end": "2022-08-03 12:27:08.090470", "rc": 1, "start": "2022-08-03 12:27:08.062368" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:27:08 +0000 (0:00:00.438) 0:02:12.505 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ActiveEnterTimestampMonotonic": "127008886", "ActiveExitTimestamp": "Wed 2022-08-03 12:26:51 EDT", "ActiveExitTimestampMonotonic": "125816213", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:53 EDT", "AssertTimestampMonotonic": "127006729", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ConditionTimestampMonotonic": "127006729", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9575", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ExecMainStartTimestampMonotonic": "127008804", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:53 EDT] ; stop_time=[n/a] ; pid=9575 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:26:53 EDT", "InactiveEnterTimestampMonotonic": "127004954", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:53 EDT", "InactiveExitTimestampMonotonic": "127008886", "InvocationID": "8065cccd5b8d4abebd41f6f7d9aa389e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9575", "MemoryAccounting": "yes", "MemoryCurrent": "650371072", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:26:53 EDT", "StateChangeTimestampMonotonic": "127008886", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:26:53 EDT", "WatchdogTimestampMonotonic": "127008884", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:27:09 +0000 (0:00:00.742) 0:02:13.248 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:04.002969", "end": "2022-08-03 12:27:13.247994", "rc": 0, "start": "2022-08-03 12:27:09.245025" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:27:13 +0000 (0:00:04.473) 0:02:17.721 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:27:13 +0000 (0:00:00.042) 0:02:17.764 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:27:13 +0000 (0:00:00.051) 0:02:17.815 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:27:13 +0000 (0:00:00.044) 0:02:17.860 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.042) 0:02:17.903 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.045) 0:02:17.948 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.047) 0:02:17.995 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.060) 0:02:18.055 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.052) 0:02:18.108 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.062) 0:02:18.170 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003825", "end": "2022-08-03 12:27:14.186100", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:14.182275" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.437) 0:02:18.608 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.056) 0:02:18.665 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.038) 0:02:18.703 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.052) 0:02:18.755 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:27:14 +0000 (0:00:00.115) 0:02:18.871 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.042) 0:02:18.913 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.044) 0:02:18.958 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.041) 0:02:18.999 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.040) 0:02:19.039 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.040) 0:02:19.080 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.041) 0:02:19.121 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.042) 0:02:19.164 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.042) 0:02:19.207 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.042) 0:02:19.249 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.043) 0:02:19.293 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.043) 0:02:19.336 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.041) 0:02:19.378 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.045) 0:02:19.423 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.044) 0:02:19.468 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.054) 0:02:19.523 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.050) 0:02:19.573 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.122) 0:02:19.696 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.052) 0:02:19.749 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.055) 0:02:19.804 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:27:15 +0000 (0:00:00.060) 0:02:19.865 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.054) 0:02:19.919 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.062) 0:02:19.982 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.056) 0:02:20.039 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.053) 0:02:20.092 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.057) 0:02:20.150 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.056) 0:02:20.207 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.055) 0:02:20.262 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.049) 0:02:20.312 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.054) 0:02:20.366 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.052) 0:02:20.418 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.053) 0:02:20.472 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.055) 0:02:20.528 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.113) 0:02:20.641 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.049) 0:02:20.690 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.067) 0:02:20.757 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.050) 0:02:20.808 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:27:16 +0000 (0:00:00.051) 0:02:20.859 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.062) 0:02:20.921 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.061) 0:02:20.983 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.047) 0:02:21.031 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.051) 0:02:21.082 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.052) 0:02:21.134 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.047) 0:02:21.181 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.051) 0:02:21.233 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.046) 0:02:21.279 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.051) 0:02:21.331 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.059) 0:02:21.390 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.059) 0:02:21.450 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.057) 0:02:21.507 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:27:17 +0000 (0:00:00.149) 0:02:21.657 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:27:18 +0000 (0:00:00.500) 0:02:22.157 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:27:18 +0000 (0:00:00.041) 0:02:22.198 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:56 Wednesday 03 August 2022 16:27:18 +0000 (0:00:00.068) 0:02:22.267 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:27:18 +0000 (0:00:00.000) 0:02:22.267 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ActiveEnterTimestampMonotonic": "127008886", "ActiveExitTimestamp": "Wed 2022-08-03 12:27:08 EDT", "ActiveExitTimestampMonotonic": "142573719", "ActiveState": "inactive", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:26:53 EDT", "AssertTimestampMonotonic": "127006729", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ConditionTimestampMonotonic": "127006729", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:27:08 EDT", "ExecMainExitTimestampMonotonic": "142766408", "ExecMainPID": "9575", "ExecMainStartTimestamp": "Wed 2022-08-03 12:26:53 EDT", "ExecMainStartTimestampMonotonic": "127008804", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:26:53 EDT] ; stop_time=[Wed 2022-08-03 12:27:08 EDT] ; pid=9575 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:27:08 EDT", "InactiveEnterTimestampMonotonic": "142766500", "InactiveExitTimestamp": "Wed 2022-08-03 12:26:53 EDT", "InactiveExitTimestampMonotonic": "127008886", "InvocationID": "8065cccd5b8d4abebd41f6f7d9aa389e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:27:08 EDT", "StateChangeTimestampMonotonic": "142766500", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:59 Wednesday 03 August 2022 16:27:18 +0000 (0:00:00.582) 0:02:22.850 ****** included: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:27:19 +0000 (0:00:00.161) 0:02:23.011 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:27:19 +0000 (0:00:00.099) 0:02:23.110 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:27:19 +0000 (0:00:00.042) 0:02:23.153 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:27:19 +0000 (0:00:00.046) 0:02:23.199 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:27:19 +0000 (0:00:00.041) 0:02:23.240 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:27:19 +0000 (0:00:00.038) 0:02:23.279 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:27:19 +0000 (0:00:00.072) 0:02:23.351 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:27:18 EDT", "ActiveEnterTimestampMonotonic": "152354266", "ActiveExitTimestamp": "Wed 2022-08-03 12:27:08 EDT", "ActiveExitTimestampMonotonic": "142573719", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:27:18 EDT", "AssertTimestampMonotonic": "152351871", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:27:18 EDT", "ConditionTimestampMonotonic": "152351871", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11907", "ExecMainStartTimestamp": "Wed 2022-08-03 12:27:18 EDT", "ExecMainStartTimestampMonotonic": "152354203", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:27:18 EDT] ; stop_time=[n/a] ; pid=11907 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:27:08 EDT", "InactiveEnterTimestampMonotonic": "142766500", "InactiveExitTimestamp": "Wed 2022-08-03 12:27:18 EDT", "InactiveExitTimestampMonotonic": "152354266", "InvocationID": "566a8df3d53e49d4bb73154701c18a7d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11907", "MemoryAccounting": "yes", "MemoryCurrent": "169373696", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:27:18 EDT", "StateChangeTimestampMonotonic": "152354266", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "51", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:27:18 EDT", "WatchdogTimestampMonotonic": "152354264", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:27:20 +0000 (0:00:00.565) 0:02:23.917 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004807", "end": "2022-08-03 12:27:19.944637", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:19.939830" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:27:20 +0000 (0:00:00.448) 0:02:24.365 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003055", "end": "2022-08-03 12:27:20.390629", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:20.387574" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:27:20 +0000 (0:00:00.446) 0:02:24.812 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:27:21 +0000 (0:00:00.094) 0:02:24.906 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 988, "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": 7316, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:27:24 +0000 (0:00:03.496) 0:02:28.403 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026734", "end": "2022-08-03 12:27:24.421717", "rc": 0, "start": "2022-08-03 12:27:24.394983" } 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 (Red Hat Enterprise Linux 8.7 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:27:24 +0000 (0:00:00.435) 0:02:28.838 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:27:24 +0000 (0:00:00.054) 0:02:28.893 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.041) 0:02:28.934 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.041) 0:02:28.975 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.046) 0:02:29.022 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.039) 0:02:29.061 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.040) 0:02:29.102 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.118) 0:02:29.220 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.043) 0:02:29.263 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.044) 0:02:29.308 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.044) 0:02:29.353 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.042) 0:02:29.395 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.045) 0:02:29.441 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.044) 0:02:29.485 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.042) 0:02:29.528 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the TCP port setting.] ******************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:64 Wednesday 03 August 2022 16:27:25 +0000 (0:00:00.043) 0:02:29.571 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.371) 0:02:29.943 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.064) 0:02:30.008 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.552) 0:02:30.560 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.078) 0:02:30.638 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.048) 0:02:30.687 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.046) 0:02:30.734 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.041) 0:02:30.775 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.042) 0:02:30.818 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:27:26 +0000 (0:00:00.067) 0:02:30.885 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:27:27 +0000 (0:00:00.065) 0:02:30.951 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:27:27 +0000 (0:00:00.055) 0:02:31.006 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:27:27 +0000 (0:00:00.057) 0:02:31.064 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:27:27 +0000 (0:00:00.049) 0:02:31.113 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:27:27 +0000 (0:00:00.134) 0:02:31.247 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:27:28 +0000 (0:00:01.215) 0:02:32.463 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:27:28 +0000 (0:00:00.049) 0:02:32.512 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:27:29 +0000 (0:00:00.610) 0:02:33.123 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:27:29 +0000 (0:00:00.056) 0:02:33.180 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:27:29 +0000 (0:00:00.058) 0:02:33.238 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:27:29 +0000 (0:00:00.063) 0:02:33.302 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:27:30 +0000 (0:00:01.469) 0:02:34.771 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:27:30 +0000 (0:00:00.110) 0:02:34.881 ****** ok: [/cache/rhel-8-y.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.005446", "end": "2022-08-03 12:27:30.877754", "rc": 0, "start": "2022-08-03 12:27:30.872308" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:27:31 +0000 (0:00:00.413) 0:02:35.295 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:27:33 +0000 (0:00:01.700) 0:02:36.995 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:27:33 +0000 (0:00:00.061) 0:02:37.057 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:27:33 +0000 (0:00:00.060) 0:02:37.118 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:27:34 +0000 (0:00:01.386) 0:02:38.504 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:24:51 EDT", "ActiveEnterTimestampMonotonic": "5063800", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.socket sysinit.target dbus.service systemd-journald.socket systemd-sysctl.service network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:24:50 EDT", "AssertTimestampMonotonic": "4665317", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ConditionTimestampMonotonic": "4665313", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "871", "ExecMainStartTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ExecMainStartTimestampMonotonic": "4666342", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:24:50 EDT", "InactiveExitTimestampMonotonic": "4666400", "InvocationID": "aabe422ef4fc49e486262f4984de9d3b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "871", "MemoryAccounting": "yes", "MemoryCurrent": "22409216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket system.slice dbus.service sysinit.target", "Restart": "no", "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", "StandardInputData": "", "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 12:24:51 EDT", "StateChangeTimestampMonotonic": "5063800", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:24:51 EDT", "WatchdogTimestampMonotonic": "5063797", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.554) 0:02:39.059 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.110245", "end": "2022-08-03 12:27:35.207498", "rc": 0, "start": "2022-08-03 12:27:35.097253" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.576) 0:02:39.635 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.111) 0:02:39.747 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.039) 0:02:39.786 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.039) 0:02:39.826 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:27:36 +0000 (0:00:00.407) 0:02:40.233 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:27:37 +0000 (0:00:01.384) 0:02:41.618 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:27:37 +0000 (0:00:00.045) 0:02:41.663 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:27:37 +0000 (0:00:00.043) 0:02:41.707 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:27:37 +0000 (0:00:00.051) 0:02:41.758 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:27:37 +0000 (0:00:00.051) 0:02:41.810 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:27:37 +0000 (0:00:00.048) 0:02:41.858 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.212) 0:02:42.070 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.044) 0:02:42.115 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.045) 0:02:42.161 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.044) 0:02:42.205 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.043) 0:02:42.249 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1432 TCP port] ************************************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.061) 0:02:42.310 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1432] ******* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.053) 0:02:42.363 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.060) 0:02:42.424 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003671", "end": "2022-08-03 12:27:38.433961", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:38.430290" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.429) 0:02:42.854 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1432" ], "delta": "0:00:00.114955", "end": "2022-08-03 12:27:38.981134", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:38.866179" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.554) 0:02:43.408 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.037) 0:02:43.445 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.151) 0:02:43.596 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.044) 0:02:43.641 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.044) 0:02:43.685 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.042) 0:02:43.728 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.042) 0:02:43.770 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.043) 0:02:43.814 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.043) 0:02:43.857 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.042) 0:02:43.899 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.041) 0:02:43.941 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.042) 0:02:43.983 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.053) 0:02:44.036 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.056) 0:02:44.093 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.043) 0:02:44.136 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.041) 0:02:44.178 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.044) 0:02:44.222 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.041) 0:02:44.264 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.138) 0:02:44.402 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.052) 0:02:44.455 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.054) 0:02:44.509 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.051) 0:02:44.561 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.052) 0:02:44.613 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.054) 0:02:44.668 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.053) 0:02:44.722 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.058) 0:02:44.780 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.056) 0:02:44.837 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.053) 0:02:44.891 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.061) 0:02:44.952 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.049) 0:02:45.001 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.051) 0:02:45.053 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.049) 0:02:45.103 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.049) 0:02:45.152 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.073) 0:02:45.225 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.056) 0:02:45.282 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.138) 0:02:45.421 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.054) 0:02:45.475 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.057) 0:02:45.532 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.057) 0:02:45.590 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.063) 0:02:45.653 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.055) 0:02:45.709 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.054) 0:02:45.763 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.062) 0:02:45.826 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.057) 0:02:45.883 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.051) 0:02:45.935 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.052) 0:02:45.988 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.051) 0:02:46.039 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.051) 0:02:46.091 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.056) 0:02:46.147 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.066) 0:02:46.214 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.065) 0:02:46.280 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.142) 0:02:46.422 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.053) 0:02:46.476 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:27:42 +0000 (0:00:00.054) 0:02:46.531 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:27:43 +0000 (0:00:00.482) 0:02:47.014 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:27:43 +0000 (0:00:00.043) 0:02:47.057 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:70 Wednesday 03 August 2022 16:27:43 +0000 (0:00:00.072) 0:02:47.130 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:27:43 +0000 (0:00:00.000) 0:02:47.130 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:27:18 EDT", "ActiveEnterTimestampMonotonic": "152354266", "ActiveExitTimestamp": "Wed 2022-08-03 12:27:08 EDT", "ActiveExitTimestampMonotonic": "142573719", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:27:18 EDT", "AssertTimestampMonotonic": "152351871", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:27:18 EDT", "ConditionTimestampMonotonic": "152351871", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11907", "ExecMainStartTimestamp": "Wed 2022-08-03 12:27:18 EDT", "ExecMainStartTimestampMonotonic": "152354203", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:27:18 EDT] ; stop_time=[n/a] ; pid=11907 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:27:08 EDT", "InactiveEnterTimestampMonotonic": "142766500", "InactiveExitTimestamp": "Wed 2022-08-03 12:27:18 EDT", "InactiveExitTimestampMonotonic": "152354266", "InvocationID": "566a8df3d53e49d4bb73154701c18a7d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11907", "MemoryAccounting": "yes", "MemoryCurrent": "657059840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:27:18 EDT", "StateChangeTimestampMonotonic": "152354266", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "141", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:27:18 EDT", "WatchdogTimestampMonotonic": "152354264", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom TCP port and IP address. Should report Changed.] *** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:73 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.770) 0:02:47.901 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.449) 0:02:48.350 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.063) 0:02:48.414 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.617) 0:02:49.032 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.077) 0:02:49.109 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.043) 0:02:49.153 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.046) 0:02:49.199 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.040) 0:02:49.240 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.038) 0:02:49.278 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.172) 0:02:49.451 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.064) 0:02:49.516 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.052) 0:02:49.568 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.066) 0:02:49.634 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.052) 0:02:49.687 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.054) 0:02:49.741 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:27:47 +0000 (0:00:01.217) 0:02:50.959 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.051) 0:02:51.011 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.800) 0:02:51.811 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.058) 0:02:51.870 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.054) 0:02:51.924 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.063) 0:02:51.988 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:27:49 +0000 (0:00:01.436) 0:02:53.424 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.039) 0:02:53.464 ****** ok: [/cache/rhel-8-y.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.006650", "end": "2022-08-03 12:27:49.464367", "rc": 0, "start": "2022-08-03 12:27:49.457717" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.420) 0:02:53.884 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:27:52 +0000 (0:00:02.686) 0:02:56.570 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:27:52 +0000 (0:00:00.060) 0:02:56.630 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:27:52 +0000 (0:00:00.060) 0:02:56.691 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:27:54 +0000 (0:00:01.466) 0:02:58.158 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:24:51 EDT", "ActiveEnterTimestampMonotonic": "5063800", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target dbus.socket sysinit.target dbus.service systemd-journald.socket systemd-sysctl.service network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:24:50 EDT", "AssertTimestampMonotonic": "4665317", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ConditionTimestampMonotonic": "4665313", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "871", "ExecMainStartTimestamp": "Wed 2022-08-03 12:24:50 EDT", "ExecMainStartTimestampMonotonic": "4666342", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:24:50 EDT", "InactiveExitTimestampMonotonic": "4666400", "InvocationID": "aabe422ef4fc49e486262f4984de9d3b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "871", "MemoryAccounting": "yes", "MemoryCurrent": "22413312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket system.slice dbus.service sysinit.target", "Restart": "no", "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", "StandardInputData": "", "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 12:24:51 EDT", "StateChangeTimestampMonotonic": "5063800", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:24:51 EDT", "WatchdogTimestampMonotonic": "5063797", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:27:54 +0000 (0:00:00.551) 0:02:58.710 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.120485", "end": "2022-08-03 12:27:54.811937", "rc": 0, "start": "2022-08-03 12:27:54.691452" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:27:55 +0000 (0:00:00.521) 0:02:59.231 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:27:55 +0000 (0:00:00.039) 0:02:59.271 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:27:55 +0000 (0:00:00.038) 0:02:59.310 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:27:55 +0000 (0:00:00.037) 0:02:59.347 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:27:55 +0000 (0:00:00.412) 0:02:59.760 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:27:57 +0000 (0:00:01.359) 0:03:01.119 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:27:57 +0000 (0:00:00.168) 0:03:01.288 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ActiveEnterTimestampMonotonic": "177415767", "ActiveExitTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ActiveExitTimestampMonotonic": "177218127", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:27:43 EDT", "AssertTimestampMonotonic": "177414246", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ConditionTimestampMonotonic": "177414246", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14072", "ExecMainStartTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ExecMainStartTimestampMonotonic": "177415718", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:27:43 EDT] ; stop_time=[n/a] ; pid=14072 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:27:43 EDT", "InactiveEnterTimestampMonotonic": "177412898", "InactiveExitTimestamp": "Wed 2022-08-03 12:27:43 EDT", "InactiveExitTimestampMonotonic": "177415767", "InvocationID": "8cafae2f61444427b707bbd6f7759a65", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14072", "MemoryAccounting": "yes", "MemoryCurrent": "653918208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:27:43 EDT", "StateChangeTimestampMonotonic": "177415767", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:27:43 EDT", "WatchdogTimestampMonotonic": "177415766", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:27:57 +0000 (0:00:00.537) 0:03:01.826 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002601", "end": "2022-08-03 12:27:57.814123", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:57.811522" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:27:58 +0000 (0:00:00.403) 0:03:02.229 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002827", "end": "2022-08-03 12:27:58.203610", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:27:58.200783" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:27:58 +0000 (0:00:00.391) 0:03:02.620 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1432 -U sa -P p@55w0rD11" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:27:58 +0000 (0:00:00.071) 0:03:02.692 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1432", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030256", "end": "2022-08-03 12:27:58.702067", "rc": 1, "start": "2022-08-03 12:27:58.671811" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:27:59 +0000 (0:00:00.426) 0:03:03.119 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ActiveEnterTimestampMonotonic": "177415767", "ActiveExitTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ActiveExitTimestampMonotonic": "177218127", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:27:43 EDT", "AssertTimestampMonotonic": "177414246", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ConditionTimestampMonotonic": "177414246", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14072", "ExecMainStartTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ExecMainStartTimestampMonotonic": "177415718", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:27:43 EDT] ; stop_time=[n/a] ; pid=14072 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:27:43 EDT", "InactiveEnterTimestampMonotonic": "177412898", "InactiveExitTimestamp": "Wed 2022-08-03 12:27:43 EDT", "InactiveExitTimestampMonotonic": "177415767", "InvocationID": "8cafae2f61444427b707bbd6f7759a65", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14072", "MemoryAccounting": "yes", "MemoryCurrent": "655073280", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:27:43 EDT", "StateChangeTimestampMonotonic": "177415767", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:27:43 EDT", "WatchdogTimestampMonotonic": "177415766", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:27:59 +0000 (0:00:00.749) 0:03:03.868 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.719945", "end": "2022-08-03 12:28:03.587188", "rc": 0, "start": "2022-08-03 12:27:59.867243" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:28:04 +0000 (0:00:04.139) 0:03:08.007 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.039) 0:03:08.047 ****** ok: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.050) 0:03:08.097 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.043) 0:03:08.141 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.043) 0:03:08.185 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.115) 0:03:08.301 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.043) 0:03:08.344 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.050) 0:03:08.395 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.055) 0:03:08.450 ****** included: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.060) 0:03:08.511 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003162", "end": "2022-08-03 12:28:04.507116", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:28:04.503954" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.419) 0:03:08.930 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.112839", "end": "2022-08-03 12:28:05.048841", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:28:04.936002" } 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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.550) 0:03:09.480 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.038) 0:03:09.519 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.051) 0:03:09.570 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.053) 0:03:09.623 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.042) 0:03:09.666 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.143) 0:03:09.810 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.040) 0:03:09.851 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.047) 0:03:09.898 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.042) 0:03:09.941 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.039) 0:03:09.981 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.052) 0:03:10.033 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.045) 0:03:10.078 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.043) 0:03:10.121 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.052) 0:03:10.174 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.040) 0:03:10.214 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.041) 0:03:10.255 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.042) 0:03:10.298 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.041) 0:03:10.340 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.051) 0:03:10.391 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.052) 0:03:10.444 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.051) 0:03:10.495 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.051) 0:03:10.547 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.159) 0:03:10.706 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.051) 0:03:10.758 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.056) 0:03:10.814 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.071) 0:03:10.886 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.052) 0:03:10.938 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.052) 0:03:10.990 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.061) 0:03:11.052 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.057) 0:03:11.110 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.051) 0:03:11.161 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.050) 0:03:11.211 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.053) 0:03:11.265 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.047) 0:03:11.312 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.050) 0:03:11.363 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.053) 0:03:11.417 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.048) 0:03:11.466 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.046) 0:03:11.512 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.131) 0:03:11.644 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.049) 0:03:11.694 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.053) 0:03:11.748 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.050) 0:03:11.799 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:28:07 +0000 (0:00:00.054) 0:03:11.853 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.046) 0:03:11.900 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.055) 0:03:11.956 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.053) 0:03:12.009 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.050) 0:03:12.060 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.054) 0:03:12.114 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.051) 0:03:12.166 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.054) 0:03:12.221 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.059) 0:03:12.280 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.047) 0:03:12.327 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.046) 0:03:12.374 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:28:08 +0000 (0:00:00.049) 0:03:12.424 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.535) 0:03:12.960 ****** skipping: [/cache/rhel-8-y.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/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.041) 0:03:13.001 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:81 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.068) 0:03:13.070 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.000) 0:03:13.070 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ActiveEnterTimestampMonotonic": "177415767", "ActiveExitTimestamp": "Wed 2022-08-03 12:27:59 EDT", "ActiveExitTimestampMonotonic": "193192491", "ActiveState": "inactive", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:27:43 EDT", "AssertTimestampMonotonic": "177414246", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ConditionTimestampMonotonic": "177414246", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:27:59 EDT", "ExecMainExitTimestampMonotonic": "193382551", "ExecMainPID": "14072", "ExecMainStartTimestamp": "Wed 2022-08-03 12:27:43 EDT", "ExecMainStartTimestampMonotonic": "177415718", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:27:43 EDT] ; stop_time=[Wed 2022-08-03 12:27:59 EDT] ; pid=14072 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:27:59 EDT", "InactiveEnterTimestampMonotonic": "193382667", "InactiveExitTimestamp": "Wed 2022-08-03 12:27:43 EDT", "InactiveExitTimestampMonotonic": "177415767", "InvocationID": "8cafae2f61444427b707bbd6f7759a65", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:27:59 EDT", "StateChangeTimestampMonotonic": "193382667", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:84 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.589) 0:03:13.660 ****** included: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.224) 0:03:13.884 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.045) 0:03:13.929 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.131) 0:03:14.061 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.045) 0:03:14.106 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.042) 0:03:14.148 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.042) 0:03:14.191 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.068) 0:03:14.260 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:28:09 EDT", "ActiveEnterTimestampMonotonic": "203173866", "ActiveExitTimestamp": "Wed 2022-08-03 12:27:59 EDT", "ActiveExitTimestampMonotonic": "193192491", "ActiveState": "active", "After": "auditd.service sysinit.target system.slice network.target -.mount systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:28:09 EDT", "AssertTimestampMonotonic": "203172080", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:28:09 EDT", "ConditionTimestampMonotonic": "203172080", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "16505", "ExecMainStartTimestamp": "Wed 2022-08-03 12:28:09 EDT", "ExecMainStartTimestampMonotonic": "203173820", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:28:09 EDT] ; stop_time=[n/a] ; pid=16505 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:27:59 EDT", "InactiveEnterTimestampMonotonic": "193382667", "InactiveExitTimestamp": "Wed 2022-08-03 12:28:09 EDT", "InactiveExitTimestampMonotonic": "203173866", "InvocationID": "f6b4e98702354e8cb6f27f7b66aaa100", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "16505", "MemoryAccounting": "yes", "MemoryCurrent": "165552128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:28:09 EDT", "StateChangeTimestampMonotonic": "203173866", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "49", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:28:09 EDT", "WatchdogTimestampMonotonic": "203173865", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.575) 0:03:14.835 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002851", "end": "2022-08-03 12:28:10.840602", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:28:10.837751" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:28:11 +0000 (0:00:00.420) 0:03:15.255 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003666", "end": "2022-08-03 12:28:11.295313", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:28:11.291647" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:28:11 +0000 (0:00:00.461) 0:03:15.716 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:28:11 +0000 (0:00:00.165) 0:03:15.882 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 988, "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": 7316, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:28:15 +0000 (0:00:03.426) 0:03:19.308 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029041", "end": "2022-08-03 12:28:15.352769", "rc": 0, "start": "2022-08-03 12:28:15.323728" } 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 (Red Hat Enterprise Linux 8.7 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:28:15 +0000 (0:00:00.462) 0:03:19.771 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:28:15 +0000 (0:00:00.053) 0:03:19.825 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:28:15 +0000 (0:00:00.041) 0:03:19.866 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.038) 0:03:19.905 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.042) 0:03:19.948 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.038) 0:03:19.986 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.037) 0:03:20.023 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.040) 0:03:20.064 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.037) 0:03:20.101 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.043) 0:03:20.145 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.041) 0:03:20.187 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.108) 0:03:20.295 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.040) 0:03:20.336 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.042) 0:03:20.378 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.040) 0:03:20.419 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmpbm0vecr7/tests/tests_password_2019.yml:89 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.040) 0:03:20.460 ****** included: /tmp/tmpbm0vecr7/tests/tasks/check_header.yml for /cache/rhel-8-y.qcow2.snap TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmpbm0vecr7/tests/tasks/check_header.yml:4 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.202) 0:03:20.662 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003156", "end": "2022-08-03 12:28:16.720032", "rc": 0, "start": "2022-08-03 12:28:16.716876" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tcpport = 1433 ipaddress = 127.0.0.1 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=203 changed=30 unreachable=0 failed=0 skipped=529 rescued=0 ignored=3 Wednesday 03 August 2022 16:28:17 +0000 (0:00:00.501) 0:03:21.164 ****** =============================================================================== linux-system-roles.mssql : Ensure the mssql-server package ------------- 36.53s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Change the password of the sa user ----------- 8.21s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 ------ linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.38s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 ------ linux-system-roles.mssql : Change the password of the sa user ----------- 4.47s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 ------ linux-system-roles.mssql : Gather system services facts ----------------- 4.38s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ Wait for mssql-server to start and prepare for client connections ------- 3.51s /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:65 --------------------------- Wait for mssql-server to start and prepare for client connections ------- 3.50s /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:65 --------------------------- Wait for mssql-server to start and prepare for client connections ------- 3.43s /tmp/tmpbm0vecr7/tests/tasks/verify_settings.yml:65 --------------------------- linux-system-roles.mssql : Ensure the mssql-server package -------------- 2.83s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.81s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Gather system services facts ----------------- 2.79s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.76s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ linux-system-roles.mssql : Gather system services facts ----------------- 2.71s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 2.68s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 ------ linux-system-roles.mssql : Gather package facts ------------------------- 2.48s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 2.26s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.18s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ linux-system-roles.mssql : Gather system services facts ----------------- 1.92s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.82s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Restart the mssql-server service ------------- 1.78s /tmp/tmpbm0vecr7/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 ----- 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/tmpf_49pz1i 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_password_2019.yml ********************************************** 1 plays in /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml PLAY [Ensure that the role is idempotent when changing the sa user password] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:3 Wednesday 03 August 2022 16:56:06 +0000 (0:00:00.033) 0:00:00.033 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Set up MSSQL] ************************************************************ task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:10 Wednesday 03 August 2022 16:56:08 +0000 (0:00:01.298) 0:00:01.332 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.118) 0:00:01.451 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.035) 0:00:01.486 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.511) 0:00:01.997 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.063) 0:00:02.061 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.027) 0:00:02.088 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.029) 0:00:02.118 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.024) 0:00:02.143 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.023) 0:00:02.167 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.045) 0:00:02.213 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:56:08 +0000 (0:00:00.045) 0:00:02.258 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.036) 0:00:02.294 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.033) 0:00:02.328 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.031) 0:00:02.360 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:56:09 +0000 (0:00:00.033) 0:00:02.393 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:56:10 +0000 (0:00:01.613) 0:00:04.006 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:56:10 +0000 (0:00:00.048) 0:00:04.055 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.830) 0:00:04.885 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.067) 0:00:04.953 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:56:11 +0000 (0:00:00.071) 0:00:05.024 ****** changed: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:56:12 +0000 (0:00:00.696) 0:00:05.720 ****** changed: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:56:48 +0000 (0:00:36.482) 0:00:42.202 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:56:48 +0000 (0:00:00.032) 0:00:42.235 ****** ok: [/cache/rhel-8-y.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.005656", "end": "2022-08-03 12:56:49.389446", "rc": 0, "start": "2022-08-03 12:56:49.383790" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:56:49 +0000 (0:00:00.522) 0:00:42.758 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:56:52 +0000 (0:00:02.895) 0:00:45.653 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:56:52 +0000 (0:00:00.129) 0:00:45.783 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.769675", "end": "2022-08-03 12:56:57.597023", "rc": 0, "start": "2022-08-03 12:56:52.827348" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:56:57 +0000 (0:00:05.193) 0:00:50.976 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: tuned-profiles-mssql-2.18.0-3.el8.noarch" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:56:59 +0000 (0:00:01.756) 0:00:52.733 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:56:02 EDT", "ActiveEnterTimestampMonotonic": "4959190", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.socket sysinit.target basic.target systemd-sysctl.service system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:56:01 EDT", "AssertTimestampMonotonic": "4574167", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ConditionTimestampMonotonic": "4574167", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ExecMainStartTimestampMonotonic": "4575748", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:56:01 EDT", "InactiveExitTimestampMonotonic": "4575909", "InvocationID": "6bf8c9ef32e944d7968b812ddd39331d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "874", "MemoryAccounting": "yes", "MemoryCurrent": "21336064", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.service dbus.socket polkit.service", "Restart": "no", "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", "StandardInputData": "", "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 12:56:02 EDT", "StateChangeTimestampMonotonic": "4959190", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:56:02 EDT", "WatchdogTimestampMonotonic": "4959187", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.832) 0:00:53.565 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.153496", "end": "2022-08-03 12:57:00.827186", "rc": 0, "start": "2022-08-03 12:57:00.673690" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:57:00 +0000 (0:00:00.640) 0:00:54.206 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.187679", "end": "2022-08-03 12:57:02.455813", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:57:01.268134" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:57:02 +0000 (0:00:01.627) 0:00:55.833 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.038) 0:00:55.872 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:57:02 +0000 (0:00:00.039) 0:00:55.911 ****** changed: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:57:03 +0000 (0:00:00.409) 0:00:56.320 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: mssql-tools-17.10.1.1-1.x86_64", "Installed: unixODBC-2.3.7-1.rh.x86_64", "Installed: unixODBC-devel-2.3.7-1.rh.x86_64", "Installed: msodbcsql17-17.10.1.1-1.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:57:05 +0000 (0:00:02.174) 0:00:58.495 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.071) 0:00:58.566 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.039) 0:00:58.606 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.041) 0:00:58.648 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.039) 0:00:58.687 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.039) 0:00:58.726 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.045) 0:00:58.772 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.038) 0:00:58.810 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.039) 0:00:58.850 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.040) 0:00:58.891 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.040) 0:00:58.932 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.050) 0:00:58.982 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.053) 0:00:59.036 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:57:05 +0000 (0:00:00.061) 0:00:59.097 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003118", "end": "2022-08-03 12:57:06.123508", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:57:06.120390" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.400) 0:00:59.498 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.105574", "end": "2022-08-03 12:57:06.686557", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:57:06.580983" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.571) 0:01:00.069 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.038) 0:01:00.108 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.053) 0:01:00.161 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.042) 0:01:00.203 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:57:06 +0000 (0:00:00.044) 0:01:00.248 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.042) 0:01:00.290 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.039) 0:01:00.330 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.040) 0:01:00.371 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.039) 0:01:00.410 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.037) 0:01:00.447 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.037) 0:01:00.485 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.037) 0:01:00.522 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.040) 0:01:00.562 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.045) 0:01:00.607 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.041) 0:01:00.649 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.102) 0:01:00.751 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.041) 0:01:00.792 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.041) 0:01:00.834 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.050) 0:01:00.885 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.053) 0:01:00.939 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.050) 0:01:00.989 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.052) 0:01:01.042 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.049) 0:01:01.091 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.048) 0:01:01.140 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.048) 0:01:01.189 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:57:07 +0000 (0:00:00.051) 0:01:01.240 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.046) 0:01:01.287 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.048) 0:01:01.336 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.056) 0:01:01.392 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.047) 0:01:01.440 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.045) 0:01:01.485 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.087) 0:01:01.573 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.050) 0:01:01.624 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.047) 0:01:01.671 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.054) 0:01:01.725 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.053) 0:01:01.779 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.047) 0:01:01.826 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.047) 0:01:01.873 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.049) 0:01:01.923 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.049) 0:01:01.972 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.049) 0:01:02.021 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.047) 0:01:02.069 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.055) 0:01:02.124 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.049) 0:01:02.173 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.050) 0:01:02.224 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:57:08 +0000 (0:00:00.050) 0:01:02.274 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.049) 0:01:02.323 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.089) 0:01:02.413 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.050) 0:01:02.463 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.055) 0:01:02.519 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.054) 0:01:02.574 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.049) 0:01:02.624 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.048) 0:01:02.672 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:57:09 +0000 (0:00:00.049) 0:01:02.721 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.625) 0:01:03.347 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.038) 0:01:03.386 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:17 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.069) 0:01:03.455 ****** included: /tmp/tmpixyi654g/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for /cache/rhel-8-y.qcow2.snap TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.083) 0:01:03.538 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 16:57:10 +0000 (0:00:00.553) 0:01:04.092 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 16:57:11 +0000 (0:00:00.408) 0:01:04.500 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:56:57 EDT", "ActiveEnterTimestampMonotonic": "60389149", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:56:57 EDT", "AssertTimestampMonotonic": "60387913", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:56:57 EDT", "ConditionTimestampMonotonic": "60387913", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3133", "ExecMainStartTimestamp": "Wed 2022-08-03 12:56:57 EDT", "ExecMainStartTimestampMonotonic": "60388978", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:56:57 EDT", "InactiveExitTimestampMonotonic": "60389149", "InvocationID": "fcee9e4d171a4c64878f27bce8ce5b0b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3133", "MemoryAccounting": "yes", "MemoryCurrent": "647536640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:56:57 EDT", "StateChangeTimestampMonotonic": "60389149", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:56:57 EDT", "WatchdogTimestampMonotonic": "60389147", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:20 Wednesday 03 August 2022 16:57:12 +0000 (0:00:01.449) 0:01:05.949 ****** META: ran handlers TASK [Change the password with default settings. Should report Changed.] ******* task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:23 Wednesday 03 August 2022 16:57:12 +0000 (0:00:00.022) 0:01:05.972 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:57:12 +0000 (0:00:00.207) 0:01:06.179 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:57:12 +0000 (0:00:00.061) 0:01:06.241 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.577) 0:01:06.818 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.077) 0:01:06.895 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.046) 0:01:06.942 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.047) 0:01:06.989 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.041) 0:01:07.030 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.044) 0:01:07.075 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.072) 0:01:07.148 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.062) 0:01:07.210 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:57:13 +0000 (0:00:00.050) 0:01:07.260 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:57:14 +0000 (0:00:00.083) 0:01:07.344 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:57:14 +0000 (0:00:00.050) 0:01:07.394 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:57:14 +0000 (0:00:00.049) 0:01:07.444 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:57:15 +0000 (0:00:01.342) 0:01:08.786 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:57:15 +0000 (0:00:00.054) 0:01:08.841 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.696) 0:01:09.537 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.049) 0:01:09.587 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.051) 0:01:09.639 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:57:16 +0000 (0:00:00.079) 0:01:09.718 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:57:17 +0000 (0:00:01.404) 0:01:11.122 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:57:17 +0000 (0:00:00.037) 0:01:11.160 ****** ok: [/cache/rhel-8-y.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.004959", "end": "2022-08-03 12:57:18.178310", "rc": 0, "start": "2022-08-03 12:57:18.173351" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:57:18 +0000 (0:00:00.389) 0:01:11.550 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:57:19 +0000 (0:00:01.666) 0:01:13.217 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:57:20 +0000 (0:00:00.090) 0:01:13.308 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:57:20 +0000 (0:00:00.055) 0:01:13.364 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:57:21 +0000 (0:00:01.361) 0:01:14.725 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:56:02 EDT", "ActiveEnterTimestampMonotonic": "4959190", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target systemd-journald.socket basic.target network.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:56:01 EDT", "AssertTimestampMonotonic": "4574167", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ConditionTimestampMonotonic": "4574167", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ExecMainStartTimestampMonotonic": "4575748", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:56:01 EDT", "InactiveExitTimestampMonotonic": "4575909", "InvocationID": "6bf8c9ef32e944d7968b812ddd39331d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "874", "MemoryAccounting": "yes", "MemoryCurrent": "22343680", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "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", "StandardInputData": "", "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 12:56:02 EDT", "StateChangeTimestampMonotonic": "4959190", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:56:02 EDT", "WatchdogTimestampMonotonic": "4959187", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:57:22 +0000 (0:00:00.569) 0:01:15.294 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112409", "end": "2022-08-03 12:57:22.436413", "rc": 0, "start": "2022-08-03 12:57:22.324004" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:57:22 +0000 (0:00:00.520) 0:01:15.815 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:57:22 +0000 (0:00:00.034) 0:01:15.850 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:57:22 +0000 (0:00:00.065) 0:01:15.915 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:57:22 +0000 (0:00:00.034) 0:01:15.950 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:57:23 +0000 (0:00:00.396) 0:01:16.346 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:57:24 +0000 (0:00:01.373) 0:01:17.720 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:57:24 +0000 (0:00:00.071) 0:01:17.791 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ActiveEnterTimestampMonotonic": "75492412", "ActiveExitTimestamp": "Wed 2022-08-03 12:57:11 EDT", "ActiveExitTimestampMonotonic": "74708336", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:57:12 EDT", "AssertTimestampMonotonic": "75491117", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ConditionTimestampMonotonic": "75491117", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4894", "ExecMainStartTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ExecMainStartTimestampMonotonic": "75492253", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:57:12 EDT] ; stop_time=[n/a] ; pid=4894 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:57:12 EDT", "InactiveEnterTimestampMonotonic": "75489632", "InactiveExitTimestamp": "Wed 2022-08-03 12:57:12 EDT", "InactiveExitTimestampMonotonic": "75492412", "InvocationID": "ba33b4cd32c34dc196b96bebb22e4b5f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4894", "MemoryAccounting": "yes", "MemoryCurrent": "647409664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:57:12 EDT", "StateChangeTimestampMonotonic": "75492412", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:57:12 EDT", "WatchdogTimestampMonotonic": "75492411", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:57:25 +0000 (0:00:00.528) 0:01:18.319 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002924", "end": "2022-08-03 12:57:25.375120", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:57:25.372196" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:57:25 +0000 (0:00:00.429) 0:01:18.749 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002867", "end": "2022-08-03 12:57:25.777708", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:57:25.774841" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:57:25 +0000 (0:00:00.403) 0:01:19.152 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD11" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:57:25 +0000 (0:00:00.074) 0:01:19.227 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029024", "end": "2022-08-03 12:57:26.282576", "rc": 1, "start": "2022-08-03 12:57:26.253552" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:57:26 +0000 (0:00:00.432) 0:01:19.660 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ActiveEnterTimestampMonotonic": "75492412", "ActiveExitTimestamp": "Wed 2022-08-03 12:57:11 EDT", "ActiveExitTimestampMonotonic": "74708336", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:57:12 EDT", "AssertTimestampMonotonic": "75491117", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ConditionTimestampMonotonic": "75491117", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "4894", "ExecMainStartTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ExecMainStartTimestampMonotonic": "75492253", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:57:12 EDT] ; stop_time=[n/a] ; pid=4894 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:57:12 EDT", "InactiveEnterTimestampMonotonic": "75489632", "InactiveExitTimestamp": "Wed 2022-08-03 12:57:12 EDT", "InactiveExitTimestampMonotonic": "75492412", "InvocationID": "ba33b4cd32c34dc196b96bebb22e4b5f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4894", "MemoryAccounting": "yes", "MemoryCurrent": "649404416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:57:12 EDT", "StateChangeTimestampMonotonic": "75492412", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:57:12 EDT", "WatchdogTimestampMonotonic": "75492411", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:57:27 +0000 (0:00:01.004) 0:01:20.664 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.365380", "end": "2022-08-03 12:57:31.056509", "rc": 0, "start": "2022-08-03 12:57:27.691129" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:57:31 +0000 (0:00:03.802) 0:01:24.466 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.039) 0:01:24.505 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.048) 0:01:24.553 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.041) 0:01:24.595 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.041) 0:01:24.636 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.044) 0:01:24.681 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.042) 0:01:24.723 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.049) 0:01:24.773 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.051) 0:01:24.824 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:57:31 +0000 (0:00:00.063) 0:01:24.888 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003067", "end": "2022-08-03 12:57:31.921408", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:57:31.918341" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.415) 0:01:25.303 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.109770", "end": "2022-08-03 12:57:32.456911", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:57:32.347141" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.538) 0:01:25.842 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.081) 0:01:25.923 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.051) 0:01:25.975 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.040) 0:01:26.016 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.046) 0:01:26.062 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.054) 0:01:26.116 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.039) 0:01:26.156 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.039) 0:01:26.195 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.039) 0:01:26.234 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:57:32 +0000 (0:00:00.038) 0:01:26.272 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.040) 0:01:26.313 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.042) 0:01:26.356 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.039) 0:01:26.395 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.042) 0:01:26.438 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.042) 0:01:26.480 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.039) 0:01:26.520 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.044) 0:01:26.564 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.098) 0:01:26.663 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.049) 0:01:26.713 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.051) 0:01:26.764 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.051) 0:01:26.816 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.049) 0:01:26.866 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.050) 0:01:26.916 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.049) 0:01:26.966 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.054) 0:01:27.020 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.056) 0:01:27.077 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.051) 0:01:27.128 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.049) 0:01:27.178 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:57:33 +0000 (0:00:00.055) 0:01:27.234 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.049) 0:01:27.284 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.050) 0:01:27.334 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.053) 0:01:27.387 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.050) 0:01:27.437 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.051) 0:01:27.489 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.097) 0:01:27.586 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.054) 0:01:27.641 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.050) 0:01:27.691 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.050) 0:01:27.741 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.049) 0:01:27.791 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.048) 0:01:27.839 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.049) 0:01:27.889 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.049) 0:01:27.939 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.057) 0:01:27.997 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.048) 0:01:28.046 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.051) 0:01:28.097 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.046) 0:01:28.144 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.051) 0:01:28.195 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:57:34 +0000 (0:00:00.052) 0:01:28.247 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.051) 0:01:28.299 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.054) 0:01:28.353 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.098) 0:01:28.451 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.050) 0:01:28.502 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.051) 0:01:28.553 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.052) 0:01:28.605 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.486) 0:01:29.092 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.049) 0:01:29.141 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:31 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.074) 0:01:29.215 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:57:35 +0000 (0:00:00.000) 0:01:29.215 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ActiveEnterTimestampMonotonic": "75492412", "ActiveExitTimestamp": "Wed 2022-08-03 12:57:26 EDT", "ActiveExitTimestampMonotonic": "89752365", "ActiveState": "inactive", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:57:12 EDT", "AssertTimestampMonotonic": "75491117", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ConditionTimestampMonotonic": "75491117", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:57:27 EDT", "ExecMainExitTimestampMonotonic": "90203871", "ExecMainPID": "4894", "ExecMainStartTimestamp": "Wed 2022-08-03 12:57:12 EDT", "ExecMainStartTimestampMonotonic": "75492253", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:57:12 EDT] ; stop_time=[Wed 2022-08-03 12:57:27 EDT] ; pid=4894 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:57:27 EDT", "InactiveEnterTimestampMonotonic": "90203976", "InactiveExitTimestamp": "Wed 2022-08-03 12:57:12 EDT", "InactiveExitTimestampMonotonic": "75492412", "InvocationID": "ba33b4cd32c34dc196b96bebb22e4b5f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:57:27 EDT", "StateChangeTimestampMonotonic": "90203976", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:34 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.578) 0:01:29.794 ****** included: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.163) 0:01:29.957 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.039) 0:01:29.997 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.047) 0:01:30.044 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.042) 0:01:30.086 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.040) 0:01:30.127 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.045) 0:01:30.172 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:57:36 +0000 (0:00:00.081) 0:01:30.254 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:57:36 EDT", "ActiveEnterTimestampMonotonic": "99331797", "ActiveExitTimestamp": "Wed 2022-08-03 12:57:26 EDT", "ActiveExitTimestampMonotonic": "89752365", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:57:36 EDT", "AssertTimestampMonotonic": "99330456", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:57:36 EDT", "ConditionTimestampMonotonic": "99330456", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7328", "ExecMainStartTimestamp": "Wed 2022-08-03 12:57:36 EDT", "ExecMainStartTimestampMonotonic": "99331749", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:57:36 EDT] ; stop_time=[n/a] ; pid=7328 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:57:27 EDT", "InactiveEnterTimestampMonotonic": "90203976", "InactiveExitTimestamp": "Wed 2022-08-03 12:57:36 EDT", "InactiveExitTimestampMonotonic": "99331797", "InvocationID": "247fe4b256b8441186cd1cf0f8b57bb3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7328", "MemoryAccounting": "yes", "MemoryCurrent": "151826432", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:57:36 EDT", "StateChangeTimestampMonotonic": "99331797", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "48", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:57:36 EDT", "WatchdogTimestampMonotonic": "99331795", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:57:37 +0000 (0:00:00.541) 0:01:30.795 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002792", "end": "2022-08-03 12:57:37.821059", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:57:37.818267" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:57:37 +0000 (0:00:00.401) 0:01:31.197 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002991", "end": "2022-08-03 12:57:38.224008", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:57:38.221017" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:57:38 +0000 (0:00:00.407) 0:01:31.604 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:57:38 +0000 (0:00:00.136) 0:01:31.741 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 988, "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": 7393, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:57:41 +0000 (0:00:03.517) 0:01:35.258 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026311", "end": "2022-08-03 12:57:42.320731", "rc": 0, "start": "2022-08-03 12:57:42.294420" } 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 (Red Hat Enterprise Linux 8.7 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.438) 0:01:35.697 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.048) 0:01:35.746 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.039) 0:01:35.785 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.102) 0:01:35.888 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.039) 0:01:35.928 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.041) 0:01:35.969 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.041) 0:01:36.010 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.040) 0:01:36.051 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.039) 0:01:36.090 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.042) 0:01:36.133 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.040) 0:01:36.173 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.040) 0:01:36.213 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:57:42 +0000 (0:00:00.041) 0:01:36.254 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:57:43 +0000 (0:00:00.040) 0:01:36.295 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:57:43 +0000 (0:00:00.041) 0:01:36.337 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the IP address setting.] ****************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:39 Wednesday 03 August 2022 16:57:43 +0000 (0:00:00.039) 0:01:36.376 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:57:43 +0000 (0:00:00.272) 0:01:36.648 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:57:43 +0000 (0:00:00.061) 0:01:36.710 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:57:43 +0000 (0:00:00.566) 0:01:37.276 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.084) 0:01:37.361 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.057) 0:01:37.418 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.050) 0:01:37.468 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.043) 0:01:37.512 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.043) 0:01:37.555 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.071) 0:01:37.627 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.062) 0:01:37.689 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.052) 0:01:37.742 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.108) 0:01:37.851 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.051) 0:01:37.902 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:57:44 +0000 (0:00:00.053) 0:01:37.956 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:57:45 +0000 (0:00:01.179) 0:01:39.136 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:57:45 +0000 (0:00:00.052) 0:01:39.188 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:57:46 +0000 (0:00:00.639) 0:01:39.828 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:57:46 +0000 (0:00:00.092) 0:01:39.921 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:57:46 +0000 (0:00:00.050) 0:01:39.971 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:57:46 +0000 (0:00:00.062) 0:01:40.033 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:57:48 +0000 (0:00:01.474) 0:01:41.508 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.039) 0:01:41.547 ****** ok: [/cache/rhel-8-y.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.005320", "end": "2022-08-03 12:57:48.577923", "rc": 0, "start": "2022-08-03 12:57:48.572603" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:57:48 +0000 (0:00:00.407) 0:01:41.954 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:57:50 +0000 (0:00:01.682) 0:01:43.637 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.057) 0:01:43.695 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:57:50 +0000 (0:00:00.139) 0:01:43.834 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:57:51 +0000 (0:00:01.383) 0:01:45.217 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:56:02 EDT", "ActiveEnterTimestampMonotonic": "4959190", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target systemd-journald.socket basic.target network.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:56:01 EDT", "AssertTimestampMonotonic": "4574167", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ConditionTimestampMonotonic": "4574167", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ExecMainStartTimestampMonotonic": "4575748", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:56:01 EDT", "InactiveExitTimestampMonotonic": "4575909", "InvocationID": "6bf8c9ef32e944d7968b812ddd39331d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "874", "MemoryAccounting": "yes", "MemoryCurrent": "22495232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "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", "StandardInputData": "", "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 12:56:02 EDT", "StateChangeTimestampMonotonic": "4959190", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:56:02 EDT", "WatchdogTimestampMonotonic": "4959187", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:57:52 +0000 (0:00:00.569) 0:01:45.786 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.109909", "end": "2022-08-03 12:57:52.921538", "rc": 0, "start": "2022-08-03 12:57:52.811629" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.513) 0:01:46.300 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.038) 0:01:46.339 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.038) 0:01:46.378 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.037) 0:01:46.415 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:57:53 +0000 (0:00:00.456) 0:01:46.872 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:57:55 +0000 (0:00:01.484) 0:01:48.356 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.043) 0:01:48.400 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.043) 0:01:48.443 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.043) 0:01:48.486 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.044) 0:01:48.530 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.043) 0:01:48.574 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.047) 0:01:48.621 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.040) 0:01:48.662 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.042) 0:01:48.704 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.040) 0:01:48.745 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network ipaddress setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:57:55 +0000 (0:00:00.108) 0:01:48.854 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003131", "end": "2022-08-03 12:57:55.903297", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:57:55.900166" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network ipaddress setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:57:56 +0000 (0:00:00.427) 0:01:49.281 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.109190", "end": "2022-08-03 12:57:56.438649", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:57:56.329459" } 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 ipaddress setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:57:56 +0000 (0:00:00.543) 0:01:49.825 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:57:56 +0000 (0:00:00.045) 0:01:49.870 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:57:56 +0000 (0:00:00.059) 0:01:49.930 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:57:56 +0000 (0:00:00.055) 0:01:49.986 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:57:56 +0000 (0:00:00.065) 0:01:50.052 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002688", "end": "2022-08-03 12:57:57.092080", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:57:57.089392" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.419) 0:01:50.471 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.109) 0:01:50.581 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.037) 0:01:50.618 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.051) 0:01:50.669 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.041) 0:01:50.710 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.039) 0:01:50.750 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.040) 0:01:50.790 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.043) 0:01:50.833 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.042) 0:01:50.875 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.041) 0:01:50.917 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.041) 0:01:50.959 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.042) 0:01:51.001 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.041) 0:01:51.042 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.040) 0:01:51.083 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.045) 0:01:51.129 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.040) 0:01:51.170 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.038) 0:01:51.208 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:57:57 +0000 (0:00:00.037) 0:01:51.245 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.089) 0:01:51.334 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.052) 0:01:51.387 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.048) 0:01:51.436 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.048) 0:01:51.484 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.048) 0:01:51.532 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.049) 0:01:51.581 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.053) 0:01:51.634 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.054) 0:01:51.689 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.058) 0:01:51.748 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.054) 0:01:51.802 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.050) 0:01:51.853 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.059) 0:01:51.912 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.054) 0:01:51.966 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.053) 0:01:52.020 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.053) 0:01:52.074 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.055) 0:01:52.129 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:57:58 +0000 (0:00:00.111) 0:01:52.240 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.056) 0:01:52.297 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.061) 0:01:52.358 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.052) 0:01:52.411 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.049) 0:01:52.461 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.054) 0:01:52.515 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.050) 0:01:52.566 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.050) 0:01:52.617 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.052) 0:01:52.669 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.057) 0:01:52.726 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.049) 0:01:52.776 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.052) 0:01:52.829 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.052) 0:01:52.881 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.051) 0:01:52.932 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.052) 0:01:52.985 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.054) 0:01:53.040 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.056) 0:01:53.096 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.132) 0:01:53.228 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:57:59 +0000 (0:00:00.048) 0:01:53.276 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:58:00 +0000 (0:00:00.058) 0:01:53.335 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:58:00 +0000 (0:00:00.051) 0:01:53.386 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:58:00 +0000 (0:00:00.474) 0:01:53.861 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:58:00 +0000 (0:00:00.044) 0:01:53.905 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:45 Wednesday 03 August 2022 16:58:00 +0000 (0:00:00.072) 0:01:53.978 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:58:00 +0000 (0:00:00.000) 0:01:53.978 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:57:36 EDT", "ActiveEnterTimestampMonotonic": "99331797", "ActiveExitTimestamp": "Wed 2022-08-03 12:57:26 EDT", "ActiveExitTimestampMonotonic": "89752365", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:57:36 EDT", "AssertTimestampMonotonic": "99330456", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:57:36 EDT", "ConditionTimestampMonotonic": "99330456", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7328", "ExecMainStartTimestamp": "Wed 2022-08-03 12:57:36 EDT", "ExecMainStartTimestampMonotonic": "99331749", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:57:36 EDT] ; stop_time=[n/a] ; pid=7328 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:57:27 EDT", "InactiveEnterTimestampMonotonic": "90203976", "InactiveExitTimestamp": "Wed 2022-08-03 12:57:36 EDT", "InactiveExitTimestampMonotonic": "99331797", "InvocationID": "247fe4b256b8441186cd1cf0f8b57bb3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7328", "MemoryAccounting": "yes", "MemoryCurrent": "648478720", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:57:36 EDT", "StateChangeTimestampMonotonic": "99331797", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:57:36 EDT", "WatchdogTimestampMonotonic": "99331795", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom IP address. Should report Changed.] **** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:48 Wednesday 03 August 2022 16:58:01 +0000 (0:00:00.793) 0:01:54.771 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:58:01 +0000 (0:00:00.339) 0:01:55.111 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:58:01 +0000 (0:00:00.065) 0:01:55.176 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.604) 0:01:55.781 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.076) 0:01:55.858 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.051) 0:01:55.909 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.049) 0:01:55.959 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.041) 0:01:56.001 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.097) 0:01:56.098 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.069) 0:01:56.167 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:58:02 +0000 (0:00:00.063) 0:01:56.230 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:58:03 +0000 (0:00:00.061) 0:01:56.292 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:58:03 +0000 (0:00:00.058) 0:01:56.350 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:58:03 +0000 (0:00:00.049) 0:01:56.400 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:58:03 +0000 (0:00:00.053) 0:01:56.453 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:58:04 +0000 (0:00:01.278) 0:01:57.731 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:58:04 +0000 (0:00:00.108) 0:01:57.840 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:58:05 +0000 (0:00:00.633) 0:01:58.473 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:58:05 +0000 (0:00:00.054) 0:01:58.527 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:58:05 +0000 (0:00:00.055) 0:01:58.583 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:58:05 +0000 (0:00:00.056) 0:01:58.639 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:58:06 +0000 (0:00:01.358) 0:01:59.998 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:58:06 +0000 (0:00:00.037) 0:02:00.036 ****** ok: [/cache/rhel-8-y.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.005049", "end": "2022-08-03 12:58:07.071659", "rc": 0, "start": "2022-08-03 12:58:07.066610" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:58:07 +0000 (0:00:00.411) 0:02:00.448 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:58:08 +0000 (0:00:01.658) 0:02:02.106 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:58:08 +0000 (0:00:00.107) 0:02:02.214 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:58:08 +0000 (0:00:00.057) 0:02:02.271 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:58:10 +0000 (0:00:01.328) 0:02:03.600 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:56:02 EDT", "ActiveEnterTimestampMonotonic": "4959190", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target systemd-journald.socket basic.target network.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:56:01 EDT", "AssertTimestampMonotonic": "4574167", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ConditionTimestampMonotonic": "4574167", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ExecMainStartTimestampMonotonic": "4575748", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:56:01 EDT", "InactiveExitTimestampMonotonic": "4575909", "InvocationID": "6bf8c9ef32e944d7968b812ddd39331d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "874", "MemoryAccounting": "yes", "MemoryCurrent": "22458368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "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", "StandardInputData": "", "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 12:56:02 EDT", "StateChangeTimestampMonotonic": "4959190", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:56:02 EDT", "WatchdogTimestampMonotonic": "4959187", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:58:10 +0000 (0:00:00.547) 0:02:04.147 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.111140", "end": "2022-08-03 12:58:11.270563", "rc": 0, "start": "2022-08-03 12:58:11.159423" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:58:11 +0000 (0:00:00.514) 0:02:04.662 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:58:11 +0000 (0:00:00.046) 0:02:04.708 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:58:11 +0000 (0:00:00.049) 0:02:04.757 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:58:11 +0000 (0:00:00.036) 0:02:04.794 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:58:11 +0000 (0:00:00.468) 0:02:05.263 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:58:13 +0000 (0:00:01.496) 0:02:06.759 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:58:13 +0000 (0:00:00.069) 0:02:06.829 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ActiveEnterTimestampMonotonic": "124312374", "ActiveExitTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ActiveExitTimestampMonotonic": "124112100", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:01 EDT", "AssertTimestampMonotonic": "124310905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ConditionTimestampMonotonic": "124310905", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9589", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ExecMainStartTimestampMonotonic": "124312325", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:01 EDT] ; stop_time=[n/a] ; pid=9589 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:58:01 EDT", "InactiveEnterTimestampMonotonic": "124309443", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:01 EDT", "InactiveExitTimestampMonotonic": "124312374", "InvocationID": "1a7e5da78234471f932b33d4a10d3f1e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9589", "MemoryAccounting": "yes", "MemoryCurrent": "653352960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:58:01 EDT", "StateChangeTimestampMonotonic": "124312374", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:58:01 EDT", "WatchdogTimestampMonotonic": "124312373", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.546) 0:02:07.376 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003328", "end": "2022-08-03 12:58:14.420771", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:58:14.417443" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.424) 0:02:07.801 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003273", "end": "2022-08-03 12:58:14.835443", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:58:14.832170" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:58:14 +0000 (0:00:00.412) 0:02:08.213 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.074) 0:02:08.288 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026837", "end": "2022-08-03 12:58:15.409517", "rc": 1, "start": "2022-08-03 12:58:15.382680" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:58:15 +0000 (0:00:00.497) 0:02:08.785 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ActiveEnterTimestampMonotonic": "124312374", "ActiveExitTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ActiveExitTimestampMonotonic": "124112100", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:01 EDT", "AssertTimestampMonotonic": "124310905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ConditionTimestampMonotonic": "124310905", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9589", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ExecMainStartTimestampMonotonic": "124312325", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:01 EDT] ; stop_time=[n/a] ; pid=9589 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:58:01 EDT", "InactiveEnterTimestampMonotonic": "124309443", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:01 EDT", "InactiveExitTimestampMonotonic": "124312374", "InvocationID": "1a7e5da78234471f932b33d4a10d3f1e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9589", "MemoryAccounting": "yes", "MemoryCurrent": "654663680", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:58:01 EDT", "StateChangeTimestampMonotonic": "124312374", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "144", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:58:01 EDT", "WatchdogTimestampMonotonic": "124312373", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:58:16 +0000 (0:00:01.248) 0:02:10.034 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.524968", "end": "2022-08-03 12:58:20.600066", "rc": 0, "start": "2022-08-03 12:58:17.075098" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:58:20 +0000 (0:00:03.948) 0:02:13.982 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:58:20 +0000 (0:00:00.044) 0:02:14.026 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:58:20 +0000 (0:00:00.046) 0:02:14.073 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:58:20 +0000 (0:00:00.041) 0:02:14.115 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:58:20 +0000 (0:00:00.042) 0:02:14.157 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:58:20 +0000 (0:00:00.042) 0:02:14.200 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.099) 0:02:14.299 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.053) 0:02:14.353 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.052) 0:02:14.405 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.064) 0:02:14.470 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002852", "end": "2022-08-03 12:58:21.497968", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:58:21.495116" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.406) 0:02:14.876 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.059) 0:02:14.936 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.037) 0:02:14.974 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.048) 0:02:15.022 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.043) 0:02:15.066 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.041) 0:02:15.108 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.039) 0:02:15.147 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.042) 0:02:15.189 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:58:21 +0000 (0:00:00.047) 0:02:15.237 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.044) 0:02:15.281 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.088) 0:02:15.370 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.044) 0:02:15.415 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.042) 0:02:15.457 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.042) 0:02:15.499 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.049) 0:02:15.549 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.039) 0:02:15.588 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.038) 0:02:15.627 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.038) 0:02:15.665 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.041) 0:02:15.707 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.056) 0:02:15.763 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.051) 0:02:15.814 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.048) 0:02:15.863 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.053) 0:02:15.917 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.050) 0:02:15.967 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.051) 0:02:16.019 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.052) 0:02:16.071 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.111) 0:02:16.182 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:58:22 +0000 (0:00:00.048) 0:02:16.231 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.059) 0:02:16.290 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.057) 0:02:16.348 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.050) 0:02:16.398 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.049) 0:02:16.448 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.050) 0:02:16.498 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.047) 0:02:16.545 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.053) 0:02:16.599 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.057) 0:02:16.656 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.057) 0:02:16.714 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.053) 0:02:16.768 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.053) 0:02:16.821 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.049) 0:02:16.871 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.050) 0:02:16.922 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.050) 0:02:16.972 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.047) 0:02:17.019 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.132) 0:02:17.152 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.049) 0:02:17.201 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:58:23 +0000 (0:00:00.049) 0:02:17.251 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.051) 0:02:17.302 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.053) 0:02:17.355 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.053) 0:02:17.409 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.051) 0:02:17.460 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.058) 0:02:17.519 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.059) 0:02:17.578 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.060) 0:02:17.638 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.052) 0:02:17.691 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.064) 0:02:17.756 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:58:24 +0000 (0:00:00.484) 0:02:18.240 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:58:25 +0000 (0:00:00.046) 0:02:18.286 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:56 Wednesday 03 August 2022 16:58:25 +0000 (0:00:00.214) 0:02:18.501 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:58:25 +0000 (0:00:00.000) 0:02:18.501 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ActiveEnterTimestampMonotonic": "124312374", "ActiveExitTimestamp": "Wed 2022-08-03 12:58:15 EDT", "ActiveExitTimestampMonotonic": "138893376", "ActiveState": "inactive", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:01 EDT", "AssertTimestampMonotonic": "124310905", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ConditionTimestampMonotonic": "124310905", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:58:16 EDT", "ExecMainExitTimestampMonotonic": "139568291", "ExecMainPID": "9589", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:01 EDT", "ExecMainStartTimestampMonotonic": "124312325", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:01 EDT] ; stop_time=[Wed 2022-08-03 12:58:16 EDT] ; pid=9589 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:58:16 EDT", "InactiveEnterTimestampMonotonic": "139568391", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:01 EDT", "InactiveExitTimestampMonotonic": "124312374", "InvocationID": "1a7e5da78234471f932b33d4a10d3f1e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:58:16 EDT", "StateChangeTimestampMonotonic": "139568391", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:59 Wednesday 03 August 2022 16:58:25 +0000 (0:00:00.586) 0:02:19.087 ****** included: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:58:25 +0000 (0:00:00.168) 0:02:19.256 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:58:26 +0000 (0:00:00.041) 0:02:19.297 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:58:26 +0000 (0:00:00.041) 0:02:19.339 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:58:26 +0000 (0:00:00.041) 0:02:19.381 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:58:26 +0000 (0:00:00.039) 0:02:19.420 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:58:26 +0000 (0:00:00.041) 0:02:19.461 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:58:26 +0000 (0:00:00.131) 0:02:19.593 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:25 EDT", "ActiveEnterTimestampMonotonic": "148621427", "ActiveExitTimestamp": "Wed 2022-08-03 12:58:15 EDT", "ActiveExitTimestampMonotonic": "138893376", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:25 EDT", "AssertTimestampMonotonic": "148620281", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:25 EDT", "ConditionTimestampMonotonic": "148620280", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11922", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:25 EDT", "ExecMainStartTimestampMonotonic": "148621387", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:25 EDT] ; stop_time=[n/a] ; pid=11922 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:58:16 EDT", "InactiveEnterTimestampMonotonic": "139568391", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:25 EDT", "InactiveExitTimestampMonotonic": "148621427", "InvocationID": "395e3df4ca134affb3d251445ca4df10", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11922", "MemoryAccounting": "yes", "MemoryCurrent": "146313216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:58:25 EDT", "StateChangeTimestampMonotonic": "148621427", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "45", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:58:25 EDT", "WatchdogTimestampMonotonic": "148621425", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:58:26 +0000 (0:00:00.534) 0:02:20.128 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002854", "end": "2022-08-03 12:58:27.178597", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:58:27.175743" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:58:27 +0000 (0:00:00.430) 0:02:20.558 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002628", "end": "2022-08-03 12:58:27.605711", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:58:27.603083" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:58:27 +0000 (0:00:00.432) 0:02:20.991 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:58:27 +0000 (0:00:00.103) 0:02:21.094 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 988, "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": 7316, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:58:31 +0000 (0:00:03.430) 0:02:24.525 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025808", "end": "2022-08-03 12:58:31.573280", "rc": 0, "start": "2022-08-03 12:58:31.547472" } 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 (Red Hat Enterprise Linux 8.7 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:58:31 +0000 (0:00:00.438) 0:02:24.963 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:58:31 +0000 (0:00:00.055) 0:02:25.019 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:58:31 +0000 (0:00:00.105) 0:02:25.124 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:58:31 +0000 (0:00:00.049) 0:02:25.174 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:58:31 +0000 (0:00:00.060) 0:02:25.235 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.048) 0:02:25.283 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.044) 0:02:25.327 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.043) 0:02:25.371 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.044) 0:02:25.416 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.042) 0:02:25.458 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.040) 0:02:25.498 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.039) 0:02:25.538 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.040) 0:02:25.579 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.039) 0:02:25.618 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.039) 0:02:25.658 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the TCP port setting.] ******************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:64 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.038) 0:02:25.696 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.401) 0:02:26.098 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:58:32 +0000 (0:00:00.067) 0:02:26.166 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.568) 0:02:26.735 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.078) 0:02:26.814 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.048) 0:02:26.862 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.049) 0:02:26.911 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.041) 0:02:26.953 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.043) 0:02:26.996 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.212) 0:02:27.209 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:58:33 +0000 (0:00:00.065) 0:02:27.274 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:58:34 +0000 (0:00:00.049) 0:02:27.323 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:58:34 +0000 (0:00:00.054) 0:02:27.377 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:58:34 +0000 (0:00:00.052) 0:02:27.430 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:58:34 +0000 (0:00:00.051) 0:02:27.481 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:58:35 +0000 (0:00:01.206) 0:02:28.688 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:58:35 +0000 (0:00:00.051) 0:02:28.739 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:58:36 +0000 (0:00:00.761) 0:02:29.501 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:58:36 +0000 (0:00:00.051) 0:02:29.552 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:58:36 +0000 (0:00:00.053) 0:02:29.606 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:58:36 +0000 (0:00:00.060) 0:02:29.667 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:58:37 +0000 (0:00:01.439) 0:02:31.107 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:58:37 +0000 (0:00:00.048) 0:02:31.155 ****** ok: [/cache/rhel-8-y.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.004864", "end": "2022-08-03 12:58:38.184968", "rc": 0, "start": "2022-08-03 12:58:38.180104" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:58:38 +0000 (0:00:00.410) 0:02:31.565 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:58:39 +0000 (0:00:01.676) 0:02:33.241 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:58:40 +0000 (0:00:00.057) 0:02:33.299 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:58:40 +0000 (0:00:00.058) 0:02:33.357 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:58:41 +0000 (0:00:01.516) 0:02:34.874 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:56:02 EDT", "ActiveEnterTimestampMonotonic": "4959190", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target systemd-journald.socket basic.target network.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:56:01 EDT", "AssertTimestampMonotonic": "4574167", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ConditionTimestampMonotonic": "4574167", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ExecMainStartTimestampMonotonic": "4575748", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:56:01 EDT", "InactiveExitTimestampMonotonic": "4575909", "InvocationID": "6bf8c9ef32e944d7968b812ddd39331d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "874", "MemoryAccounting": "yes", "MemoryCurrent": "22478848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "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", "StandardInputData": "", "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 12:56:02 EDT", "StateChangeTimestampMonotonic": "4959190", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:56:02 EDT", "WatchdogTimestampMonotonic": "4959187", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:58:42 +0000 (0:00:00.567) 0:02:35.441 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.113834", "end": "2022-08-03 12:58:42.570215", "rc": 0, "start": "2022-08-03 12:58:42.456381" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:58:42 +0000 (0:00:00.508) 0:02:35.950 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:58:42 +0000 (0:00:00.042) 0:02:35.992 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:58:42 +0000 (0:00:00.038) 0:02:36.031 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:58:42 +0000 (0:00:00.039) 0:02:36.070 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:58:43 +0000 (0:00:00.408) 0:02:36.479 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:58:44 +0000 (0:00:01.357) 0:02:37.836 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.041) 0:02:37.878 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.104) 0:02:37.982 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.042) 0:02:38.025 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.040) 0:02:38.066 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.039) 0:02:38.106 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.051) 0:02:38.157 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.044) 0:02:38.202 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:58:44 +0000 (0:00:00.046) 0:02:38.249 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:58:45 +0000 (0:00:00.047) 0:02:38.296 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:58:45 +0000 (0:00:00.052) 0:02:38.348 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1432 TCP port] ************************************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:58:45 +0000 (0:00:00.055) 0:02:38.404 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1432] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:58:45 +0000 (0:00:00.051) 0:02:38.456 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:58:45 +0000 (0:00:00.061) 0:02:38.518 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003161", "end": "2022-08-03 12:58:45.553998", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:58:45.550837" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:58:45 +0000 (0:00:00.417) 0:02:38.935 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1432" ], "delta": "0:00:00.103557", "end": "2022-08-03 12:58:46.171248", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:58:46.067691" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.620) 0:02:39.556 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.038) 0:02:39.595 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.050) 0:02:39.645 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.048) 0:02:39.694 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.043) 0:02:39.738 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.041) 0:02:39.779 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.041) 0:02:39.821 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.042) 0:02:39.863 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.043) 0:02:39.906 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.048) 0:02:39.954 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.043) 0:02:39.997 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.043) 0:02:40.041 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.047) 0:02:40.088 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.048) 0:02:40.136 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:58:46 +0000 (0:00:00.042) 0:02:40.179 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.109) 0:02:40.288 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.043) 0:02:40.332 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.041) 0:02:40.373 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.056) 0:02:40.429 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.051) 0:02:40.481 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.047) 0:02:40.528 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.051) 0:02:40.579 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.048) 0:02:40.627 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.048) 0:02:40.676 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.053) 0:02:40.729 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.057) 0:02:40.786 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.050) 0:02:40.837 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.051) 0:02:40.888 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.057) 0:02:40.945 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.052) 0:02:40.998 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.054) 0:02:41.052 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.124) 0:02:41.176 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:58:47 +0000 (0:00:00.064) 0:02:41.241 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.057) 0:02:41.299 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.057) 0:02:41.357 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.057) 0:02:41.414 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.059) 0:02:41.473 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.056) 0:02:41.530 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.051) 0:02:41.581 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.051) 0:02:41.633 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.049) 0:02:41.682 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.052) 0:02:41.735 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.059) 0:02:41.795 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.049) 0:02:41.844 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.047) 0:02:41.892 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.052) 0:02:41.944 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.051) 0:02:41.995 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.047) 0:02:42.043 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.155) 0:02:42.199 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:58:48 +0000 (0:00:00.056) 0:02:42.255 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.056) 0:02:42.312 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.049) 0:02:42.362 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.050) 0:02:42.413 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.048) 0:02:42.461 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.452) 0:02:42.914 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.040) 0:02:42.955 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:70 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.068) 0:02:43.023 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:58:49 +0000 (0:00:00.000) 0:02:43.024 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:25 EDT", "ActiveEnterTimestampMonotonic": "148621427", "ActiveExitTimestamp": "Wed 2022-08-03 12:58:15 EDT", "ActiveExitTimestampMonotonic": "138893376", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:25 EDT", "AssertTimestampMonotonic": "148620281", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:25 EDT", "ConditionTimestampMonotonic": "148620280", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11922", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:25 EDT", "ExecMainStartTimestampMonotonic": "148621387", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:25 EDT] ; stop_time=[n/a] ; pid=11922 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:58:16 EDT", "InactiveEnterTimestampMonotonic": "139568391", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:25 EDT", "InactiveExitTimestampMonotonic": "148621427", "InvocationID": "395e3df4ca134affb3d251445ca4df10", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11922", "MemoryAccounting": "yes", "MemoryCurrent": "650321920", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:58:25 EDT", "StateChangeTimestampMonotonic": "148621427", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "141", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:58:25 EDT", "WatchdogTimestampMonotonic": "148621425", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom TCP port and IP address. Should report Changed.] *** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:73 Wednesday 03 August 2022 16:58:50 +0000 (0:00:01.243) 0:02:44.267 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:58:51 +0000 (0:00:00.314) 0:02:44.581 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:58:51 +0000 (0:00:00.061) 0:02:44.643 ****** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:58:51 +0000 (0:00:00.603) 0:02:45.246 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.164) 0:02:45.411 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.046) 0:02:45.458 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.045) 0:02:45.503 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.038) 0:02:45.542 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.042) 0:02:45.585 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.068) 0:02:45.654 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.069) 0:02:45.723 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.054) 0:02:45.778 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.053) 0:02:45.831 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.050) 0:02:45.882 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:58:52 +0000 (0:00:00.053) 0:02:45.935 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:58:53 +0000 (0:00:01.186) 0:02:47.121 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:58:53 +0000 (0:00:00.052) 0:02:47.173 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:58:54 +0000 (0:00:00.677) 0:02:47.851 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:58:54 +0000 (0:00:00.049) 0:02:47.900 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:58:54 +0000 (0:00:00.049) 0:02:47.949 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:58:54 +0000 (0:00:00.068) 0:02:48.018 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:58:56 +0000 (0:00:01.389) 0:02:49.408 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:58:56 +0000 (0:00:00.037) 0:02:49.445 ****** ok: [/cache/rhel-8-y.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.005052", "end": "2022-08-03 12:58:56.475223", "rc": 0, "start": "2022-08-03 12:58:56.470171" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:58:56 +0000 (0:00:00.504) 0:02:49.949 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:58:59 +0000 (0:00:02.642) 0:02:52.591 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:58:59 +0000 (0:00:00.060) 0:02:52.652 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:58:59 +0000 (0:00:00.062) 0:02:52.714 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:59:00 +0000 (0:00:01.340) 0:02:54.055 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:56:02 EDT", "ActiveEnterTimestampMonotonic": "4959190", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target systemd-journald.socket basic.target network.target dbus.socket system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:56:01 EDT", "AssertTimestampMonotonic": "4574167", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ConditionTimestampMonotonic": "4574167", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Wed 2022-08-03 12:56:01 EDT", "ExecMainStartTimestampMonotonic": "4575748", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:56:01 EDT", "InactiveExitTimestampMonotonic": "4575909", "InvocationID": "6bf8c9ef32e944d7968b812ddd39331d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14640", "LimitNPROCSoft": "14640", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "874", "MemoryAccounting": "yes", "MemoryCurrent": "22368256", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "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", "StandardInputData": "", "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 12:56:02 EDT", "StateChangeTimestampMonotonic": "4959190", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "23424", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:56:02 EDT", "WatchdogTimestampMonotonic": "4959187", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:59:01 +0000 (0:00:00.535) 0:02:54.591 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.111841", "end": "2022-08-03 12:59:01.716927", "rc": 0, "start": "2022-08-03 12:59:01.605086" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:59:01 +0000 (0:00:00.507) 0:02:55.098 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:59:01 +0000 (0:00:00.036) 0:02:55.135 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:59:01 +0000 (0:00:00.035) 0:02:55.170 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:59:01 +0000 (0:00:00.035) 0:02:55.206 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:59:02 +0000 (0:00:00.405) 0:02:55.611 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:59:03 +0000 (0:00:01.335) 0:02:56.947 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:59:03 +0000 (0:00:00.074) 0:02:57.022 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ActiveEnterTimestampMonotonic": "173807112", "ActiveExitTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ActiveExitTimestampMonotonic": "173119675", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:50 EDT", "AssertTimestampMonotonic": "173805718", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ConditionTimestampMonotonic": "173805718", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14086", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ExecMainStartTimestampMonotonic": "173807065", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:50 EDT] ; stop_time=[n/a] ; pid=14086 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:58:50 EDT", "InactiveEnterTimestampMonotonic": "173804477", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:50 EDT", "InactiveExitTimestampMonotonic": "173807112", "InvocationID": "44f9184e2ad94ea68fbf615dd220158a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14086", "MemoryAccounting": "yes", "MemoryCurrent": "650280960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:58:50 EDT", "StateChangeTimestampMonotonic": "173807112", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:58:50 EDT", "WatchdogTimestampMonotonic": "173807111", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:59:04 +0000 (0:00:00.542) 0:02:57.564 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003172", "end": "2022-08-03 12:59:04.603367", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:59:04.600195" } STDOUT: tcpport = 1432 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:59:04 +0000 (0:00:00.420) 0:02:57.984 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002671", "end": "2022-08-03 12:59:05.008028", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:59:05.005357" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:59:05 +0000 (0:00:00.403) 0:02:58.388 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1432 -U sa -P p@55w0rD11" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:59:05 +0000 (0:00:00.074) 0:02:58.463 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1432", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023812", "end": "2022-08-03 12:59:05.516741", "rc": 1, "start": "2022-08-03 12:59:05.492929" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:59:05 +0000 (0:00:00.434) 0:02:58.897 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ActiveEnterTimestampMonotonic": "173807112", "ActiveExitTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ActiveExitTimestampMonotonic": "173119675", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:50 EDT", "AssertTimestampMonotonic": "173805718", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ConditionTimestampMonotonic": "173805718", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14086", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ExecMainStartTimestampMonotonic": "173807065", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:50 EDT] ; stop_time=[n/a] ; pid=14086 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:58:50 EDT", "InactiveEnterTimestampMonotonic": "173804477", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:50 EDT", "InactiveExitTimestampMonotonic": "173807112", "InvocationID": "44f9184e2ad94ea68fbf615dd220158a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "14086", "MemoryAccounting": "yes", "MemoryCurrent": "651186176", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:58:50 EDT", "StateChangeTimestampMonotonic": "173807112", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:58:50 EDT", "WatchdogTimestampMonotonic": "173807111", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:59:06 +0000 (0:00:00.808) 0:02:59.706 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.656776", "end": "2022-08-03 12:59:10.480035", "rc": 0, "start": "2022-08-03 12:59:06.823259" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:59:10 +0000 (0:00:04.154) 0:03:03.860 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.044) 0:03:03.904 ****** ok: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.049) 0:03:03.954 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.046) 0:03:04.001 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.043) 0:03:04.044 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.041) 0:03:04.085 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.047) 0:03:04.133 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.049) 0:03:04.182 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:59:10 +0000 (0:00:00.052) 0:03:04.235 ****** included: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:59:11 +0000 (0:00:00.065) 0:03:04.300 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002528", "end": "2022-08-03 12:59:11.400187", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:59:11.397659" } STDOUT: tcpport = 1432 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:59:11 +0000 (0:00:00.480) 0:03:04.781 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.112677", "end": "2022-08-03 12:59:12.017061", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:59:11.904384" } 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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.631) 0:03:05.413 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.123) 0:03:05.537 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.050) 0:03:05.587 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.039) 0:03:05.627 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.043) 0:03:05.671 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.040) 0:03:05.712 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.040) 0:03:05.752 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.042) 0:03:05.795 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.040) 0:03:05.836 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.048) 0:03:05.884 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.043) 0:03:05.928 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.042) 0:03:05.970 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.041) 0:03:06.012 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.043) 0:03:06.056 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.047) 0:03:06.103 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.040) 0:03:06.143 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:59:12 +0000 (0:00:00.039) 0:03:06.183 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.105) 0:03:06.289 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.052) 0:03:06.341 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.054) 0:03:06.395 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.051) 0:03:06.447 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.048) 0:03:06.495 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.050) 0:03:06.546 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.050) 0:03:06.597 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.050) 0:03:06.647 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.062) 0:03:06.710 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.049) 0:03:06.759 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.052) 0:03:06.811 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.064) 0:03:06.876 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.054) 0:03:06.930 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.048) 0:03:06.979 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.054) 0:03:07.034 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.052) 0:03:07.086 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.049) 0:03:07.135 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:59:13 +0000 (0:00:00.126) 0:03:07.262 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.057) 0:03:07.320 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.051) 0:03:07.371 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.055) 0:03:07.427 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.052) 0:03:07.479 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.051) 0:03:07.530 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.058) 0:03:07.589 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.055) 0:03:07.644 ****** skipping: [/cache/rhel-8-y.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/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.055) 0:03:07.700 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.050) 0:03:07.750 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.046) 0:03:07.797 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.051) 0:03:07.849 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.052) 0:03:07.901 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.053) 0:03:07.955 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.056) 0:03:08.011 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.058) 0:03:08.070 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.139) 0:03:08.210 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:59:14 +0000 (0:00:00.049) 0:03:08.259 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.057) 0:03:08.317 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.051) 0:03:08.369 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.469) 0:03:08.838 ****** skipping: [/cache/rhel-8-y.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/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.041) 0:03:08.880 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:81 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.071) 0:03:08.951 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:59:15 +0000 (0:00:00.000) 0:03:08.951 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ActiveEnterTimestampMonotonic": "173807112", "ActiveExitTimestamp": "Wed 2022-08-03 12:59:06 EDT", "ActiveExitTimestampMonotonic": "189071427", "ActiveState": "inactive", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:58:50 EDT", "AssertTimestampMonotonic": "173805718", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ConditionTimestampMonotonic": "173805718", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:59:06 EDT", "ExecMainExitTimestampMonotonic": "189245280", "ExecMainPID": "14086", "ExecMainStartTimestamp": "Wed 2022-08-03 12:58:50 EDT", "ExecMainStartTimestampMonotonic": "173807065", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:58:50 EDT] ; stop_time=[Wed 2022-08-03 12:59:06 EDT] ; pid=14086 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:59:06 EDT", "InactiveEnterTimestampMonotonic": "189245374", "InactiveExitTimestamp": "Wed 2022-08-03 12:58:50 EDT", "InactiveExitTimestampMonotonic": "173807112", "InvocationID": "44f9184e2ad94ea68fbf615dd220158a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:59:06 EDT", "StateChangeTimestampMonotonic": "189245374", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:84 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.577) 0:03:09.529 ****** included: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.270) 0:03:09.800 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.041) 0:03:09.841 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.040) 0:03:09.882 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.037) 0:03:09.920 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.039) 0:03:09.959 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.043) 0:03:10.003 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:59:16 +0000 (0:00:00.068) 0:03:10.072 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:59:16 EDT", "ActiveEnterTimestampMonotonic": "199067801", "ActiveExitTimestamp": "Wed 2022-08-03 12:59:06 EDT", "ActiveExitTimestampMonotonic": "189071427", "ActiveState": "active", "After": "basic.target auditd.service system.slice network.target sysinit.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:59:16 EDT", "AssertTimestampMonotonic": "199066684", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:59:16 EDT", "ConditionTimestampMonotonic": "199066684", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "16511", "ExecMainStartTimestamp": "Wed 2022-08-03 12:59:16 EDT", "ExecMainStartTimestampMonotonic": "199067766", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:59:16 EDT] ; stop_time=[n/a] ; pid=16511 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "988", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:59:06 EDT", "InactiveEnterTimestampMonotonic": "189245374", "InactiveExitTimestamp": "Wed 2022-08-03 12:59:16 EDT", "InactiveExitTimestampMonotonic": "199067801", "InvocationID": "a37e0fa5b2414d448cc450a432339522", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "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": "14640", "LimitSIGPENDINGSoft": "14640", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "16511", "MemoryAccounting": "yes", "MemoryCurrent": "145911808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "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", "StandardInputData": "", "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 12:59:16 EDT", "StateChangeTimestampMonotonic": "199067801", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "44", "TasksMax": "infinity", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "990", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:59:16 EDT", "WatchdogTimestampMonotonic": "199067799", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.551) 0:03:10.623 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002866", "end": "2022-08-03 12:59:17.662510", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:59:17.659644" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:59:17 +0000 (0:00:00.423) 0:03:11.047 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2022-08-03 12:59:18.192057", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:59:18.188778" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:59:18 +0000 (0:00:00.523) 0:03:11.570 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:59:18 +0000 (0:00:00.097) 0:03:11.667 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 988, "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": 7316, "state": "file", "uid": 990 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:59:21 +0000 (0:00:03.432) 0:03:15.099 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028291", "end": "2022-08-03 12:59:22.166600", "rc": 0, "start": "2022-08-03 12:59:22.138309" } 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 (Red Hat Enterprise Linux 8.7 Beta (Ootpa)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.447) 0:03:15.547 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.052) 0:03:15.600 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.039) 0:03:15.639 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.043) 0:03:15.683 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.043) 0:03:15.727 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.039) 0:03:15.767 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.042) 0:03:15.809 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.041) 0:03:15.851 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.040) 0:03:15.891 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.116) 0:03:16.007 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.041) 0:03:16.049 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.041) 0:03:16.090 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.043) 0:03:16.133 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.042) 0:03:16.176 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.045) 0:03:16.221 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmpixyi654g/tests/mssql/tests_password_2019.yml:89 Wednesday 03 August 2022 16:59:22 +0000 (0:00:00.044) 0:03:16.265 ****** included: /tmp/tmpixyi654g/tests/mssql/tasks/check_header.yml for /cache/rhel-8-y.qcow2.snap TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmpixyi654g/tests/mssql/tasks/check_header.yml:4 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.214) 0:03:16.479 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002579", "end": "2022-08-03 12:59:23.559227", "rc": 0, "start": "2022-08-03 12:59:23.556648" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tcpport = 1433 ipaddress = 127.0.0.1 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=203 changed=30 unreachable=0 failed=0 skipped=529 rescued=0 ignored=3 Wednesday 03 August 2022 16:59:23 +0000 (0:00:00.482) 0:03:16.961 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the mssql-server package ------ 36.48s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Change the password of the sa user ---- 7.96s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.19s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 fedora.linux_system_roles.mssql : Gather system services facts ---------- 4.31s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Change the password of the sa user ---- 3.95s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wait for mssql-server to start and prepare for client connections ------- 3.52s /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:65 --------------------- Wait for mssql-server to start and prepare for client connections ------- 3.43s /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:65 --------------------- Wait for mssql-server to start and prepare for client connections ------- 3.43s /tmp/tmpixyi654g/tests/mssql/tasks/verify_settings.yml:65 --------------------- fedora.linux_system_roles.mssql : Gather system services facts ---------- 2.90s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Ensure the mssql-server package ------- 2.79s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 2.71s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 2.70s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.53s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 2.17s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 1.81s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.76s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.68s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.68s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.66s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started --- 1.63s /tmp/tmpf_49pz1i/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3