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/tmpnbi8pp9n 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_tls_2019.yml *************************************************** 1 plays in /tmp/tmprd71dlcu/tests/tests_tls_2019.yml PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:3 Wednesday 03 August 2022 15:42:09 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Ensure the openssl package] ********************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:13 Wednesday 03 August 2022 15:42:10 +0000 (0:00:01.371) 0:00:01.384 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:19 Wednesday 03 August 2022 15:42:12 +0000 (0:00:02.393) 0:00:03.778 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.63gf65sn", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create a tempfile for a private key on hosts] **************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:25 Wednesday 03 August 2022 15:42:13 +0000 (0:00:00.528) 0:00:04.306 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.6f3zujs3", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:31 Wednesday 03 August 2022 15:42:13 +0000 (0:00:00.393) 0:00:04.699 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.0.2.15", "-out", "/tmp/ansible.63gf65sn", "-keyout", "/tmp/ansible.6f3zujs3", "-days", "365" ], "delta": "0:00:00.191192", "end": "2022-08-03 15:42:13.371072", "rc": 0, "start": "2022-08-03 15:42:13.179880" } STDERR: .......+..+.+...+.....+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.......................+......+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....................+...+......+...+..+...+......+..........+......+...+...+.....+.........+.+.....+.........+....+..+.........+....+.....+.........+...+....+.....+.+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ....+........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.....................+........+.+..+.......+......+...............+............+..............+......+....+.........+..+...+....+..+....+...........+.....................+.......+..+....+...........+.+.................+...+...+.......+...+.....+..........+..............+.............+............+......+......+.....+.+........+....+........+....+...+...+...+.................+.......+..+.........+....+...+............+..+.+..+.......+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:40 Wednesday 03 August 2022 15:42:14 +0000 (0:00:00.712) 0:00:05.412 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.63gf65sn) => { "ansible_loop_var": "item", "changed": true, "checksum": "1d97781e3cbe9c1a87cf41fc77f1cdd118c0a24b", "dest": "/tmp/ansible.63gf65sn", "item": "/tmp/ansible.63gf65sn", "md5sum": "98252a7f82b9427091353aad73812f75", "remote_checksum": "1d97781e3cbe9c1a87cf41fc77f1cdd118c0a24b", "remote_md5sum": null } changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.6f3zujs3) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc456fa83c289cc584bc92fac03fa0bdc95601b9", "dest": "/tmp/ansible.6f3zujs3", "item": "/tmp/ansible.6f3zujs3", "md5sum": "6bbd7e56bb477b6b0341c686d9f82514", "remote_checksum": "fc456fa83c289cc584bc92fac03fa0bdc95601b9", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:52 Wednesday 03 August 2022 15:42:15 +0000 (0:00:01.030) 0:00:06.442 ****** changed: [/cache/fedora-36.qcow2.snap -> localhost] => { "changed": true, "checksum": "fc456fa83c289cc584bc92fac03fa0bdc95601b9", "dest": "./ansible.6f3zujs3", "gid": 0, "group": "root", "md5sum": "6bbd7e56bb477b6b0341c686d9f82514", "mode": "0600", "owner": "root", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1659541335.5326052-35821-59935390088216/source", "state": "file", "uid": 0 } TASK [Run role] **************************************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:62 Wednesday 03 August 2022 15:42:15 +0000 (0:00:00.496) 0:00:06.939 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.110) 0:00:07.050 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.030) 0:00:07.081 ****** ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.620) 0:00:07.701 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.057) 0:00:07.758 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.030) 0:00:07.788 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.028) 0:00:07.817 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.024) 0:00:07.842 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.025) 0:00:07.867 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:42:16 +0000 (0:00:00.046) 0:00:07.913 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.044) 0:00:07.958 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.035) 0:00:07.993 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.037) 0:00:08.031 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.034) 0:00:08.065 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:42:17 +0000 (0:00:00.034) 0:00:08.100 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:42:18 +0000 (0:00:01.010) 0:00:09.110 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:42:18 +0000 (0:00:00.085) 0:00:09.195 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:42:19 +0000 (0:00:00.813) 0:00:10.009 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:42:19 +0000 (0:00:00.047) 0:00:10.056 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:42:19 +0000 (0:00:00.050) 0:00:10.106 ****** changed: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:42:19 +0000 (0:00:00.569) 0:00:10.675 ****** changed: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:42:56 +0000 (0:00:37.118) 0:00:47.794 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:42:58 +0000 (0:00:01.887) 0:00:49.681 ****** ok: [/cache/fedora-36.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.006577", "end": "2022-08-03 15:42:58.054198", "rc": 0, "start": "2022-08-03 15:42:58.047621" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:42:59 +0000 (0:00:00.424) 0:00:50.106 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:43:01 +0000 (0:00:02.356) 0:00:52.463 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:43:01 +0000 (0:00:00.070) 0:00:52.534 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.979126", "end": "2022-08-03 15:43:05.929014", "rc": 0, "start": "2022-08-03 15:43:00.949888" } 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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:43:07 +0000 (0:00:05.459) 0:00:57.993 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: hdparm-9.63-1.fc36.x86_64", "Installed: python3-gobject-base-3.42.1-1.fc36.x86_64", "Installed: python3-gobject-base-noarch-3.42.1-1.fc36.noarch", "Installed: python3-linux-procfs-0.6.3-3.fc35.noarch", "Installed: python3-pyudev-0.22.0-8.fc36.noarch", "Installed: ethtool-2:5.18-1.fc36.x86_64", "Installed: tuned-2.18.0-3.20220317gite1045f2d.fc36.noarch", "Installed: kernel-tools-libs-5.18.13-200.fc36.x86_64", "Installed: python3-perf-5.18.13-200.fc36.x86_64", "Installed: virt-what-1.24-1.fc36.x86_64", "Installed: tuned-profiles-mssql-2.18.0-3.20220317gite1045f2d.fc36.noarch", "Installed: kernel-tools-5.18.13-200.fc36.x86_64", "Installed: gobject-introspection-1.72.0-1.fc36.x86_64" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:43:10 +0000 (0:00:03.532) 0:01:01.525 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.socket sysinit.target dbus-broker.service network.target systemd-journald.socket basic.target systemd-sysctl.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target auto-cpufreq.service tlp.service power-profiles-daemon.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus-broker.service dbus.socket polkit.service sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4657", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:43:11 +0000 (0:00:01.365) 0:01:02.891 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112330", "end": "2022-08-03 15:43:11.372491", "rc": 0, "start": "2022-08-03 15:43:11.260161" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:43:12 +0000 (0:00:00.541) 0:01:03.432 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.122750", "end": "2022-08-03 15:43:12.991035", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:11.868285" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:43:14 +0000 (0:00:01.617) 0:01:05.050 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:43:14 +0000 (0:00:00.039) 0:01:05.090 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:43:14 +0000 (0:00:00.037) 0:01:05.127 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:43:14 +0000 (0:00:00.436) 0:01:05.564 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: unixODBC-2.3.9-5.fc36.x86_64", "Installed: unixODBC-devel-2.3.9-5.fc36.x86_64", "Installed: mssql-tools-17.10.1.1-1.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:43:17 +0000 (0:00:02.507) 0:01:08.071 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.041) 0:01:08.113 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.043) 0:01:08.156 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.040) 0:01:08.197 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.041) 0:01:08.239 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.042) 0:01:08.281 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.047) 0:01:08.328 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.040) 0:01:08.369 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.043) 0:01:08.412 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.040) 0:01:08.453 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.039) 0:01:08.492 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.055) 0:01:08.548 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.055) 0:01:08.603 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:43:17 +0000 (0:00:00.059) 0:01:08.662 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004040", "end": "2022-08-03 15:43:17.054627", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:17.050587" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:43:18 +0000 (0:00:00.478) 0:01:09.141 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.111052", "end": "2022-08-03 15:43:17.649016", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:17.537964" } 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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:43:18 +0000 (0:00:00.577) 0:01:09.718 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:43:18 +0000 (0:00:00.035) 0:01:09.754 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:43:18 +0000 (0:00:00.049) 0:01:09.804 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:43:18 +0000 (0:00:00.041) 0:01:09.845 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:43:18 +0000 (0:00:00.039) 0:01:09.885 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:43:18 +0000 (0:00:00.040) 0:01:09.926 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:43:19 +0000 (0:00:00.039) 0:01:09.966 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:43:19 +0000 (0:00:00.038) 0:01:10.004 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:43:19 +0000 (0:00:00.039) 0:01:10.044 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:43:19 +0000 (0:00:00.043) 0:01:10.088 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:43:19 +0000 (0:00:00.041) 0:01:10.129 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:43:19 +0000 (0:00:00.039) 0:01:10.169 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:43:19 +0000 (0:00:00.083) 0:01:10.252 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.63gf65sn) => { "ansible_loop_var": "item", "changed": true, "checksum": "1d97781e3cbe9c1a87cf41fc77f1cdd118c0a24b", "dest": "/etc/pki/tls/certs/ansible.63gf65sn", "gid": 991, "group": "mssql", "item": "/tmp/ansible.63gf65sn", "md5sum": "98252a7f82b9427091353aad73812f75", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1115, "src": "/root/.ansible/tmp/ansible-tmp-1659541399.3919973-36257-30015272507148/source", "state": "file", "uid": 991 } changed: [/cache/fedora-36.qcow2.snap] => (item=ansible.6f3zujs3) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc456fa83c289cc584bc92fac03fa0bdc95601b9", "dest": "/etc/pki/tls/private/ansible.6f3zujs3", "gid": 991, "group": "mssql", "item": "ansible.6f3zujs3", "md5sum": "6bbd7e56bb477b6b0341c686d9f82514", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1659541400.1200197-36257-258436300928034/source", "state": "file", "uid": 991 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:43:20 +0000 (0:00:01.525) 0:01:11.778 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlscert setting] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:43:20 +0000 (0:00:00.066) 0:01:11.845 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003543", "end": "2022-08-03 15:43:20.229725", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:20.226182" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tlscert setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:43:21 +0000 (0:00:00.442) 0:01:12.287 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.63gf65sn" ], "delta": "0:00:00.104432", "end": "2022-08-03 15:43:20.786074", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:20.681642" } 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 tlscert setting] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:43:21 +0000 (0:00:00.562) 0:01:12.849 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:43:21 +0000 (0:00:00.052) 0:01:12.902 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlskey setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:43:22 +0000 (0:00:00.106) 0:01:13.008 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003886", "end": "2022-08-03 15:43:21.413591", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:21.409705" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tlskey setting] ********* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:43:22 +0000 (0:00:00.463) 0:01:13.471 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.6f3zujs3" ], "delta": "0:00:00.100949", "end": "2022-08-03 15:43:21.971465", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:21.870516" } 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 tlskey setting] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:43:23 +0000 (0:00:00.562) 0:01:14.034 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:43:23 +0000 (0:00:00.057) 0:01:14.091 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlsprotocols setting] ********* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:43:23 +0000 (0:00:00.069) 0:01:14.161 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003489", "end": "2022-08-03 15:43:22.543234", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:22.539745" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tlsprotocols setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:43:23 +0000 (0:00:00.438) 0:01:14.599 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.100192", "end": "2022-08-03 15:43:23.087853", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:22.987661" } 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 tlsprotocols setting] ******* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:43:24 +0000 (0:00:00.551) 0:01:15.151 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:43:24 +0000 (0:00:00.041) 0:01:15.193 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network forceencryption setting] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:43:24 +0000 (0:00:00.081) 0:01:15.275 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003768", "end": "2022-08-03 15:43:23.669615", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:23.665847" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network forceencryption setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:43:24 +0000 (0:00:00.451) 0:01:15.726 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.109123", "end": "2022-08-03 15:43:24.243512", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:24.134389" } 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 forceencryption setting] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.592) 0:01:16.319 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.042) 0:01:16.361 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.047) 0:01:16.408 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.049) 0:01:16.458 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.046) 0:01:16.505 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.091) 0:01:16.596 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.047) 0:01:16.644 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.047) 0:01:16.691 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.048) 0:01:16.739 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.053) 0:01:16.793 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.055) 0:01:16.848 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:43:25 +0000 (0:00:00.049) 0:01:16.898 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.053) 0:01:16.951 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.045) 0:01:16.996 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.048) 0:01:17.045 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.050) 0:01:17.096 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.051) 0:01:17.147 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.050) 0:01:17.197 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.054) 0:01:17.251 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.052) 0:01:17.303 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.048) 0:01:17.352 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.091) 0:01:17.443 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.049) 0:01:17.493 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.051) 0:01:17.545 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.048) 0:01:17.593 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.047) 0:01:17.640 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.058) 0:01:17.699 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.050) 0:01:17.750 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.051) 0:01:17.801 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.051) 0:01:17.853 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:43:26 +0000 (0:00:00.049) 0:01:17.903 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.050) 0:01:17.953 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.046) 0:01:17.999 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.053) 0:01:18.053 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.054) 0:01:18.107 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.053) 0:01:18.161 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.049) 0:01:18.210 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.088) 0:01:18.298 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.586) 0:01:18.884 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 15:43:27 +0000 (0:00:00.039) 0:01:18.924 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:71 Wednesday 03 August 2022 15:43:28 +0000 (0:00:00.074) 0:01:18.998 ****** changed: [/cache/fedora-36.qcow2.snap -> localhost] => { "changed": true, "path": "ansible.6f3zujs3", "state": "absent" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:78 Wednesday 03 August 2022 15:43:28 +0000 (0:00:00.384) 0:01:19.382 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 15:43:28 +0000 (0:00:00.000) 0:01:19.382 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:43:05 UTC", "ActiveEnterTimestampMonotonic": "67288492", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:43:05 UTC", "AssertTimestampMonotonic": "67286400", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5157624000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:43:05 UTC", "ConditionTimestampMonotonic": "67286395", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3125", "ExecMainStartTimestamp": "Wed 2022-08-03 15:43:05 UTC", "ExecMainStartTimestampMonotonic": "67287956", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:43:05 UTC", "InactiveExitTimestampMonotonic": "67288492", "InvocationID": "3729287bd438410ca2507aa28f5d709c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3125", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "646074368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:43:05 UTC", "StateChangeTimestampMonotonic": "67288492", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:81 Wednesday 03 August 2022 15:43:30 +0000 (0:00:01.605) 0:01:20.987 ****** included: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml for /cache/fedora-36.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 15:43:30 +0000 (0:00:00.070) 0:01:21.058 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 15:43:30 +0000 (0:00:00.039) 0:01:21.097 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 15:43:30 +0000 (0:00:00.039) 0:01:21.137 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 15:43:30 +0000 (0:00:00.038) 0:01:21.176 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 15:43:30 +0000 (0:00:00.040) 0:01:21.216 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 15:43:30 +0000 (0:00:00.040) 0:01:21.257 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:43:30 +0000 (0:00:00.080) 0:01:21.337 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ActiveEnterTimestampMonotonic": "90506714", "ActiveExitTimestamp": "Wed 2022-08-03 15:43:27 UTC", "ActiveExitTimestampMonotonic": "89519878", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:43:28 UTC", "AssertTimestampMonotonic": "90503989", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "949106000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ConditionTimestampMonotonic": "90503984", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5916", "ExecMainStartTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ExecMainStartTimestampMonotonic": "90506108", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:43:28 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 15:43:28 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:43:28 UTC", "InactiveEnterTimestampMonotonic": "90495660", "InactiveExitTimestamp": "Wed 2022-08-03 15:43:28 UTC", "InactiveExitTimestampMonotonic": "90506714", "InvocationID": "825ee9fbf7e842669cc56b3c0bcaa4ee", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5916", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "68608000", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:43:28 UTC", "StateChangeTimestampMonotonic": "90506714", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "21", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:43:31 +0000 (0:00:00.616) 0:01:21.953 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004117", "end": "2022-08-03 15:43:30.407123", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:30.403006" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:43:31 +0000 (0:00:00.513) 0:01:22.467 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004320", "end": "2022-08-03 15:43:30.852305", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:30.847985" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:43:31 +0000 (0:00:00.444) 0:01:22.911 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 15:43:32 +0000 (0:00:00.090) 0:01:23.001 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 991, "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": 6995, "state": "file", "uid": 991 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 15:43:35 +0000 (0:00:03.583) 0:01:26.584 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032008", "end": "2022-08-03 15:43:34.991007", "rc": 0, "start": "2022-08-03 15:43:34.958999" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.464) 0:01:27.048 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.054) 0:01:27.103 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.041) 0:01:27.144 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.045) 0:01:27.190 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.040) 0:01:27.230 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.039) 0:01:27.269 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.043) 0:01:27.313 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.070) 0:01:27.383 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.038) 0:01:27.421 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.038) 0:01:27.460 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.037) 0:01:27.497 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.036) 0:01:27.533 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlscert setting] ************************************ task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:43:36 +0000 (0:00:00.067) 0:01:27.601 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005482", "end": "2022-08-03 15:43:35.987515", "rc": 0, "start": "2022-08-03 15:43:35.982033" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.63gf65sn TASK [Verify the tlscert setting when it is type str] ************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.444) 0:01:28.046 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting when it is type bool] ************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.055) 0:01:28.101 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.63gf65sn] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.067) 0:01:28.169 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.041) 0:01:28.211 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlskey setting] ************************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.067) 0:01:28.278 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005508", "end": "2022-08-03 15:43:36.643805", "rc": 0, "start": "2022-08-03 15:43:36.638297" } STDOUT: tlskey = /etc/pki/tls/private/ansible.6f3zujs3 TASK [Verify the tlskey setting when it is type str] *************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.457) 0:01:28.735 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting when it is type bool] ************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.046) 0:01:28.782 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.6f3zujs3] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.048) 0:01:28.830 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.042) 0:01:28.872 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlsprotocols setting] ******************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:43:37 +0000 (0:00:00.071) 0:01:28.944 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005628", "end": "2022-08-03 15:43:37.337803", "rc": 0, "start": "2022-08-03 15:43:37.332175" } STDOUT: tlsprotocols = 1.2 TASK [Verify the tlsprotocols setting when it is type str] ********************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:43:38 +0000 (0:00:00.454) 0:01:29.398 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the tlsprotocols setting when it is type bool] ******************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:43:38 +0000 (0:00:00.060) 0:01:29.459 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:43:38 +0000 (0:00:00.045) 0:01:29.505 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 15:43:38 +0000 (0:00:00.041) 0:01:29.546 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the forceencryption setting] **************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:43:38 +0000 (0:00:00.069) 0:01:29.615 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005432", "end": "2022-08-03 15:43:37.996375", "rc": 0, "start": "2022-08-03 15:43:37.990943" } STDOUT: forceencryption = 1 TASK [Verify the forceencryption setting when it is type str] ****************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:43:39 +0000 (0:00:00.475) 0:01:30.090 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting when it is type bool] ***************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:43:39 +0000 (0:00:00.046) 0:01:30.136 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:43:39 +0000 (0:00:00.061) 0:01:30.198 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:88 Wednesday 03 August 2022 15:43:39 +0000 (0:00:00.041) 0:01:30.239 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:43:39 +0000 (0:00:00.126) 0:01:30.366 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:43:39 +0000 (0:00:00.062) 0:01:30.428 ****** ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.622) 0:01:31.051 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.067) 0:01:31.118 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.134) 0:01:31.253 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.046) 0:01:31.299 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.042) 0:01:31.342 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.041) 0:01:31.384 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.050) 0:01:31.434 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.048) 0:01:31.483 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.034) 0:01:31.518 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.037) 0:01:31.555 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.037) 0:01:31.593 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:43:40 +0000 (0:00:00.034) 0:01:31.628 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:43:41 +0000 (0:00:00.787) 0:01:32.416 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:43:41 +0000 (0:00:00.092) 0:01:32.508 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:43:42 +0000 (0:00:00.704) 0:01:33.212 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:43:42 +0000 (0:00:00.040) 0:01:33.253 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:43:42 +0000 (0:00:00.039) 0:01:33.293 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:43:42 +0000 (0:00:00.048) 0:01:33.341 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:43:44 +0000 (0:00:01.956) 0:01:35.297 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:43:46 +0000 (0:00:01.873) 0:01:37.171 ****** ok: [/cache/fedora-36.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.006876", "end": "2022-08-03 15:43:45.557020", "rc": 0, "start": "2022-08-03 15:43:45.550144" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:43:46 +0000 (0:00:00.445) 0:01:37.617 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:43:48 +0000 (0:00:02.185) 0:01:39.802 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:43:48 +0000 (0:00:00.087) 0:01:39.890 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:43:48 +0000 (0:00:00.048) 0:01:39.938 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:43:50 +0000 (0:00:01.873) 0:01:41.811 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:43:10 UTC", "ActiveEnterTimestampMonotonic": "72408944", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus-broker.service basic.target systemd-sysctl.service network.target system.slice systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:43:10 UTC", "AssertTimestampMonotonic": "72124235", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "965655000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:43:10 UTC", "ConditionTimestampMonotonic": "72124234", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service cpupower.service power-profiles-daemon.service shutdown.target auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3621", "ExecMainStartTimestamp": "Wed 2022-08-03 15:43:10 UTC", "ExecMainStartTimestampMonotonic": "72125626", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:43:10 UTC] ; stop_time=[n/a] ; pid=3621 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Wed 2022-08-03 15:43:10 UTC] ; stop_time=[n/a] ; pid=3621 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:43:10 UTC", "InactiveExitTimestampMonotonic": "72126035", "InvocationID": "08cb64d4542b4d64854683a0ed4db7c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3621", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17719296", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target dbus-broker.service polkit.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:43:10 UTC", "StateChangeTimestampMonotonic": "72408944", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4657", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:43:51 +0000 (0:00:00.601) 0:01:42.413 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.100001", "end": "2022-08-03 15:43:50.885837", "rc": 0, "start": "2022-08-03 15:43:50.785836" } 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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:43:52 +0000 (0:00:00.535) 0:01:42.948 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:43:52 +0000 (0:00:00.072) 0:01:43.021 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:43:52 +0000 (0:00:00.038) 0:01:43.059 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:43:52 +0000 (0:00:00.039) 0:01:43.098 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:43:52 +0000 (0:00:00.437) 0:01:43.535 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:43:54 +0000 (0:00:01.828) 0:01:45.363 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:43:54 +0000 (0:00:00.068) 0:01:45.432 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ActiveEnterTimestampMonotonic": "90506714", "ActiveExitTimestamp": "Wed 2022-08-03 15:43:27 UTC", "ActiveExitTimestampMonotonic": "89519878", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:43:28 UTC", "AssertTimestampMonotonic": "90503989", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5500040000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ConditionTimestampMonotonic": "90503984", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5916", "ExecMainStartTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ExecMainStartTimestampMonotonic": "90506108", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:43:28 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 15:43:28 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:43:28 UTC", "InactiveEnterTimestampMonotonic": "90495660", "InactiveExitTimestamp": "Wed 2022-08-03 15:43:28 UTC", "InactiveExitTimestampMonotonic": "90506714", "InvocationID": "825ee9fbf7e842669cc56b3c0bcaa4ee", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5916", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "656183296", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:43:28 UTC", "StateChangeTimestampMonotonic": "90506714", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "140", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:43:55 +0000 (0:00:00.616) 0:01:46.048 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004083", "end": "2022-08-03 15:43:54.429431", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:54.425348" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:43:55 +0000 (0:00:00.452) 0:01:46.500 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003686", "end": "2022-08-03 15:43:54.887031", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:54.883345" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:43:55 +0000 (0:00:00.445) 0:01:46.946 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:43:56 +0000 (0:00:00.063) 0:01:47.009 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031428", "end": "2022-08-03 15:43:55.430941", "rc": 0, "start": "2022-08-03 15:43:55.399513" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:43:56 +0000 (0:00:00.483) 0:01:47.493 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:43:56 +0000 (0:00:00.043) 0:01:47.537 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:43:56 +0000 (0:00:00.048) 0:01:47.586 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:43:56 +0000 (0:00:00.041) 0:01:47.627 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:43:56 +0000 (0:00:00.046) 0:01:47.673 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.006292", "end": "2022-08-03 15:43:56.061978", "rc": 0, "start": "2022-08-03 15:43:56.055686" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.450) 0:01:48.124 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.052) 0:01:48.176 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.048) 0:01:48.224 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.041) 0:01:48.266 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.041) 0:01:48.307 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.039) 0:01:48.347 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.061) 0:01:48.409 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003854", "end": "2022-08-03 15:43:56.806668", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:43:56.802814" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:43:57 +0000 (0:00:00.460) 0:01:48.869 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.112672", "end": "2022-08-03 15:43:57.368279", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:57.255607" } 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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.571) 0:01:49.441 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.079) 0:01:49.520 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.038) 0:01:49.558 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.043) 0:01:49.601 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.041) 0:01:49.643 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.041) 0:01:49.684 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.042) 0:01:49.727 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.041) 0:01:49.769 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.040) 0:01:49.810 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.041) 0:01:49.852 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.040) 0:01:49.892 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:43:58 +0000 (0:00:00.039) 0:01:49.932 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:43:59 +0000 (0:00:00.040) 0:01:49.973 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.63gf65sn) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.63gf65sn", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ansible.6f3zujs3) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.6f3zujs3", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:43:59 +0000 (0:00:00.055) 0:01:50.028 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlscert setting] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:43:59 +0000 (0:00:00.105) 0:01:50.133 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003649", "end": "2022-08-03 15:43:58.514282", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:58.510633" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.63gf65sn TASK [linux-system-roles.mssql : Configure the network tlscert setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:43:59 +0000 (0:00:00.439) 0:01:50.573 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tlscert setting] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:43:59 +0000 (0:00:00.049) 0:01:50.623 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "tlscert" ], "delta": "0:00:00.100489", "end": "2022-08-03 15:43:59.096989", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:58.996500" } 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 : Configure the tlskey setting] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:44:00 +0000 (0:00:00.539) 0:01:51.163 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlskey setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:00 +0000 (0:00:00.074) 0:01:51.238 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003692", "end": "2022-08-03 15:43:59.629683", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:43:59.625991" } STDOUT: tlskey = /etc/pki/tls/private/ansible.6f3zujs3 TASK [linux-system-roles.mssql : Configure the network tlskey setting] ********* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:00 +0000 (0:00:00.460) 0:01:51.698 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tlskey setting] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:00 +0000 (0:00:00.051) 0:01:51.750 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "tlskey" ], "delta": "0:00:00.099279", "end": "2022-08-03 15:44:00.232840", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:00.133561" } 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 : Configure the tlsprotocols setting] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:44:01 +0000 (0:00:00.563) 0:01:52.314 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlsprotocols setting] ********* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:01 +0000 (0:00:00.071) 0:01:52.386 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003671", "end": "2022-08-03 15:44:00.778909", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:00.775238" } STDOUT: tlsprotocols = 1.2 TASK [linux-system-roles.mssql : Configure the network tlsprotocols setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:01 +0000 (0:00:00.454) 0:01:52.840 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tlsprotocols setting] ******* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:01 +0000 (0:00:00.051) 0:01:52.892 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "tlsprotocols" ], "delta": "0:00:00.096347", "end": "2022-08-03 15:44:01.370582", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:01.274235" } 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 : Configure the forceencryption setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:44:02 +0000 (0:00:00.544) 0:01:53.436 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network forceencryption setting] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:02 +0000 (0:00:00.073) 0:01:53.510 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003676", "end": "2022-08-03 15:44:01.887822", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:01.884146" } STDOUT: forceencryption = 1 TASK [linux-system-roles.mssql : Configure the network forceencryption setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.442) 0:01:53.953 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network forceencryption setting] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.092) 0:01:54.045 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "forceencryption" ], "delta": "0:00:00.114899", "end": "2022-08-03 15:44:02.558438", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:02.443539" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.583) 0:01:54.628 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.040) 0:01:54.668 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.040) 0:01:54.708 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.040) 0:01:54.749 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.039) 0:01:54.789 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.037) 0:01:54.827 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.039) 0:01:54.866 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:44:03 +0000 (0:00:00.039) 0:01:54.905 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.045) 0:01:54.951 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.036) 0:01:54.987 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.037) 0:01:55.025 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.092) 0:01:55.117 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.048) 0:01:55.166 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.050) 0:01:55.217 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.040) 0:01:55.257 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.042) 0:01:55.300 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.043) 0:01:55.343 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.047) 0:01:55.391 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.043) 0:01:55.435 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.042) 0:01:55.477 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.036) 0:01:55.514 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.041) 0:01:55.555 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.040) 0:01:55.596 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.039) 0:01:55.636 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.037) 0:01:55.674 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.051) 0:01:55.725 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.095) 0:01:55.821 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.038) 0:01:55.860 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:44:04 +0000 (0:00:00.051) 0:01:55.911 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.040) 0:01:55.952 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.038) 0:01:55.990 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.041) 0:01:56.031 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.044) 0:01:56.075 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.047) 0:01:56.123 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.038) 0:01:56.162 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.040) 0:01:56.202 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.035) 0:01:56.238 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.489) 0:01:56.728 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.042) 0:01:56.770 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:95 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.162) 0:01:56.932 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 15:44:05 +0000 (0:00:00.000) 0:01:56.932 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ActiveEnterTimestampMonotonic": "90506714", "ActiveExitTimestamp": "Wed 2022-08-03 15:43:27 UTC", "ActiveExitTimestampMonotonic": "89519878", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:43:28 UTC", "AssertTimestampMonotonic": "90503989", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5627305000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ConditionTimestampMonotonic": "90503984", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5916", "ExecMainStartTimestamp": "Wed 2022-08-03 15:43:28 UTC", "ExecMainStartTimestampMonotonic": "90506108", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:43:28 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 15:43:28 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:43:28 UTC", "InactiveEnterTimestampMonotonic": "90495660", "InactiveExitTimestamp": "Wed 2022-08-03 15:43:28 UTC", "InactiveExitTimestampMonotonic": "90506714", "InvocationID": "825ee9fbf7e842669cc56b3c0bcaa4ee", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5916", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "657829888", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:43:28 UTC", "StateChangeTimestampMonotonic": "90506714", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:98 Wednesday 03 August 2022 15:44:07 +0000 (0:00:01.753) 0:01:58.686 ****** included: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml for /cache/fedora-36.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 15:44:07 +0000 (0:00:00.114) 0:01:58.801 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 15:44:07 +0000 (0:00:00.095) 0:01:58.896 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 15:44:07 +0000 (0:00:00.040) 0:01:58.937 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 15:44:08 +0000 (0:00:00.044) 0:01:58.981 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 15:44:08 +0000 (0:00:00.045) 0:01:59.026 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 15:44:08 +0000 (0:00:00.043) 0:01:59.070 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:44:08 +0000 (0:00:00.068) 0:01:59.139 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ActiveEnterTimestampMonotonic": "128186279", "ActiveExitTimestamp": "Wed 2022-08-03 15:44:05 UTC", "ActiveExitTimestampMonotonic": "127068796", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:44:06 UTC", "AssertTimestampMonotonic": "128183288", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1076291000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ConditionTimestampMonotonic": "128183279", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10155", "ExecMainStartTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ExecMainStartTimestampMonotonic": "128185680", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:44:06 UTC] ; stop_time=[n/a] ; pid=10155 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 15:44:06 UTC] ; stop_time=[n/a] ; pid=10155 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:44:06 UTC", "InactiveEnterTimestampMonotonic": "128174165", "InactiveExitTimestamp": "Wed 2022-08-03 15:44:06 UTC", "InactiveExitTimestampMonotonic": "128186279", "InvocationID": "a59697d720b342119becf022d138aa13", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10155", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "11173888", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:44:06 UTC", "StateChangeTimestampMonotonic": "128186279", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:44:08 +0000 (0:00:00.621) 0:01:59.761 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.018363", "end": "2022-08-03 15:44:08.164268", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:08.145905" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:44:09 +0000 (0:00:00.462) 0:02:00.223 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.011899", "end": "2022-08-03 15:44:08.622292", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:08.610393" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:44:09 +0000 (0:00:00.503) 0:02:00.727 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 15:44:09 +0000 (0:00:00.087) 0:02:00.814 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6901, "state": "file", "uid": 991 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 15:44:13 +0000 (0:00:03.461) 0:02:04.275 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029486", "end": "2022-08-03 15:44:12.697526", "rc": 0, "start": "2022-08-03 15:44:12.668040" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 15:44:13 +0000 (0:00:00.485) 0:02:04.760 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 15:44:13 +0000 (0:00:00.055) 0:02:04.816 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 15:44:13 +0000 (0:00:00.043) 0:02:04.860 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.094) 0:02:04.954 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.040) 0:02:04.995 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.041) 0:02:05.036 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.040) 0:02:05.077 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.039) 0:02:05.117 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.036) 0:02:05.154 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.037) 0:02:05.192 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.037) 0:02:05.229 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.037) 0:02:05.266 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlscert setting] ************************************ task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.063) 0:02:05.330 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005460", "end": "2022-08-03 15:44:13.718147", "rc": 0, "start": "2022-08-03 15:44:13.712687" } TASK [Verify the tlscert setting when it is type str] ************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.448) 0:02:05.779 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting when it is type bool] ************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.045) 0:02:05.824 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:14 +0000 (0:00:00.090) 0:02:05.915 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 15:44:15 +0000 (0:00:00.043) 0:02:05.958 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlskey setting] ************************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:15 +0000 (0:00:00.075) 0:02:06.033 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005349", "end": "2022-08-03 15:44:14.415172", "rc": 0, "start": "2022-08-03 15:44:14.409823" } TASK [Verify the tlskey setting when it is type str] *************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:15 +0000 (0:00:00.443) 0:02:06.477 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting when it is type bool] ************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:15 +0000 (0:00:00.048) 0:02:06.525 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:15 +0000 (0:00:00.048) 0:02:06.573 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 15:44:15 +0000 (0:00:00.043) 0:02:06.616 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlsprotocols setting] ******************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:15 +0000 (0:00:00.072) 0:02:06.689 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005650", "end": "2022-08-03 15:44:15.068255", "rc": 0, "start": "2022-08-03 15:44:15.062605" } TASK [Verify the tlsprotocols setting when it is type str] ********************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:16 +0000 (0:00:00.446) 0:02:07.135 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the tlsprotocols setting when it is type bool] ******************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:16 +0000 (0:00:00.062) 0:02:07.197 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:16 +0000 (0:00:00.096) 0:02:07.294 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 15:44:16 +0000 (0:00:00.043) 0:02:07.337 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the forceencryption setting] **************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:16 +0000 (0:00:00.075) 0:02:07.412 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005228", "end": "2022-08-03 15:44:15.790803", "rc": 0, "start": "2022-08-03 15:44:15.785575" } TASK [Verify the forceencryption setting when it is type str] ****************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:16 +0000 (0:00:00.436) 0:02:07.849 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting when it is type bool] ***************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:16 +0000 (0:00:00.050) 0:02:07.900 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:17 +0000 (0:00:00.073) 0:02:07.973 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:105 Wednesday 03 August 2022 15:44:17 +0000 (0:00:00.044) 0:02:08.017 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/etc/pki/tls/certs/ansible.63gf65sn) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.63gf65sn", "path": "/etc/pki/tls/certs/ansible.63gf65sn", "state": "absent" } changed: [/cache/fedora-36.qcow2.snap] => (item=/etc/pki/tls/private/ansible.6f3zujs3) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.6f3zujs3", "path": "/etc/pki/tls/private/ansible.6f3zujs3", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:113 Wednesday 03 August 2022 15:44:17 +0000 (0:00:00.839) 0:02:08.857 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.63gf65sn) => { "ansible_loop_var": "item", "changed": false, "checksum": "1d97781e3cbe9c1a87cf41fc77f1cdd118c0a24b", "dest": "/tmp/ansible.63gf65sn", "gid": 0, "group": "root", "item": "/tmp/ansible.63gf65sn", "mode": "0600", "owner": "root", "path": "/tmp/ansible.63gf65sn", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1115, "state": "file", "uid": 0 } ok: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.6f3zujs3) => { "ansible_loop_var": "item", "changed": false, "checksum": "fc456fa83c289cc584bc92fac03fa0bdc95601b9", "dest": "/tmp/ansible.6f3zujs3", "gid": 0, "group": "root", "item": "/tmp/ansible.6f3zujs3", "mode": "0600", "owner": "root", "path": "/tmp/ansible.6f3zujs3", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:122 Wednesday 03 August 2022 15:44:19 +0000 (0:00:01.461) 0:02:10.318 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 15:44:19 +0000 (0:00:00.179) 0:02:10.497 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 15:44:19 +0000 (0:00:00.063) 0:02:10.561 ****** ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.679) 0:02:11.241 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.067) 0:02:11.309 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.048) 0:02:11.357 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.050) 0:02:11.407 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.043) 0:02:11.451 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.040) 0:02:11.491 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.055) 0:02:11.547 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.052) 0:02:11.599 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.039) 0:02:11.639 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.040) 0:02:11.680 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.037) 0:02:11.717 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 15:44:20 +0000 (0:00:00.039) 0:02:11.757 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 15:44:21 +0000 (0:00:00.828) 0:02:12.586 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 15:44:21 +0000 (0:00:00.043) 0:02:12.629 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 15:44:22 +0000 (0:00:00.724) 0:02:13.354 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 15:44:22 +0000 (0:00:00.037) 0:02:13.392 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 15:44:22 +0000 (0:00:00.036) 0:02:13.428 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 15:44:22 +0000 (0:00:00.044) 0:02:13.473 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 15:44:24 +0000 (0:00:02.003) 0:02:15.477 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 15:44:26 +0000 (0:00:01.847) 0:02:17.325 ****** ok: [/cache/fedora-36.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.006688", "end": "2022-08-03 15:44:25.715735", "rc": 0, "start": "2022-08-03 15:44:25.709047" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 15:44:26 +0000 (0:00:00.467) 0:02:17.792 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 15:44:29 +0000 (0:00:02.227) 0:02:20.020 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 15:44:29 +0000 (0:00:00.051) 0:02:20.071 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 15:44:29 +0000 (0:00:00.089) 0:02:20.161 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 15:44:31 +0000 (0:00:01.905) 0:02:22.066 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:43:10 UTC", "ActiveEnterTimestampMonotonic": "72408944", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus-broker.service basic.target systemd-sysctl.service network.target system.slice systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:43:10 UTC", "AssertTimestampMonotonic": "72124235", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1648598000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:43:10 UTC", "ConditionTimestampMonotonic": "72124234", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service cpupower.service power-profiles-daemon.service shutdown.target auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3621", "ExecMainStartTimestamp": "Wed 2022-08-03 15:43:10 UTC", "ExecMainStartTimestampMonotonic": "72125626", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:43:10 UTC] ; stop_time=[n/a] ; pid=3621 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Wed 2022-08-03 15:43:10 UTC] ; stop_time=[n/a] ; pid=3621 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 15:43:10 UTC", "InactiveExitTimestampMonotonic": "72126035", "InvocationID": "08cb64d4542b4d64854683a0ed4db7c1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3621", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17821696", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target dbus-broker.service polkit.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:43:10 UTC", "StateChangeTimestampMonotonic": "72408944", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4657", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 15:44:31 +0000 (0:00:00.596) 0:02:22.663 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.111613", "end": "2022-08-03 15:44:31.138214", "rc": 0, "start": "2022-08-03 15:44:31.026601" } 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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 15:44:32 +0000 (0:00:00.540) 0:02:23.204 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 15:44:32 +0000 (0:00:00.037) 0:02:23.241 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 15:44:32 +0000 (0:00:00.038) 0:02:23.280 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 15:44:32 +0000 (0:00:00.043) 0:02:23.324 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 15:44:32 +0000 (0:00:00.440) 0:02:23.765 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 15:44:34 +0000 (0:00:01.888) 0:02:25.653 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:44:34 +0000 (0:00:00.072) 0:02:25.726 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ActiveEnterTimestampMonotonic": "128186279", "ActiveExitTimestamp": "Wed 2022-08-03 15:44:05 UTC", "ActiveExitTimestampMonotonic": "127068796", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:44:06 UTC", "AssertTimestampMonotonic": "128183288", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "5946117000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ConditionTimestampMonotonic": "128183279", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10155", "ExecMainStartTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ExecMainStartTimestampMonotonic": "128185680", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:44:06 UTC] ; stop_time=[n/a] ; pid=10155 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 15:44:06 UTC] ; stop_time=[n/a] ; pid=10155 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:44:06 UTC", "InactiveEnterTimestampMonotonic": "128174165", "InactiveExitTimestamp": "Wed 2022-08-03 15:44:06 UTC", "InactiveExitTimestampMonotonic": "128186279", "InvocationID": "a59697d720b342119becf022d138aa13", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10155", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "656510976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:44:06 UTC", "StateChangeTimestampMonotonic": "128186279", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "140", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:44:35 +0000 (0:00:00.596) 0:02:26.323 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003675", "end": "2022-08-03 15:44:34.708101", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:34.704426" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:44:35 +0000 (0:00:00.444) 0:02:26.767 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003773", "end": "2022-08-03 15:44:35.147384", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:35.143611" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:44:36 +0000 (0:00:00.440) 0:02:27.208 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 15:44:36 +0000 (0:00:00.142) 0:02:27.350 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.037235", "end": "2022-08-03 15:44:35.775694", "rc": 0, "start": "2022-08-03 15:44:35.738459" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 15:44:36 +0000 (0:00:00.486) 0:02:27.837 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 15:44:36 +0000 (0:00:00.047) 0:02:27.884 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 15:44:36 +0000 (0:00:00.044) 0:02:27.929 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.042) 0:02:27.971 ****** ok: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.045) 0:02:28.017 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.006090", "end": "2022-08-03 15:44:36.402943", "rc": 0, "start": "2022-08-03 15:44:36.396853" } STDOUT: true TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.448) 0:02:28.465 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.044) 0:02:28.510 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.047) 0:02:28.557 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.041) 0:02:28.599 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.038) 0:02:28.638 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.104) 0:02:28.742 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:37 +0000 (0:00:00.064) 0:02:28.806 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003733", "end": "2022-08-03 15:44:37.184214", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:37.180481" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:38 +0000 (0:00:00.446) 0:02:29.253 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.107113", "end": "2022-08-03 15:44:37.745367", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:37.638254" } 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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:38 +0000 (0:00:00.566) 0:02:29.820 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 15:44:38 +0000 (0:00:00.039) 0:02:29.860 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 15:44:38 +0000 (0:00:00.040) 0:02:29.900 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 15:44:38 +0000 (0:00:00.045) 0:02:29.946 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.047) 0:02:29.993 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.045) 0:02:30.039 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.105) 0:02:30.145 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.041) 0:02:30.186 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.042) 0:02:30.229 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.042) 0:02:30.271 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.044) 0:02:30.316 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.042) 0:02:30.359 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 15:44:39 +0000 (0:00:00.043) 0:02:30.402 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.63gf65sn) => { "ansible_loop_var": "item", "changed": true, "checksum": "1d97781e3cbe9c1a87cf41fc77f1cdd118c0a24b", "dest": "/etc/pki/tls/certs/ansible.63gf65sn", "gid": 991, "group": "mssql", "item": "/tmp/ansible.63gf65sn", "md5sum": "98252a7f82b9427091353aad73812f75", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1115, "src": "/tmp/ansible.63gf65sn", "state": "file", "uid": 991 } changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.6f3zujs3) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc456fa83c289cc584bc92fac03fa0bdc95601b9", "dest": "/etc/pki/tls/private/ansible.6f3zujs3", "gid": 991, "group": "mssql", "item": "/tmp/ansible.6f3zujs3", "md5sum": "6bbd7e56bb477b6b0341c686d9f82514", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.6f3zujs3", "state": "file", "uid": 991 } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 15:44:40 +0000 (0:00:00.862) 0:02:31.264 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlscert setting] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:40 +0000 (0:00:00.070) 0:02:31.335 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003637", "end": "2022-08-03 15:44:39.717880", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:39.714243" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tlscert setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:40 +0000 (0:00:00.488) 0:02:31.824 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.63gf65sn" ], "delta": "0:00:00.097769", "end": "2022-08-03 15:44:40.316020", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:40.218251" } 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 tlscert setting] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:41 +0000 (0:00:00.558) 0:02:32.382 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 15:44:41 +0000 (0:00:00.049) 0:02:32.432 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlskey setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:41 +0000 (0:00:00.071) 0:02:32.503 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003746", "end": "2022-08-03 15:44:40.881825", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:40.878079" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tlskey setting] ********* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:41 +0000 (0:00:00.442) 0:02:32.946 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.6f3zujs3" ], "delta": "0:00:00.107102", "end": "2022-08-03 15:44:41.440982", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:41.333880" } 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 tlskey setting] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:42 +0000 (0:00:00.566) 0:02:33.512 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 15:44:42 +0000 (0:00:00.049) 0:02:33.561 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network tlsprotocols setting] ********* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:42 +0000 (0:00:00.140) 0:02:33.702 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003918", "end": "2022-08-03 15:44:42.091589", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:42.087671" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tlsprotocols setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:43 +0000 (0:00:00.452) 0:02:34.154 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.104229", "end": "2022-08-03 15:44:42.650401", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:42.546172" } 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 tlsprotocols setting] ******* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:43 +0000 (0:00:00.566) 0:02:34.721 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 15:44:43 +0000 (0:00:00.045) 0:02:34.766 ****** included: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.mssql : Get the network forceencryption setting] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 15:44:43 +0000 (0:00:00.071) 0:02:34.838 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004109", "end": "2022-08-03 15:44:43.230615", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:43.226506" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network forceencryption setting] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 15:44:44 +0000 (0:00:00.454) 0:02:35.293 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.101095", "end": "2022-08-03 15:44:43.775222", "failed_when_result": false, "rc": 0, "start": "2022-08-03 15:44:43.674127" } 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 forceencryption setting] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 15:44:44 +0000 (0:00:00.553) 0:02:35.846 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 15:44:44 +0000 (0:00:00.046) 0:02:35.893 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 15:44:44 +0000 (0:00:00.039) 0:02:35.933 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.040) 0:02:35.973 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.038) 0:02:36.012 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.042) 0:02:36.054 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.040) 0:02:36.095 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.044) 0:02:36.139 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.039) 0:02:36.179 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.045) 0:02:36.225 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.042) 0:02:36.267 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.045) 0:02:36.312 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.048) 0:02:36.360 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.040) 0:02:36.401 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.078) 0:02:36.480 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.040) 0:02:36.520 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.042) 0:02:36.563 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.036) 0:02:36.599 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.042) 0:02:36.642 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.045) 0:02:36.687 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.046) 0:02:36.733 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.043) 0:02:36.777 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.045) 0:02:36.823 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.040) 0:02:36.864 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 15:44:45 +0000 (0:00:00.043) 0:02:36.907 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.040) 0:02:36.948 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.046) 0:02:36.995 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.037) 0:02:37.032 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.043) 0:02:37.075 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.114) 0:02:37.189 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.041) 0:02:37.231 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.040) 0:02:37.271 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.040) 0:02:37.311 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.043) 0:02:37.355 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.044) 0:02:37.399 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.039) 0:02:37.438 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.041) 0:02:37.480 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 15:44:46 +0000 (0:00:00.040) 0:02:37.521 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 15:44:47 +0000 (0:00:00.488) 0:02:38.010 ****** skipping: [/cache/fedora-36.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/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 15:44:47 +0000 (0:00:00.043) 0:02:38.053 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:132 Wednesday 03 August 2022 15:44:47 +0000 (0:00:00.069) 0:02:38.123 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 15:44:47 +0000 (0:00:00.000) 0:02:38.123 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ActiveEnterTimestampMonotonic": "128186279", "ActiveExitTimestamp": "Wed 2022-08-03 15:44:05 UTC", "ActiveExitTimestampMonotonic": "127068796", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:44:06 UTC", "AssertTimestampMonotonic": "128183288", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "6063922000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ConditionTimestampMonotonic": "128183279", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10155", "ExecMainStartTimestamp": "Wed 2022-08-03 15:44:06 UTC", "ExecMainStartTimestampMonotonic": "128185680", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:44:06 UTC] ; stop_time=[n/a] ; pid=10155 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 15:44:06 UTC] ; stop_time=[n/a] ; pid=10155 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:44:06 UTC", "InactiveEnterTimestampMonotonic": "128174165", "InactiveExitTimestamp": "Wed 2022-08-03 15:44:06 UTC", "InactiveExitTimestampMonotonic": "128186279", "InvocationID": "a59697d720b342119becf022d138aa13", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10155", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "658120704", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:44:06 UTC", "StateChangeTimestampMonotonic": "128186279", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "143", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:135 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.912) 0:02:39.036 ****** included: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml for /cache/fedora-36.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.126) 0:02:39.162 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.047) 0:02:39.210 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.046) 0:02:39.257 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.042) 0:02:39.300 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.042) 0:02:39.342 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.044) 0:02:39.386 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 15:44:48 +0000 (0:00:00.137) 0:02:39.524 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 15:44:46 UTC", "ActiveEnterTimestampMonotonic": "168542626", "ActiveExitTimestamp": "Wed 2022-08-03 15:44:46 UTC", "ActiveExitTimestampMonotonic": "168297344", "ActiveState": "active", "After": "network.target sysinit.target basic.target -.mount systemd-journald.socket auditd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 15:44:46 UTC", "AssertTimestampMonotonic": "168539503", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1064891000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 15:44:46 UTC", "ConditionTimestampMonotonic": "168539494", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15103", "ExecMainStartTimestamp": "Wed 2022-08-03 15:44:46 UTC", "ExecMainStartTimestampMonotonic": "168541769", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 15:44:46 UTC] ; stop_time=[n/a] ; pid=15103 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 15:44:46 UTC] ; stop_time=[n/a] ; pid=15103 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 15:44:46 UTC", "InactiveEnterTimestampMonotonic": "168532862", "InactiveExitTimestamp": "Wed 2022-08-03 15:44:46 UTC", "InactiveExitTimestampMonotonic": "168542626", "InvocationID": "e2657f64093b499f931cf6736f5d48d0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15103", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "85204992", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "-.mount sysinit.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 15:44:46 UTC", "StateChangeTimestampMonotonic": "168542626", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "27", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 15:44:49 +0000 (0:00:00.600) 0:02:40.125 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004406", "end": "2022-08-03 15:44:48.513197", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:48.508791" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 15:44:49 +0000 (0:00:00.451) 0:02:40.577 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003738", "end": "2022-08-03 15:44:48.957769", "failed_when_result": false, "rc": 1, "start": "2022-08-03 15:44:48.954031" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 15:44:50 +0000 (0:00:00.445) 0:02:41.022 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 15:44:50 +0000 (0:00:00.084) 0:02:41.106 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 991, "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": 6995, "state": "file", "uid": 991 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 15:44:53 +0000 (0:00:03.459) 0:02:44.566 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.027977", "end": "2022-08-03 15:44:52.974763", "rc": 0, "start": "2022-08-03 15:44:52.946786" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.472) 0:02:45.038 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.058) 0:02:45.097 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.046) 0:02:45.143 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.044) 0:02:45.187 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.079) 0:02:45.266 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.043) 0:02:45.310 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.042) 0:02:45.353 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.048) 0:02:45.401 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.039) 0:02:45.440 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.041) 0:02:45.482 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.044) 0:02:45.526 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.052) 0:02:45.579 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlscert setting] ************************************ task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:54 +0000 (0:00:00.074) 0:02:45.654 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006142", "end": "2022-08-03 15:44:54.039700", "rc": 0, "start": "2022-08-03 15:44:54.033558" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.63gf65sn TASK [Verify the tlscert setting when it is type str] ************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.452) 0:02:46.107 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting when it is type bool] ************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.048) 0:02:46.155 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.63gf65sn] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.051) 0:02:46.207 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.097) 0:02:46.304 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlskey setting] ************************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.070) 0:02:46.375 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005419", "end": "2022-08-03 15:44:54.770173", "rc": 0, "start": "2022-08-03 15:44:54.764754" } STDOUT: tlskey = /etc/pki/tls/private/ansible.6f3zujs3 TASK [Verify the tlskey setting when it is type str] *************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.460) 0:02:46.835 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting when it is type bool] ************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.047) 0:02:46.883 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.6f3zujs3] ********************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:55 +0000 (0:00:00.048) 0:02:46.932 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 15:44:56 +0000 (0:00:00.042) 0:02:46.974 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlsprotocols setting] ******************************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:56 +0000 (0:00:00.071) 0:02:47.046 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005385", "end": "2022-08-03 15:44:55.429423", "rc": 0, "start": "2022-08-03 15:44:55.424038" } STDOUT: tlsprotocols = 1.2 TASK [Verify the tlsprotocols setting when it is type str] ********************* task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:56 +0000 (0:00:00.446) 0:02:47.493 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the tlsprotocols setting when it is type bool] ******************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:56 +0000 (0:00:00.059) 0:02:47.553 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:56 +0000 (0:00:00.085) 0:02:47.639 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 15:44:56 +0000 (0:00:00.042) 0:02:47.681 ****** included: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the forceencryption setting] **************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 15:44:56 +0000 (0:00:00.069) 0:02:47.751 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004990", "end": "2022-08-03 15:44:56.136640", "rc": 0, "start": "2022-08-03 15:44:56.131650" } STDOUT: forceencryption = 1 TASK [Verify the forceencryption setting when it is type str] ****************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 15:44:57 +0000 (0:00:00.445) 0:02:48.197 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting when it is type bool] ***************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 15:44:57 +0000 (0:00:00.048) 0:02:48.245 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmprd71dlcu/tests/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 15:44:57 +0000 (0:00:00.063) 0:02:48.309 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:141 Wednesday 03 August 2022 15:44:57 +0000 (0:00:00.043) 0:02:48.352 ****** included: /tmp/tmprd71dlcu/tests/tasks/check_header.yml for /cache/fedora-36.qcow2.snap TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmprd71dlcu/tests/tasks/check_header.yml:4 Wednesday 03 August 2022 15:44:57 +0000 (0:00:00.116) 0:02:48.469 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004156", "end": "2022-08-03 15:44:56.971337", "rc": 0, "start": "2022-08-03 15:44:56.967181" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tlscert = /etc/pki/tls/certs/ansible.63gf65sn tlskey = /etc/pki/tls/private/ansible.6f3zujs3 tlsprotocols = 1.2 forceencryption = 1 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=197 changed=34 unreachable=0 failed=0 skipped=303 rescued=0 ignored=0 Wednesday 03 August 2022 15:44:58 +0000 (0:00:00.592) 0:02:49.061 ****** =============================================================================== linux-system-roles.mssql : Ensure the mssql-server package ------------- 37.12s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.46s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 ------ Wait for mssql-server to start and prepare for client connections ------- 3.58s /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:65 --------------------------- linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.53s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ Wait for mssql-server to start and prepare for client connections ------- 3.46s /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:65 --------------------------- Wait for mssql-server to start and prepare for client connections ------- 3.46s /tmp/tmprd71dlcu/tests/tasks/verify_settings.yml:65 --------------------------- linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 2.51s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ Ensure the openssl package ---------------------------------------------- 2.39s /tmp/tmprd71dlcu/tests/tests_tls_2019.yml:13 ---------------------------------- linux-system-roles.mssql : Gather system services facts ----------------- 2.36s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Gather system services facts ----------------- 2.23s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Gather system services facts ----------------- 2.19s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Ensure the mssql-server package -------------- 2.00s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Ensure the mssql-server package -------------- 1.96s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.91s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 1.89s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ linux-system-roles.mssql : Ensure that the openldap-compat package is installed --- 1.89s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 ------ linux-system-roles.mssql : Ensure that the openldap-compat package is installed --- 1.87s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 ------ linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.87s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Ensure that the openldap-compat package is installed --- 1.85s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 ------ linux-system-roles.mssql : Ensure that the mssql-server service is started --- 1.84s /tmp/tmprd71dlcu/tests/roles/linux-system-roles.mssql/tasks/verify_password.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/tmpnbi8pp9n 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_tls_2019.yml *************************************************** 1 plays in /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:3 Wednesday 03 August 2022 16:18:33 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Ensure the openssl package] ********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:13 Wednesday 03 August 2022 16:18:34 +0000 (0:00:01.360) 0:00:01.372 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:19 Wednesday 03 August 2022 16:18:37 +0000 (0:00:02.466) 0:00:03.839 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.ey0bhpya", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create a tempfile for a private key on hosts] **************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:25 Wednesday 03 August 2022 16:18:37 +0000 (0:00:00.499) 0:00:04.338 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.thbiv3il", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:31 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.386) 0:00:04.725 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.0.2.15", "-out", "/tmp/ansible.ey0bhpya", "-keyout", "/tmp/ansible.thbiv3il", "-days", "365" ], "delta": "0:00:00.120370", "end": "2022-08-03 16:18:38.629781", "rc": 0, "start": "2022-08-03 16:18:38.509411" } STDERR: ..+......+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+..+.+...........+.+..+......+....+...+.....+...+....+..+......+..........+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+.........+..+....+..............+............+....+...+.....+...+....+......+.....+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+......+........+.+.........+............+........+.......+...+............+..+.......+...+.....+.+......+...........+....+...+.....+.......+.....+....+.....+......+.+..+...+.......+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:40 Wednesday 03 August 2022 16:18:38 +0000 (0:00:00.638) 0:00:05.363 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.ey0bhpya) => { "ansible_loop_var": "item", "changed": true, "checksum": "9fbb729f3c8c79d61d1b3f162113a2eaa3149250", "dest": "/tmp/ansible.ey0bhpya", "item": "/tmp/ansible.ey0bhpya", "md5sum": "14a342918518dce42fd60a7482f313bd", "remote_checksum": "9fbb729f3c8c79d61d1b3f162113a2eaa3149250", "remote_md5sum": null } changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.thbiv3il) => { "ansible_loop_var": "item", "changed": true, "checksum": "438050e38f04233953feaf8ed827e26b62cf6523", "dest": "/tmp/ansible.thbiv3il", "item": "/tmp/ansible.thbiv3il", "md5sum": "9e353d093381b02efb78863abf2a74ed", "remote_checksum": "438050e38f04233953feaf8ed827e26b62cf6523", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:52 Wednesday 03 August 2022 16:18:40 +0000 (0:00:01.027) 0:00:06.391 ****** changed: [/cache/fedora-36.qcow2.snap -> localhost] => { "changed": true, "checksum": "438050e38f04233953feaf8ed827e26b62cf6523", "dest": "./ansible.thbiv3il", "gid": 0, "group": "root", "md5sum": "9e353d093381b02efb78863abf2a74ed", "mode": "0600", "owner": "root", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1659543520.0419219-65831-248678478779273/source", "state": "file", "uid": 0 } TASK [Run role] **************************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:62 Wednesday 03 August 2022 16:18:40 +0000 (0:00:00.489) 0:00:06.881 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:18:40 +0000 (0:00:00.115) 0:00:06.996 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:18:40 +0000 (0:00:00.031) 0:00:07.028 ****** ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.629) 0:00:07.657 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.052) 0:00:07.710 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.031) 0:00:07.741 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.030) 0:00:07.771 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.024) 0:00:07.796 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.025) 0:00:07.822 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.049) 0:00:07.871 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.046) 0:00:07.918 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.034) 0:00:07.952 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.034) 0:00:07.987 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.033) 0:00:08.020 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:18:41 +0000 (0:00:00.033) 0:00:08.053 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:18:42 +0000 (0:00:00.979) 0:00:09.033 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:18:42 +0000 (0:00:00.045) 0:00:09.078 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.842) 0:00:09.921 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.046) 0:00:09.967 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:18:43 +0000 (0:00:00.050) 0:00:10.017 ****** changed: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:18:44 +0000 (0:00:00.533) 0:00:10.550 ****** changed: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:19:20 +0000 (0:00:35.962) 0:00:46.513 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:19:22 +0000 (0:00:01.957) 0:00:48.470 ****** ok: [/cache/fedora-36.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.007367", "end": "2022-08-03 16:19:22.155024", "rc": 0, "start": "2022-08-03 16:19:22.147657" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:19:22 +0000 (0:00:00.437) 0:00:48.908 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:19:24 +0000 (0:00:02.405) 0:00:51.314 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:19:25 +0000 (0:00:00.077) 0:00:51.391 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.591177", "end": "2022-08-03 16:19:29.716907", "rc": 0, "start": "2022-08-03 16:19:25.125730" } 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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:19:30 +0000 (0:00:05.086) 0:00:56.478 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: hdparm-9.63-1.fc36.x86_64", "Installed: python3-gobject-base-3.42.1-1.fc36.x86_64", "Installed: python3-gobject-base-noarch-3.42.1-1.fc36.noarch", "Installed: python3-linux-procfs-0.6.3-3.fc35.noarch", "Installed: python3-pyudev-0.22.0-8.fc36.noarch", "Installed: ethtool-2:5.18-1.fc36.x86_64", "Installed: tuned-2.18.0-3.20220317gite1045f2d.fc36.noarch", "Installed: kernel-tools-libs-5.18.13-200.fc36.x86_64", "Installed: python3-perf-5.18.13-200.fc36.x86_64", "Installed: virt-what-1.24-1.fc36.x86_64", "Installed: tuned-profiles-mssql-2.18.0-3.20220317gite1045f2d.fc36.noarch", "Installed: kernel-tools-5.18.13-200.fc36.x86_64", "Installed: gobject-introspection-1.72.0-1.fc36.x86_64" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:19:33 +0000 (0:00:03.445) 0:00:59.923 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket dbus-broker.service system.slice systemd-journald.socket systemd-sysctl.service sysinit.target basic.target network.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service power-profiles-daemon.service shutdown.target auto-cpufreq.service cpupower.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.socket system.slice dbus-broker.service sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4657", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:19:34 +0000 (0:00:01.378) 0:01:01.301 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.121752", "end": "2022-08-03 16:19:35.104829", "rc": 0, "start": "2022-08-03 16:19:34.983077" } 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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:19:35 +0000 (0:00:00.561) 0:01:01.863 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.112753", "end": "2022-08-03 16:19:36.673689", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:19:35.560936" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:19:37 +0000 (0:00:01.568) 0:01:03.431 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:19:37 +0000 (0:00:00.074) 0:01:03.505 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:19:37 +0000 (0:00:00.037) 0:01:03.543 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:19:37 +0000 (0:00:00.422) 0:01:03.965 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: unixODBC-2.3.9-5.fc36.x86_64", "Installed: unixODBC-devel-2.3.9-5.fc36.x86_64", "Installed: mssql-tools-17.10.1.1-1.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:19:39 +0000 (0:00:02.410) 0:01:06.376 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.041) 0:01:06.417 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.042) 0:01:06.460 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.041) 0:01:06.501 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.086) 0:01:06.588 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.042) 0:01:06.631 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.048) 0:01:06.679 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.039) 0:01:06.719 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.039) 0:01:06.759 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.044) 0:01:06.803 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.044) 0:01:06.848 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.049) 0:01:06.898 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.052) 0:01:06.950 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:19:40 +0000 (0:00:00.061) 0:01:07.011 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003605", "end": "2022-08-03 16:19:40.697097", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:19:40.693492" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.436) 0:01:07.448 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.100835", "end": "2022-08-03 16:19:41.234746", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:19:41.133911" } 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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.584) 0:01:08.033 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.036) 0:01:08.069 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.047) 0:01:08.117 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.039) 0:01:08.156 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.039) 0:01:08.196 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.039) 0:01:08.236 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.038) 0:01:08.275 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.039) 0:01:08.314 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:19:41 +0000 (0:00:00.040) 0:01:08.355 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:19:42 +0000 (0:00:00.039) 0:01:08.395 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:19:42 +0000 (0:00:00.039) 0:01:08.434 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:19:42 +0000 (0:00:00.039) 0:01:08.474 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:19:42 +0000 (0:00:00.038) 0:01:08.512 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.ey0bhpya) => { "ansible_loop_var": "item", "changed": true, "checksum": "9fbb729f3c8c79d61d1b3f162113a2eaa3149250", "dest": "/etc/pki/tls/certs/ansible.ey0bhpya", "gid": 991, "group": "mssql", "item": "/tmp/ansible.ey0bhpya", "md5sum": "14a342918518dce42fd60a7482f313bd", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1115, "src": "/root/.ansible/tmp/ansible-tmp-1659543582.2164292-66237-138641104919175/source", "state": "file", "uid": 991 } changed: [/cache/fedora-36.qcow2.snap] => (item=ansible.thbiv3il) => { "ansible_loop_var": "item", "changed": true, "checksum": "438050e38f04233953feaf8ed827e26b62cf6523", "dest": "/etc/pki/tls/private/ansible.thbiv3il", "gid": 991, "group": "mssql", "item": "ansible.thbiv3il", "md5sum": "9e353d093381b02efb78863abf2a74ed", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1659543582.9413712-66237-178767104145983/source", "state": "file", "uid": 991 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:19:43 +0000 (0:00:01.581) 0:01:10.093 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlscert setting] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:19:43 +0000 (0:00:00.109) 0:01:10.203 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003319", "end": "2022-08-03 16:19:43.893984", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:19:43.890665" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tlscert setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:19:44 +0000 (0:00:00.438) 0:01:10.641 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.ey0bhpya" ], "delta": "0:00:00.096950", "end": "2022-08-03 16:19:44.419772", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:19:44.322822" } 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 tlscert setting] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:19:44 +0000 (0:00:00.532) 0:01:11.174 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:19:44 +0000 (0:00:00.052) 0:01:11.227 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlskey setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:19:44 +0000 (0:00:00.069) 0:01:11.297 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003523", "end": "2022-08-03 16:19:45.014372", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:19:45.010849" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tlskey setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:19:45 +0000 (0:00:00.464) 0:01:11.762 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.thbiv3il" ], "delta": "0:00:00.096922", "end": "2022-08-03 16:19:45.561301", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:19:45.464379" } 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 tlskey setting] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:19:45 +0000 (0:00:00.554) 0:01:12.316 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:19:45 +0000 (0:00:00.053) 0:01:12.370 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:19:46 +0000 (0:00:00.068) 0:01:12.438 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003470", "end": "2022-08-03 16:19:46.131421", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:19:46.127951" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:19:46 +0000 (0:00:00.442) 0:01:12.880 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.097351", "end": "2022-08-03 16:19:46.664745", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:19:46.567394" } 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 tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:19:47 +0000 (0:00:00.538) 0:01:13.419 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:19:47 +0000 (0:00:00.084) 0:01:13.503 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:19:47 +0000 (0:00:00.070) 0:01:13.573 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003468", "end": "2022-08-03 16:19:47.257262", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:19:47.253794" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:19:47 +0000 (0:00:00.433) 0:01:14.006 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.096635", "end": "2022-08-03 16:19:47.785209", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:19:47.688574" } 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 forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.532) 0:01:14.539 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.044) 0:01:14.583 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.048) 0:01:14.632 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.046) 0:01:14.679 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.052) 0:01:14.731 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.047) 0:01:14.778 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.045) 0:01:14.824 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.047) 0:01:14.872 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.076) 0:01:14.949 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.053) 0:01:15.002 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.045) 0:01:15.048 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.046) 0:01:15.094 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.052) 0:01:15.147 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.051) 0:01:15.198 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.050) 0:01:15.249 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.047) 0:01:15.296 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:19:48 +0000 (0:00:00.046) 0:01:15.343 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.048) 0:01:15.392 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.050) 0:01:15.442 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.050) 0:01:15.493 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.049) 0:01:15.543 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.046) 0:01:15.590 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.046) 0:01:15.636 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.050) 0:01:15.687 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.081) 0:01:15.768 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.048) 0:01:15.817 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.052) 0:01:15.870 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.047) 0:01:15.917 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.047) 0:01:15.964 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.046) 0:01:16.011 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.046) 0:01:16.058 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.047) 0:01:16.106 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.046) 0:01:16.152 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.056) 0:01:16.209 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.055) 0:01:16.264 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.050) 0:01:16.314 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:19:49 +0000 (0:00:00.050) 0:01:16.364 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:19:50 +0000 (0:00:00.050) 0:01:16.415 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:19:50 +0000 (0:00:00.613) 0:01:17.029 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:19:50 +0000 (0:00:00.040) 0:01:17.070 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:71 Wednesday 03 August 2022 16:19:50 +0000 (0:00:00.072) 0:01:17.143 ****** changed: [/cache/fedora-36.qcow2.snap -> localhost] => { "changed": true, "path": "ansible.thbiv3il", "state": "absent" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:78 Wednesday 03 August 2022 16:19:51 +0000 (0:00:00.328) 0:01:17.471 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:19:51 +0000 (0:00:00.000) 0:01:17.471 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:19:29 UTC", "ActiveEnterTimestampMonotonic": "65880413", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:19:29 UTC", "AssertTimestampMonotonic": "65878674", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4915583000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:19:29 UTC", "ConditionTimestampMonotonic": "65878672", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3126", "ExecMainStartTimestamp": "Wed 2022-08-03 16:19:29 UTC", "ExecMainStartTimestampMonotonic": "65879953", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 16:19:29 UTC", "InactiveExitTimestampMonotonic": "65880413", "InvocationID": "519f17dab7574130afb8d3493465ac44", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3126", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "645804032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:19:29 UTC", "StateChangeTimestampMonotonic": "65880413", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "141", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:81 Wednesday 03 August 2022 16:19:52 +0000 (0:00:01.902) 0:01:19.374 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml for /cache/fedora-36.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.072) 0:01:19.446 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.047) 0:01:19.494 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.040) 0:01:19.534 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.046) 0:01:19.581 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.045) 0:01:19.627 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.043) 0:01:19.671 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.077) 0:01:19.749 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ActiveEnterTimestampMonotonic": "88979189", "ActiveExitTimestamp": "Wed 2022-08-03 16:19:51 UTC", "ActiveExitTimestampMonotonic": "87707757", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:19:52 UTC", "AssertTimestampMonotonic": "88977460", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "975185000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ConditionTimestampMonotonic": "88977458", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5916", "ExecMainStartTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ExecMainStartTimestampMonotonic": "88978766", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:19:52 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:19:52 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:19:52 UTC", "InactiveEnterTimestampMonotonic": "88968559", "InactiveExitTimestamp": "Wed 2022-08-03 16:19:52 UTC", "InactiveExitTimestampMonotonic": "88979189", "InvocationID": "8d4b7835ef7747be8a8643333a962796", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5916", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "150827008", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:19:52 UTC", "StateChangeTimestampMonotonic": "88979189", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "45", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:19:53 +0000 (0:00:00.577) 0:01:20.326 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003584", "end": "2022-08-03 16:19:54.022815", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:19:54.019231" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:19:54 +0000 (0:00:00.485) 0:01:20.812 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003443", "end": "2022-08-03 16:19:54.497799", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:19:54.494356" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:19:54 +0000 (0:00:00.434) 0:01:21.246 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:19:54 +0000 (0:00:00.095) 0:01:21.342 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 991, "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": 6995, "state": "file", "uid": 991 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:19:58 +0000 (0:00:03.570) 0:01:24.912 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026925", "end": "2022-08-03 16:19:58.624905", "rc": 0, "start": "2022-08-03 16:19:58.597980" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.492) 0:01:25.405 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.053) 0:01:25.458 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.042) 0:01:25.501 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.042) 0:01:25.543 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.041) 0:01:25.584 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.040) 0:01:25.625 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.040) 0:01:25.665 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.039) 0:01:25.705 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.041) 0:01:25.746 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.040) 0:01:25.787 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.040) 0:01:25.827 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.040) 0:01:25.868 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlscert setting] ************************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.067) 0:01:25.935 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005146", "end": "2022-08-03 16:19:59.623894", "rc": 0, "start": "2022-08-03 16:19:59.618748" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.ey0bhpya TASK [Verify the tlscert setting when it is type str] ************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:19:59 +0000 (0:00:00.437) 0:01:26.373 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting when it is type bool] ************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.144) 0:01:26.517 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.ey0bhpya] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.065) 0:01:26.583 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.040) 0:01:26.623 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlskey setting] ************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.067) 0:01:26.691 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005386", "end": "2022-08-03 16:20:00.372222", "rc": 0, "start": "2022-08-03 16:20:00.366836" } STDOUT: tlskey = /etc/pki/tls/private/ansible.thbiv3il TASK [Verify the tlskey setting when it is type str] *************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.430) 0:01:27.121 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting when it is type bool] ************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.044) 0:01:27.166 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.thbiv3il] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.045) 0:01:27.212 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.043) 0:01:27.256 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlsprotocols setting] ******************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:20:00 +0000 (0:00:00.070) 0:01:27.326 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005296", "end": "2022-08-03 16:20:01.011130", "rc": 0, "start": "2022-08-03 16:20:01.005834" } STDOUT: tlsprotocols = 1.2 TASK [Verify the tlsprotocols setting when it is type str] ********************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:20:01 +0000 (0:00:00.434) 0:01:27.761 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the tlsprotocols setting when it is type bool] ******************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:01 +0000 (0:00:00.103) 0:01:27.865 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:01 +0000 (0:00:00.048) 0:01:27.913 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:20:01 +0000 (0:00:00.042) 0:01:27.956 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the forceencryption setting] **************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:20:01 +0000 (0:00:00.068) 0:01:28.024 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005206", "end": "2022-08-03 16:20:01.722309", "rc": 0, "start": "2022-08-03 16:20:01.717103" } STDOUT: forceencryption = 1 TASK [Verify the forceencryption setting when it is type str] ****************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:20:02 +0000 (0:00:00.449) 0:01:28.473 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting when it is type bool] ***************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:02 +0000 (0:00:00.044) 0:01:28.518 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:02 +0000 (0:00:00.057) 0:01:28.576 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:88 Wednesday 03 August 2022 16:20:02 +0000 (0:00:00.043) 0:01:28.619 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:20:02 +0000 (0:00:00.149) 0:01:28.768 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:20:02 +0000 (0:00:00.101) 0:01:28.870 ****** ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.653) 0:01:29.523 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.069) 0:01:29.592 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.052) 0:01:29.645 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.049) 0:01:29.694 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.043) 0:01:29.738 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.042) 0:01:29.781 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.053) 0:01:29.834 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.055) 0:01:29.889 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.040) 0:01:29.929 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.039) 0:01:29.968 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.040) 0:01:30.008 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:20:03 +0000 (0:00:00.079) 0:01:30.087 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:20:04 +0000 (0:00:00.768) 0:01:30.856 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:20:04 +0000 (0:00:00.039) 0:01:30.895 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:20:05 +0000 (0:00:00.693) 0:01:31.589 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:20:05 +0000 (0:00:00.041) 0:01:31.630 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:20:05 +0000 (0:00:00.040) 0:01:31.670 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:20:05 +0000 (0:00:00.052) 0:01:31.723 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:20:07 +0000 (0:00:02.028) 0:01:33.751 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:20:09 +0000 (0:00:01.841) 0:01:35.593 ****** ok: [/cache/fedora-36.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.006248", "end": "2022-08-03 16:20:09.272561", "rc": 0, "start": "2022-08-03 16:20:09.266313" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:20:09 +0000 (0:00:00.435) 0:01:36.028 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:20:11 +0000 (0:00:02.241) 0:01:38.270 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:20:11 +0000 (0:00:00.050) 0:01:38.320 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:20:11 +0000 (0:00:00.049) 0:01:38.370 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:20:13 +0000 (0:00:01.869) 0:01:40.240 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:19:34 UTC", "ActiveEnterTimestampMonotonic": "70934011", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service sysinit.target network.target dbus.socket basic.target systemd-sysctl.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:19:34 UTC", "AssertTimestampMonotonic": "70651986", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "933638000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:19:34 UTC", "ConditionTimestampMonotonic": "70651979", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service power-profiles-daemon.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3622", "ExecMainStartTimestamp": "Wed 2022-08-03 16:19:34 UTC", "ExecMainStartTimestampMonotonic": "70653288", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:19:34 UTC] ; stop_time=[n/a] ; pid=3622 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Wed 2022-08-03 16:19:34 UTC] ; stop_time=[n/a] ; pid=3622 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 16:19:34 UTC", "InactiveExitTimestampMonotonic": "70653682", "InvocationID": "651f247a70fb46a1b798b64190a11995", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3622", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17768448", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket polkit.service dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:19:34 UTC", "StateChangeTimestampMonotonic": "70934011", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4657", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:20:14 +0000 (0:00:00.588) 0:01:40.829 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.107639", "end": "2022-08-03 16:20:14.607461", "rc": 0, "start": "2022-08-03 16:20:14.499822" } 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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:20:15 +0000 (0:00:00.568) 0:01:41.397 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:20:15 +0000 (0:00:00.039) 0:01:41.437 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:20:15 +0000 (0:00:00.038) 0:01:41.475 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:20:15 +0000 (0:00:00.038) 0:01:41.514 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:20:15 +0000 (0:00:00.470) 0:01:41.984 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:20:17 +0000 (0:00:01.852) 0:01:43.836 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:20:17 +0000 (0:00:00.107) 0:01:43.944 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ActiveEnterTimestampMonotonic": "88979189", "ActiveExitTimestamp": "Wed 2022-08-03 16:19:51 UTC", "ActiveExitTimestampMonotonic": "87707757", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:19:52 UTC", "AssertTimestampMonotonic": "88977460", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4904743000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ConditionTimestampMonotonic": "88977458", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5916", "ExecMainStartTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ExecMainStartTimestampMonotonic": "88978766", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:19:52 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:19:52 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:19:52 UTC", "InactiveEnterTimestampMonotonic": "88968559", "InactiveExitTimestamp": "Wed 2022-08-03 16:19:52 UTC", "InactiveExitTimestampMonotonic": "88979189", "InvocationID": "8d4b7835ef7747be8a8643333a962796", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5916", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "657043456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:19:52 UTC", "StateChangeTimestampMonotonic": "88979189", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:20:18 +0000 (0:00:00.580) 0:01:44.524 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003476", "end": "2022-08-03 16:20:18.207077", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:20:18.203601" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:20:18 +0000 (0:00:00.432) 0:01:44.957 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005376", "end": "2022-08-03 16:20:19.656622", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:20:18.651246" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:20:20 +0000 (0:00:01.456) 0:01:46.414 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:20:20 +0000 (0:00:00.137) 0:01:46.551 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028879", "end": "2022-08-03 16:20:20.279535", "rc": 0, "start": "2022-08-03 16:20:20.250656" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:20:20 +0000 (0:00:00.483) 0:01:47.034 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:20:20 +0000 (0:00:00.042) 0:01:47.077 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:20:20 +0000 (0:00:00.042) 0:01:47.119 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:20:20 +0000 (0:00:00.038) 0:01:47.158 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:20:20 +0000 (0:00:00.050) 0:01:47.209 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005575", "end": "2022-08-03 16:20:20.890214", "rc": 0, "start": "2022-08-03 16:20:20.884639" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.430) 0:01:47.639 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.043) 0:01:47.683 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.042) 0:01:47.726 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.038) 0:01:47.765 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.037) 0:01:47.802 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.072) 0:01:47.874 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.061) 0:01:47.936 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003508", "end": "2022-08-03 16:20:21.609777", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:20:21.606269" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:20:21 +0000 (0:00:00.431) 0:01:48.368 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.098228", "end": "2022-08-03 16:20:22.153049", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:22.054821" } 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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.566) 0:01:48.935 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.058) 0:01:48.994 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.046) 0:01:49.040 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.044) 0:01:49.085 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.044) 0:01:49.129 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.042) 0:01:49.172 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.042) 0:01:49.215 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.082) 0:01:49.297 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:20:22 +0000 (0:00:00.042) 0:01:49.339 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.047) 0:01:49.387 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.041) 0:01:49.429 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.040) 0:01:49.469 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.039) 0:01:49.509 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.ey0bhpya) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.ey0bhpya", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=ansible.thbiv3il) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.thbiv3il", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.054) 0:01:49.564 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlscert setting] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.070) 0:01:49.634 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003629", "end": "2022-08-03 16:20:23.316052", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:23.312423" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.ey0bhpya TASK [fedora.linux_system_roles.mssql : Configure the network tlscert setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.453) 0:01:50.088 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tlscert setting] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:20:23 +0000 (0:00:00.071) 0:01:50.159 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "tlscert" ], "delta": "0:00:00.098158", "end": "2022-08-03 16:20:23.946913", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:23.848755" } 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 : Configure the tlskey setting] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:20:24 +0000 (0:00:00.584) 0:01:50.744 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlskey setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:20:24 +0000 (0:00:00.070) 0:01:50.814 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003504", "end": "2022-08-03 16:20:24.494067", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:24.490563" } STDOUT: tlskey = /etc/pki/tls/private/ansible.thbiv3il TASK [fedora.linux_system_roles.mssql : Configure the network tlskey setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:20:24 +0000 (0:00:00.432) 0:01:51.246 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tlskey setting] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:20:24 +0000 (0:00:00.051) 0:01:51.297 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "tlskey" ], "delta": "0:00:00.099504", "end": "2022-08-03 16:20:25.081543", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:24.982039" } 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 : Configure the tlsprotocols setting] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:20:25 +0000 (0:00:00.538) 0:01:51.836 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:20:25 +0000 (0:00:00.070) 0:01:51.906 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003375", "end": "2022-08-03 16:20:25.584067", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:25.580692" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the network tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:20:25 +0000 (0:00:00.427) 0:01:52.334 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:20:26 +0000 (0:00:00.048) 0:01:52.383 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "tlsprotocols" ], "delta": "0:00:00.096176", "end": "2022-08-03 16:20:26.183560", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:26.087384" } 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 : Configure the forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:20:26 +0000 (0:00:00.556) 0:01:52.939 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:20:26 +0000 (0:00:00.076) 0:01:53.016 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003434", "end": "2022-08-03 16:20:26.695599", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:26.692165" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the network forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.430) 0:01:53.446 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.047) 0:01:53.494 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network", "forceencryption" ], "delta": "0:00:00.098715", "end": "2022-08-03 16:20:27.264579", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:20:27.165864" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [Open the 5022/tcp port and enable the high-availability service in firewall] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.534) 0:01:54.028 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.047) 0:01:54.075 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.041) 0:01:54.117 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.044) 0:01:54.161 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.102) 0:01:54.263 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.043) 0:01:54.306 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:20:27 +0000 (0:00:00.044) 0:01:54.351 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.039) 0:01:54.390 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.042) 0:01:54.433 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.038) 0:01:54.472 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.039) 0:01:54.511 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.046) 0:01:54.557 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.039) 0:01:54.596 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.037) 0:01:54.634 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.038) 0:01:54.672 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.040) 0:01:54.713 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.039) 0:01:54.752 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.043) 0:01:54.795 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.084) 0:01:54.880 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.039) 0:01:54.919 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.041) 0:01:54.961 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.037) 0:01:54.999 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.037) 0:01:55.037 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.039) 0:01:55.076 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.042) 0:01:55.119 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.045) 0:01:55.164 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.038) 0:01:55.203 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.036) 0:01:55.239 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.041) 0:01:55.280 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.036) 0:01:55.317 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:20:28 +0000 (0:00:00.037) 0:01:55.355 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.037) 0:01:55.392 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.044) 0:01:55.437 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.081) 0:01:55.518 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.038) 0:01:55.556 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.037) 0:01:55.594 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.037) 0:01:55.632 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.476) 0:01:56.108 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.041) 0:01:56.149 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:95 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.067) 0:01:56.217 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:20:29 +0000 (0:00:00.000) 0:01:56.217 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ActiveEnterTimestampMonotonic": "88979189", "ActiveExitTimestamp": "Wed 2022-08-03 16:19:51 UTC", "ActiveExitTimestampMonotonic": "87707757", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:19:52 UTC", "AssertTimestampMonotonic": "88977460", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4998806000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ConditionTimestampMonotonic": "88977458", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5916", "ExecMainStartTimestamp": "Wed 2022-08-03 16:19:52 UTC", "ExecMainStartTimestampMonotonic": "88978766", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:19:52 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:19:52 UTC] ; stop_time=[n/a] ; pid=5916 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:19:52 UTC", "InactiveEnterTimestampMonotonic": "88968559", "InactiveExitTimestamp": "Wed 2022-08-03 16:19:52 UTC", "InactiveExitTimestampMonotonic": "88979189", "InvocationID": "8d4b7835ef7747be8a8643333a962796", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5916", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "658558976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:19:52 UTC", "StateChangeTimestampMonotonic": "88979189", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "145", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:98 Wednesday 03 August 2022 16:20:30 +0000 (0:00:00.838) 0:01:57.055 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml for /cache/fedora-36.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:20:30 +0000 (0:00:00.133) 0:01:57.189 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:20:30 +0000 (0:00:00.043) 0:01:57.232 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:20:30 +0000 (0:00:00.040) 0:01:57.273 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:20:30 +0000 (0:00:00.040) 0:01:57.314 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:20:30 +0000 (0:00:00.040) 0:01:57.354 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:20:31 +0000 (0:00:00.043) 0:01:57.398 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:20:31 +0000 (0:00:00.072) 0:01:57.470 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ActiveEnterTimestampMonotonic": "126684592", "ActiveExitTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ActiveExitTimestampMonotonic": "126450702", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:20:30 UTC", "AssertTimestampMonotonic": "126681898", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1022477000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ConditionTimestampMonotonic": "126681896", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10157", "ExecMainStartTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ExecMainStartTimestampMonotonic": "126683650", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:20:30 UTC] ; stop_time=[n/a] ; pid=10157 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:20:30 UTC] ; stop_time=[n/a] ; pid=10157 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:20:30 UTC", "InactiveEnterTimestampMonotonic": "126672630", "InactiveExitTimestamp": "Wed 2022-08-03 16:20:30 UTC", "InactiveExitTimestampMonotonic": "126684592", "InvocationID": "358120cc4247456080f2cce5f2e8cfc1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10157", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "146235392", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:20:30 UTC", "StateChangeTimestampMonotonic": "126684592", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "45", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:20:31 +0000 (0:00:00.605) 0:01:58.075 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003689", "end": "2022-08-03 16:20:31.760228", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:20:31.756539" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:20:32 +0000 (0:00:00.437) 0:01:58.513 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003413", "end": "2022-08-03 16:20:32.192754", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:20:32.189341" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:20:32 +0000 (0:00:00.430) 0:01:58.943 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:20:32 +0000 (0:00:00.085) 0:01:59.029 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 991, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6901, "state": "file", "uid": 991 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:20:36 +0000 (0:00:03.441) 0:02:02.471 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026456", "end": "2022-08-03 16:20:36.169387", "rc": 0, "start": "2022-08-03 16:20:36.142931" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.451) 0:02:02.922 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.092) 0:02:03.014 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.040) 0:02:03.055 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.041) 0:02:03.096 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.040) 0:02:03.137 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.038) 0:02:03.176 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.039) 0:02:03.215 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.040) 0:02:03.255 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.039) 0:02:03.295 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.039) 0:02:03.335 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:20:36 +0000 (0:00:00.040) 0:02:03.375 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:20:37 +0000 (0:00:00.039) 0:02:03.415 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlscert setting] ************************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:20:37 +0000 (0:00:00.067) 0:02:03.483 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005136", "end": "2022-08-03 16:20:37.161369", "rc": 0, "start": "2022-08-03 16:20:37.156233" } TASK [Verify the tlscert setting when it is type str] ************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:20:37 +0000 (0:00:00.472) 0:02:03.955 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting when it is type bool] ************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:37 +0000 (0:00:00.046) 0:02:04.001 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:37 +0000 (0:00:00.046) 0:02:04.048 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:20:37 +0000 (0:00:00.041) 0:02:04.090 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlskey setting] ************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:20:37 +0000 (0:00:00.067) 0:02:04.158 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005306", "end": "2022-08-03 16:20:37.840099", "rc": 0, "start": "2022-08-03 16:20:37.834793" } TASK [Verify the tlskey setting when it is type str] *************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.433) 0:02:04.591 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting when it is type bool] ************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.045) 0:02:04.637 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.048) 0:02:04.685 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.041) 0:02:04.726 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlsprotocols setting] ******************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.069) 0:02:04.795 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005900", "end": "2022-08-03 16:20:38.517002", "rc": 0, "start": "2022-08-03 16:20:38.511102" } TASK [Verify the tlsprotocols setting when it is type str] ********************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.469) 0:02:05.265 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the tlsprotocols setting when it is type bool] ******************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.062) 0:02:05.328 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:38 +0000 (0:00:00.045) 0:02:05.373 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:20:39 +0000 (0:00:00.041) 0:02:05.414 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the forceencryption setting] **************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:20:39 +0000 (0:00:00.070) 0:02:05.485 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005033", "end": "2022-08-03 16:20:39.155266", "rc": 0, "start": "2022-08-03 16:20:39.150233" } TASK [Verify the forceencryption setting when it is type str] ****************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:20:39 +0000 (0:00:00.419) 0:02:05.904 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting when it is type bool] ***************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:20:39 +0000 (0:00:00.042) 0:02:05.947 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:20:39 +0000 (0:00:00.059) 0:02:06.006 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:105 Wednesday 03 August 2022 16:20:39 +0000 (0:00:00.042) 0:02:06.049 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/etc/pki/tls/certs/ansible.ey0bhpya) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.ey0bhpya", "path": "/etc/pki/tls/certs/ansible.ey0bhpya", "state": "absent" } changed: [/cache/fedora-36.qcow2.snap] => (item=/etc/pki/tls/private/ansible.thbiv3il) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.thbiv3il", "path": "/etc/pki/tls/private/ansible.thbiv3il", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:113 Wednesday 03 August 2022 16:20:40 +0000 (0:00:00.805) 0:02:06.854 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.ey0bhpya) => { "ansible_loop_var": "item", "changed": false, "checksum": "9fbb729f3c8c79d61d1b3f162113a2eaa3149250", "dest": "/tmp/ansible.ey0bhpya", "gid": 0, "group": "root", "item": "/tmp/ansible.ey0bhpya", "mode": "0600", "owner": "root", "path": "/tmp/ansible.ey0bhpya", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1115, "state": "file", "uid": 0 } ok: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.thbiv3il) => { "ansible_loop_var": "item", "changed": false, "checksum": "438050e38f04233953feaf8ed827e26b62cf6523", "dest": "/tmp/ansible.thbiv3il", "gid": 0, "group": "root", "item": "/tmp/ansible.thbiv3il", "mode": "0600", "owner": "root", "path": "/tmp/ansible.thbiv3il", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:122 Wednesday 03 August 2022 16:20:41 +0000 (0:00:01.370) 0:02:08.225 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:20:42 +0000 (0:00:00.203) 0:02:08.428 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:20:42 +0000 (0:00:00.098) 0:02:08.526 ****** ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 16:20:42 +0000 (0:00:00.647) 0:02:09.174 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:20:42 +0000 (0:00:00.075) 0:02:09.249 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:20:42 +0000 (0:00:00.050) 0:02:09.300 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:20:42 +0000 (0:00:00.048) 0:02:09.348 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.040) 0:02:09.389 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.041) 0:02:09.431 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.054) 0:02:09.485 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.054) 0:02:09.540 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.039) 0:02:09.579 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.039) 0:02:09.618 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.084) 0:02:09.703 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 16:20:43 +0000 (0:00:00.041) 0:02:09.745 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:20:44 +0000 (0:00:00.778) 0:02:10.524 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 16:20:44 +0000 (0:00:00.042) 0:02:10.567 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 16:20:44 +0000 (0:00:00.707) 0:02:11.274 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 16:20:44 +0000 (0:00:00.041) 0:02:11.316 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 16:20:44 +0000 (0:00:00.046) 0:02:11.363 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 16:20:45 +0000 (0:00:00.090) 0:02:11.453 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 16:20:46 +0000 (0:00:01.866) 0:02:13.320 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 16:20:48 +0000 (0:00:02.004) 0:02:15.324 ****** ok: [/cache/fedora-36.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.007386", "end": "2022-08-03 16:20:49.022615", "rc": 0, "start": "2022-08-03 16:20:49.015229" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 16:20:49 +0000 (0:00:00.455) 0:02:15.780 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 16:20:51 +0000 (0:00:02.223) 0:02:18.003 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 16:20:51 +0000 (0:00:00.049) 0:02:18.052 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 16:20:51 +0000 (0:00:00.047) 0:02:18.100 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:20:53 +0000 (0:00:01.840) 0:02:19.941 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:19:34 UTC", "ActiveEnterTimestampMonotonic": "70934011", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service sysinit.target network.target dbus.socket basic.target systemd-sysctl.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:19:34 UTC", "AssertTimestampMonotonic": "70651986", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1595198000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:19:34 UTC", "ConditionTimestampMonotonic": "70651979", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service power-profiles-daemon.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3622", "ExecMainStartTimestamp": "Wed 2022-08-03 16:19:34 UTC", "ExecMainStartTimestampMonotonic": "70653288", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:19:34 UTC] ; stop_time=[n/a] ; pid=3622 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Wed 2022-08-03 16:19:34 UTC] ; stop_time=[n/a] ; pid=3622 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 16:19:34 UTC", "InactiveExitTimestampMonotonic": "70653682", "InvocationID": "651f247a70fb46a1b798b64190a11995", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "15523", "LimitNPROCSoft": "15523", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3622", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17850368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket polkit.service dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:19:34 UTC", "StateChangeTimestampMonotonic": "70934011", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "4657", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 16:20:54 +0000 (0:00:00.594) 0:02:20.536 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.101886", "end": "2022-08-03 16:20:54.329534", "rc": 0, "start": "2022-08-03 16:20:54.227648" } 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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 16:20:54 +0000 (0:00:00.549) 0:02:21.085 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 16:20:54 +0000 (0:00:00.040) 0:02:21.126 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 16:20:54 +0000 (0:00:00.084) 0:02:21.211 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 16:20:54 +0000 (0:00:00.040) 0:02:21.251 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 16:20:55 +0000 (0:00:00.448) 0:02:21.700 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 16:20:57 +0000 (0:00:01.842) 0:02:23.543 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:20:57 +0000 (0:00:00.076) 0:02:23.619 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ActiveEnterTimestampMonotonic": "126684592", "ActiveExitTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ActiveExitTimestampMonotonic": "126450702", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:20:30 UTC", "AssertTimestampMonotonic": "126681898", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4814094000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ConditionTimestampMonotonic": "126681896", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10157", "ExecMainStartTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ExecMainStartTimestampMonotonic": "126683650", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:20:30 UTC] ; stop_time=[n/a] ; pid=10157 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:20:30 UTC] ; stop_time=[n/a] ; pid=10157 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:20:30 UTC", "InactiveEnterTimestampMonotonic": "126672630", "InactiveExitTimestamp": "Wed 2022-08-03 16:20:30 UTC", "InactiveExitTimestampMonotonic": "126684592", "InvocationID": "358120cc4247456080f2cce5f2e8cfc1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10157", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "654184448", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:20:30 UTC", "StateChangeTimestampMonotonic": "126684592", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "142", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:20:57 +0000 (0:00:00.711) 0:02:24.331 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003533", "end": "2022-08-03 16:20:58.024275", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:20:58.020742" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:20:58 +0000 (0:00:00.451) 0:02:24.783 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003608", "end": "2022-08-03 16:20:58.470216", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:20:58.466608" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:20:58 +0000 (0:00:00.449) 0:02:25.232 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:20:58 +0000 (0:00:00.063) 0:02:25.295 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030517", "end": "2022-08-03 16:20:59.011505", "rc": 0, "start": "2022-08-03 16:20:58.980988" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 16:20:59 +0000 (0:00:00.471) 0:02:25.767 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 16:20:59 +0000 (0:00:00.044) 0:02:25.812 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 16:20:59 +0000 (0:00:00.043) 0:02:25.855 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 16:20:59 +0000 (0:00:00.040) 0:02:25.896 ****** ok: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 16:20:59 +0000 (0:00:00.047) 0:02:25.943 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005741", "end": "2022-08-03 16:20:59.704772", "rc": 0, "start": "2022-08-03 16:20:59.699031" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.512) 0:02:26.455 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.044) 0:02:26.500 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.043) 0:02:26.544 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.040) 0:02:26.585 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.039) 0:02:26.624 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.039) 0:02:26.664 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.062) 0:02:26.726 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003494", "end": "2022-08-03 16:21:00.401526", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:21:00.398032" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:21:00 +0000 (0:00:00.428) 0:02:27.155 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.102264", "end": "2022-08-03 16:21:00.955412", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:21:00.853148" } 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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.563) 0:02:27.719 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.083) 0:02:27.803 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.042) 0:02:27.845 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.045) 0:02:27.891 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.044) 0:02:27.936 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.050) 0:02:27.986 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.044) 0:02:28.031 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.043) 0:02:28.075 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.041) 0:02:28.116 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.047) 0:02:28.164 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.044) 0:02:28.209 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.042) 0:02:28.251 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 16:21:01 +0000 (0:00:00.040) 0:02:28.292 ****** changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.ey0bhpya) => { "ansible_loop_var": "item", "changed": true, "checksum": "9fbb729f3c8c79d61d1b3f162113a2eaa3149250", "dest": "/etc/pki/tls/certs/ansible.ey0bhpya", "gid": 991, "group": "mssql", "item": "/tmp/ansible.ey0bhpya", "md5sum": "14a342918518dce42fd60a7482f313bd", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1115, "src": "/tmp/ansible.ey0bhpya", "state": "file", "uid": 991 } changed: [/cache/fedora-36.qcow2.snap] => (item=/tmp/ansible.thbiv3il) => { "ansible_loop_var": "item", "changed": true, "checksum": "438050e38f04233953feaf8ed827e26b62cf6523", "dest": "/etc/pki/tls/private/ansible.thbiv3il", "gid": 991, "group": "mssql", "item": "/tmp/ansible.thbiv3il", "md5sum": "9e353d093381b02efb78863abf2a74ed", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.thbiv3il", "state": "file", "uid": 991 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 16:21:02 +0000 (0:00:00.849) 0:02:29.142 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlscert setting] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:21:02 +0000 (0:00:00.072) 0:02:29.214 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003466", "end": "2022-08-03 16:21:02.894187", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:21:02.890721" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tlscert setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:21:03 +0000 (0:00:00.434) 0:02:29.648 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.ey0bhpya" ], "delta": "0:00:00.100908", "end": "2022-08-03 16:21:03.442926", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:21:03.342018" } 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 tlscert setting] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:21:03 +0000 (0:00:00.565) 0:02:30.214 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 16:21:03 +0000 (0:00:00.050) 0:02:30.264 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlskey setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:21:03 +0000 (0:00:00.074) 0:02:30.338 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004206", "end": "2022-08-03 16:21:04.047026", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:21:04.042820" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tlskey setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:21:04 +0000 (0:00:00.514) 0:02:30.853 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.thbiv3il" ], "delta": "0:00:00.113609", "end": "2022-08-03 16:21:04.676630", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:21:04.563021" } 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 tlskey setting] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:21:05 +0000 (0:00:00.589) 0:02:31.442 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 16:21:05 +0000 (0:00:00.050) 0:02:31.492 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:21:05 +0000 (0:00:00.078) 0:02:31.571 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003734", "end": "2022-08-03 16:21:05.275425", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:21:05.271691" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:21:05 +0000 (0:00:00.466) 0:02:32.037 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.104225", "end": "2022-08-03 16:21:05.855609", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:21:05.751384" } 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 tlsprotocols setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:21:06 +0000 (0:00:00.580) 0:02:32.617 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 16:21:06 +0000 (0:00:00.046) 0:02:32.664 ****** included: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.mssql : Get the network forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:21:06 +0000 (0:00:00.123) 0:02:32.787 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003826", "end": "2022-08-03 16:21:06.494888", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:21:06.491062" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:21:06 +0000 (0:00:00.465) 0:02:33.252 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.101457", "end": "2022-08-03 16:21:07.058784", "failed_when_result": false, "rc": 0, "start": "2022-08-03 16:21:06.957327" } 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 forceencryption setting] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.575) 0:02:33.827 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.048) 0:02:33.876 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.041) 0:02:33.918 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.043) 0:02:33.961 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.041) 0:02:34.003 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.041) 0:02:34.045 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.040) 0:02:34.086 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.041) 0:02:34.128 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.088) 0:02:34.216 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.045) 0:02:34.261 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.044) 0:02:34.306 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:21:07 +0000 (0:00:00.043) 0:02:34.349 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.048) 0:02:34.398 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.041) 0:02:34.439 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.046) 0:02:34.486 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.044) 0:02:34.531 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.044) 0:02:34.575 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.042) 0:02:34.617 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.051) 0:02:34.669 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.048) 0:02:34.717 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.043) 0:02:34.760 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.041) 0:02:34.802 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.045) 0:02:34.847 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.094) 0:02:34.942 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.042) 0:02:34.984 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.041) 0:02:35.026 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.055) 0:02:35.081 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.042) 0:02:35.123 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.042) 0:02:35.166 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.042) 0:02:35.208 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.041) 0:02:35.250 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.042) 0:02:35.293 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.042) 0:02:35.335 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:21:08 +0000 (0:00:00.047) 0:02:35.382 ****** skipping: [/cache/fedora-36.qcow2.snap] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.051) 0:02:35.433 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.041) 0:02:35.475 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.042) 0:02:35.518 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.042) 0:02:35.561 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.551) 0:02:36.112 ****** skipping: [/cache/fedora-36.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/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.049) 0:02:36.162 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Flush handlers] ********************************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:132 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.080) 0:02:36.242 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:21:09 +0000 (0:00:00.000) 0:02:36.243 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ActiveEnterTimestampMonotonic": "126684592", "ActiveExitTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ActiveExitTimestampMonotonic": "126450702", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:20:30 UTC", "AssertTimestampMonotonic": "126681898", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4933037000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ConditionTimestampMonotonic": "126681896", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10157", "ExecMainStartTimestamp": "Wed 2022-08-03 16:20:30 UTC", "ExecMainStartTimestampMonotonic": "126683650", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:20:30 UTC] ; stop_time=[n/a] ; pid=10157 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:20:30 UTC] ; stop_time=[n/a] ; pid=10157 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:20:30 UTC", "InactiveEnterTimestampMonotonic": "126672630", "InactiveExitTimestamp": "Wed 2022-08-03 16:20:30 UTC", "InactiveExitTimestampMonotonic": "126684592", "InvocationID": "358120cc4247456080f2cce5f2e8cfc1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10157", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "655929344", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:20:30 UTC", "StateChangeTimestampMonotonic": "126684592", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "146", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:135 Wednesday 03 August 2022 16:21:10 +0000 (0:00:00.876) 0:02:37.119 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml for /cache/fedora-36.qcow2.snap TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:21:10 +0000 (0:00:00.129) 0:02:37.248 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:21:10 +0000 (0:00:00.102) 0:02:37.351 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:21:11 +0000 (0:00:00.045) 0:02:37.396 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:21:11 +0000 (0:00:00.043) 0:02:37.440 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:21:11 +0000 (0:00:00.048) 0:02:37.489 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:21:11 +0000 (0:00:00.045) 0:02:37.534 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:21:11 +0000 (0:00:00.072) 0:02:37.607 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 16:21:10 UTC", "ActiveEnterTimestampMonotonic": "166747871", "ActiveExitTimestamp": "Wed 2022-08-03 16:21:10 UTC", "ActiveExitTimestampMonotonic": "166518278", "ActiveState": "active", "After": "-.mount sysinit.target systemd-journald.socket auditd.service system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 16:21:10 UTC", "AssertTimestampMonotonic": "166745449", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "1106372000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 16:21:10 UTC", "ConditionTimestampMonotonic": "166745447", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15109", "ExecMainStartTimestamp": "Wed 2022-08-03 16:21:10 UTC", "ExecMainStartTimestampMonotonic": "166747285", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 16:21:10 UTC] ; stop_time=[n/a] ; pid=15109 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; flags= ; start_time=[Wed 2022-08-03 16:21:10 UTC] ; stop_time=[n/a] ; pid=15109 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "FreezerState": "running", "GID": "991", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 16:21:10 UTC", "InactiveEnterTimestampMonotonic": "166737367", "InactiveExitTimestamp": "Wed 2022-08-03 16:21:10 UTC", "InactiveExitTimestampMonotonic": "166747871", "InvocationID": "d60b6ef324064b82a657c6c1c1cbc244", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "infinity", "LimitNOFILESoft": "infinity", "LimitNPROC": "infinity", "LimitNPROCSoft": "infinity", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "15523", "LimitSIGPENDINGSoft": "15523", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "15109", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "170622976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitIntervalUSec": "2min", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2022-08-03 16:21:10 UTC", "StateChangeTimestampMonotonic": "166747871", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "50", "TasksMax": "infinity", "TimeoutAbortUSec": "30min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "30min", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "991", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:21:11 +0000 (0:00:00.615) 0:02:38.222 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003463", "end": "2022-08-03 16:21:11.918798", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:21:11.915335" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:21:12 +0000 (0:00:00.458) 0:02:38.681 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003831", "end": "2022-08-03 16:21:12.377893", "failed_when_result": false, "rc": 1, "start": "2022-08-03 16:21:12.374062" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:21:12 +0000 (0:00:00.506) 0:02:39.187 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:21:12 +0000 (0:00:00.092) 0:02:39.280 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "elapsed": 3, "gid": 991, "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": 6995, "state": "file", "uid": 991 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:21:16 +0000 (0:00:03.466) 0:02:42.747 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.036134", "end": "2022-08-03 16:21:16.514656", "rc": 0, "start": "2022-08-03 16:21:16.478522" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) May 29 2022 15:55:47 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Fedora Linux 36 (Cloud Edition)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:21:16 +0000 (0:00:00.526) 0:02:43.273 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.160) 0:02:43.434 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.045) 0:02:43.480 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.047) 0:02:43.527 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.047) 0:02:43.574 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.044) 0:02:43.618 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.043) 0:02:43.661 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.043) 0:02:43.705 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.044) 0:02:43.749 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.043) 0:02:43.793 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.043) 0:02:43.837 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.043) 0:02:43.880 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlscert setting] ************************************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:21:17 +0000 (0:00:00.072) 0:02:43.953 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005579", "end": "2022-08-03 16:21:17.659623", "rc": 0, "start": "2022-08-03 16:21:17.654044" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.ey0bhpya TASK [Verify the tlscert setting when it is type str] ************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.524) 0:02:44.478 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting when it is type bool] ************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.052) 0:02:44.530 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.ey0bhpya] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.055) 0:02:44.586 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.046) 0:02:44.633 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlskey setting] ************************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.074) 0:02:44.707 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005225", "end": "2022-08-03 16:21:18.398074", "rc": 0, "start": "2022-08-03 16:21:18.392849" } STDOUT: tlskey = /etc/pki/tls/private/ansible.thbiv3il TASK [Verify the tlskey setting when it is type str] *************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.447) 0:02:45.154 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting when it is type bool] ************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.047) 0:02:45.202 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = ansible.thbiv3il] ********************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.051) 0:02:45.253 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.047) 0:02:45.300 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the tlsprotocols setting] ******************************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:21:18 +0000 (0:00:00.074) 0:02:45.374 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005320", "end": "2022-08-03 16:21:19.061496", "rc": 0, "start": "2022-08-03 16:21:19.056176" } STDOUT: tlsprotocols = 1.2 TASK [Verify the tlsprotocols setting when it is type str] ********************* task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:21:19 +0000 (0:00:00.464) 0:02:45.839 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the tlsprotocols setting when it is type bool] ******************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:21:19 +0000 (0:00:00.061) 0:02:45.901 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:21:19 +0000 (0:00:00.045) 0:02:45.947 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:21:19 +0000 (0:00:00.041) 0:02:45.989 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml for /cache/fedora-36.qcow2.snap TASK [Get the value of the forceencryption setting] **************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 03 August 2022 16:21:19 +0000 (0:00:00.070) 0:02:46.060 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005312", "end": "2022-08-03 16:21:19.734139", "rc": 0, "start": "2022-08-03 16:21:19.728827" } STDOUT: forceencryption = 1 TASK [Verify the forceencryption setting when it is type str] ****************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 03 August 2022 16:21:20 +0000 (0:00:00.429) 0:02:46.489 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting when it is type bool] ***************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:26 Wednesday 03 August 2022 16:21:20 +0000 (0:00:00.046) 0:02:46.536 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmpecxeutlk/tests/mssql/tasks/mssql_conf_verify.yml:41 Wednesday 03 August 2022 16:21:20 +0000 (0:00:00.063) 0:02:46.599 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:141 Wednesday 03 August 2022 16:21:20 +0000 (0:00:00.046) 0:02:46.646 ****** included: /tmp/tmpecxeutlk/tests/mssql/tasks/check_header.yml for /cache/fedora-36.qcow2.snap TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmpecxeutlk/tests/mssql/tasks/check_header.yml:4 Wednesday 03 August 2022 16:21:20 +0000 (0:00:00.206) 0:02:46.853 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003465", "end": "2022-08-03 16:21:20.587030", "rc": 0, "start": "2022-08-03 16:21:20.583565" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tlscert = /etc/pki/tls/certs/ansible.ey0bhpya tlskey = /etc/pki/tls/private/ansible.thbiv3il tlsprotocols = 1.2 forceencryption = 1 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=197 changed=34 unreachable=0 failed=0 skipped=303 rescued=0 ignored=0 Wednesday 03 August 2022 16:21:20 +0000 (0:00:00.517) 0:02:47.371 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the mssql-server package ------ 35.96s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.09s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wait for mssql-server to start and prepare for client connections ------- 3.57s /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:65 --------------------- Wait for mssql-server to start and prepare for client connections ------- 3.47s /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:65 --------------------- fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 3.45s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wait for mssql-server to start and prepare for client connections ------- 3.44s /tmp/tmpecxeutlk/tests/mssql/tasks/verify_settings.yml:65 --------------------- Ensure the openssl package ---------------------------------------------- 2.47s /tmp/tmpecxeutlk/tests/mssql/tests_tls_2019.yml:13 ---------------------------- fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 2.41s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Gather system services facts ---------- 2.41s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Gather system services facts ---------- 2.24s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Gather system services facts ---------- 2.22s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Ensure the mssql-server package ------- 2.03s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed --- 2.00s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed --- 1.96s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.90s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.87s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Ensure the mssql-server package ------- 1.87s /tmp/tmpnbi8pp9n/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 --- 1.85s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 1.84s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed --- 1.84s /tmp/tmpnbi8pp9n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137