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/tmpc9shnupj 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 16:35:30 +0000 (0:00:00.017) 0:00:00.017 ****** changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:35:31 +0000 (0:00:01.420) 0:00:01.438 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_password_2017.yml ********************************************** 1 plays in /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml PLAY [Ensure that the role is idempotent when changing the sa user password] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:3 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.013) 0:00:01.452 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Set up MSSQL] ************************************************************ task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:10 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.940) 0:00:02.392 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.090) 0:00:02.483 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.029) 0:00:02.512 ****** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.410) 0:00:02.923 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.068) 0:00:02.992 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.028) 0:00:03.020 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.026) 0:00:03.046 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.021) 0:00:03.068 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.021) 0:00:03.090 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.042) 0:00:03.132 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.046) 0:00:03.179 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.035) 0:00:03.215 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.031) 0:00:03.247 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.033) 0:00:03.280 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.033) 0:00:03.313 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:35:34 +0000 (0:00:01.296) 0:00:04.610 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:35:34 +0000 (0:00:00.061) 0:00:04.672 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:35:35 +0000 (0:00:00.680) 0:00:05.352 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:35:35 +0000 (0:00:00.040) 0:00:05.392 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2017 repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:35:35 +0000 (0:00:00.040) 0:00:05.432 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:35:35 +0000 (0:00:00.315) 0:00:05.747 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3451.2-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3451.2-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.13 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 rhel 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 rhel 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 rhel 41 k\n gdb x86_64 7.6.1-120.el7 rhel 2.4 M\n libatomic x86_64 4.8.5-44.el7 rhel 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.13 rhel 169 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 28 MB/s | 203 MB 00:07 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/7 \n Installing : mssql-server-14.0.3451.2-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3451.2-1.x86_64 3/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3451.2-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.13 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:36:17 +0000 (0:00:41.709) 0:00:47.457 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:36:17 +0000 (0:00:00.030) 0:00:47.488 ****** ok: [/cache/rhel-7.qcow2] => { "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.006116", "end": "2022-08-03 12:36:17.529922", "rc": 0, "start": "2022-08-03 12:36:17.523806" } TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:36:17 +0000 (0:00:00.437) 0:00:47.925 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:36:19 +0000 (0:00:01.133) 0:00:49.058 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:36:19 +0000 (0:00:00.099) 0:00:49.158 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.798052", "end": "2022-08-03 12:36:23.920337", "rc": 0, "start": "2022-08-03 12:36:19.122285" } 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=855862&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 from /etc/systemd/system/multi-user.target.wants/mssql-server.service to /usr/lib/systemd/system/mssql-server.service. TASK [linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:36:24 +0000 (0:00:05.171) 0:00:54.330 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 rhel-optional 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:36:25 +0000 (0:00:01.668) 0:00:55.998 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ActiveEnterTimestampMonotonic": "4909160", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service system.slice network.target basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:35:25 EDT", "AssertTimestampMonotonic": "4692335", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ConditionTimestampMonotonic": "4692335", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ExecMainStartTimestampMonotonic": "4693103", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:35:25 EDT", "InactiveExitTimestampMonotonic": "4693158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:35:25 EDT", "WatchdogTimestampMonotonic": "4909100", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:36:26 +0000 (0:00:00.683) 0:00:56.681 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.133852", "end": "2022-08-03 12:36:26.734397", "rc": 0, "start": "2022-08-03 12:36:26.600545" } STDOUT: Current active profile: virtual-guest TASK [linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:36:27 +0000 (0:00:00.469) 0:00:57.150 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.448194", "end": "2022-08-03 12:36:27.527829", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:36:27.079635" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:36:27 +0000 (0:00:00.794) 0:00:57.945 ****** changed: [/cache/rhel-7.qcow2] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:36:28 +0000 (0:00:00.462) 0:00:58.407 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.155796", "end": "2022-08-03 12:36:29.552237", "rc": 0, "start": "2022-08-03 12:36:28.396441" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:36:29 +0000 (0:00:01.547) 0:00:59.954 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [linux-system-roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:36:30 +0000 (0:00:00.319) 0:01:00.274 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.7-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.7 for package: unixODBC-devel-2.3.7-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.7-1.rh will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.7-1.rh packages-microsoft-com-prod 42 k\nInstalling for dependencies:\n msodbcsql17 x86_64 17.10.1.1-1 packages-microsoft-com-prod 907 k\n unixODBC x86_64 2.3.7-1.rh packages-microsoft-com-prod 213 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+2 Dependent packages)\n\nTotal download size: 1.4 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.8 MB/s | 1.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : unixODBC-2.3.7-1.rh.x86_64 1/4 \n Installing : msodbcsql17-17.10.1.1-1.x86_64 2/4 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 3/4 \n Installing : unixODBC-devel-2.3.7-1.rh.x86_64 4/4 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/4 \n Verifying : msodbcsql17-17.10.1.1-1.x86_64 2/4 \n Verifying : unixODBC-devel-2.3.7-1.rh.x86_64 3/4 \n Verifying : unixODBC-2.3.7-1.rh.x86_64 4/4 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.7-1.rh \n\nDependency Installed:\n msodbcsql17.x86_64 0:17.10.1.1-1 unixODBC.x86_64 0:2.3.7-1.rh \n\nComplete!\n" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:36:34 +0000 (0:00:04.262) 0:01:04.536 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.033) 0:01:04.570 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.035) 0:01:04.606 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.034) 0:01:04.640 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.036) 0:01:04.676 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.034) 0:01:04.710 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.105) 0:01:04.815 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.035) 0:01:04.851 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.034) 0:01:04.885 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.034) 0:01:04.920 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.034) 0:01:04.954 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:36:34 +0000 (0:00:00.043) 0:01:04.998 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.044) 0:01:05.042 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.048) 0:01:05.091 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003994", "end": "2022-08-03 12:36:35.018375", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:36:35.014381" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.330) 0:01:05.421 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049537", "end": "2022-08-03 12:36:35.393256", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:36:35.343719" } 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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.380) 0:01:05.801 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.029) 0:01:05.831 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.043) 0:01:05.875 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.035) 0:01:05.910 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.039) 0:01:05.950 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:36:35 +0000 (0:00:00.038) 0:01:05.988 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.036) 0:01:06.025 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.036) 0:01:06.062 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.076) 0:01:06.138 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.035) 0:01:06.173 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.035) 0:01:06.209 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.032) 0:01:06.241 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.032) 0:01:06.274 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.038) 0:01:06.312 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.035) 0:01:06.347 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.032) 0:01:06.380 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.031) 0:01:06.411 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.031) 0:01:06.443 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.044) 0:01:06.487 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.044) 0:01:06.532 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.043) 0:01:06.576 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.041) 0:01:06.617 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.042) 0:01:06.660 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.041) 0:01:06.702 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.044) 0:01:06.746 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.048) 0:01:06.794 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.044) 0:01:06.838 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.042) 0:01:06.881 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.050) 0:01:06.932 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:36:36 +0000 (0:00:00.042) 0:01:06.974 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.073) 0:01:07.047 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.042) 0:01:07.089 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.042) 0:01:07.132 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.040) 0:01:07.173 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.049) 0:01:07.222 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.046) 0:01:07.269 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.042) 0:01:07.312 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.043) 0:01:07.355 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.044) 0:01:07.400 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.043) 0:01:07.443 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.044) 0:01:07.488 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.041) 0:01:07.529 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.047) 0:01:07.577 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.040) 0:01:07.617 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.043) 0:01:07.661 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.042) 0:01:07.703 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.041) 0:01:07.745 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.044) 0:01:07.789 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.045) 0:01:07.834 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.048) 0:01:07.882 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.048) 0:01:07.931 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:36:37 +0000 (0:00:00.042) 0:01:07.973 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:36:38 +0000 (0:00:00.077) 0:01:08.050 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:36:38 +0000 (0:00:00.042) 0:01:08.092 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:36:38 +0000 (0:00:00.456) 0:01:08.549 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:36:38 +0000 (0:00:00.036) 0:01:08.586 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:18 Wednesday 03 August 2022 16:36:38 +0000 (0:00:00.059) 0:01:08.646 ****** included: /tmp/tmpg0n6vuiy/tests/tasks/mssql-sever-increase-start-limit.yml for /cache/rhel-7.qcow2 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmpg0n6vuiy/tests/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 16:36:38 +0000 (0:00:00.071) 0:01:08.717 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmpg0n6vuiy/tests/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 16:36:39 +0000 (0:00:00.449) 0:01:09.167 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 16:36:39 +0000 (0:00:00.311) 0:01:09.478 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:36:23 EDT", "ActiveEnterTimestampMonotonic": "63303535", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:36:23 EDT", "AssertTimestampMonotonic": "63302178", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:36:23 EDT", "ConditionTimestampMonotonic": "63302178", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8836", "ExecMainStartTimestamp": "Wed 2022-08-03 12:36:23 EDT", "ExecMainStartTimestampMonotonic": "63303454", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:36:23 EDT", "InactiveExitTimestampMonotonic": "63303535", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8836", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:36:23 EDT", "WatchdogTimestampMonotonic": "63303504", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:21 Wednesday 03 August 2022 16:36:40 +0000 (0:00:01.423) 0:01:10.901 ****** META: ran handlers TASK [Change the password with default settings. Should report Changed.] ******* task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:24 Wednesday 03 August 2022 16:36:40 +0000 (0:00:00.017) 0:01:10.918 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.170) 0:01:11.089 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.053) 0:01:11.142 ****** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.454) 0:01:11.596 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.075) 0:01:11.672 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.039) 0:01:11.712 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.039) 0:01:11.751 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.033) 0:01:11.784 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.068) 0:01:11.853 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.058) 0:01:11.912 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.057) 0:01:11.970 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.043) 0:01:12.014 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.043) 0:01:12.057 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.046) 0:01:12.103 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.045) 0:01:12.149 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.885) 0:01:13.035 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.044) 0:01:13.080 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.633) 0:01:13.713 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.043) 0:01:13.757 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.109) 0:01:13.866 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.049) 0:01:13.916 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.573) 0:01:14.490 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.032) 0:01:14.523 ****** ok: [/cache/rhel-7.qcow2] => { "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.006904", "end": "2022-08-03 12:36:44.444300", "rc": 0, "start": "2022-08-03 12:36:44.437396" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.321) 0:01:14.844 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:36:45 +0000 (0:00:01.022) 0:01:15.867 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.048) 0:01:15.915 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.050) 0:01:15.966 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:36:46 +0000 (0:00:00.560) 0:01:16.527 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ActiveEnterTimestampMonotonic": "4909160", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target network.target systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:35:25 EDT", "AssertTimestampMonotonic": "4692335", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ConditionTimestampMonotonic": "4692335", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ExecMainStartTimestampMonotonic": "4693103", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:35:25 EDT", "InactiveExitTimestampMonotonic": "4693158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:35:25 EDT", "WatchdogTimestampMonotonic": "4909100", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:36:46 +0000 (0:00:00.414) 0:01:16.941 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.104188", "end": "2022-08-03 12:36:46.948445", "rc": 0, "start": "2022-08-03 12:36:46.844257" } 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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:36:47 +0000 (0:00:00.408) 0:01:17.349 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:36:47 +0000 (0:00:00.032) 0:01:17.382 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:36:47 +0000 (0:00:00.031) 0:01:17.414 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:36:47 +0000 (0:00:00.033) 0:01:17.447 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:36:47 +0000 (0:00:00.351) 0:01:17.799 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.538) 0:01:18.337 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.063) 0:01:18.400 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ActiveEnterTimestampMonotonic": "79972488", "ActiveExitTimestamp": "Wed 2022-08-03 12:36:39 EDT", "ActiveExitTimestampMonotonic": "79076282", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:36:40 EDT", "AssertTimestampMonotonic": "79970312", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ConditionTimestampMonotonic": "79970312", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9828", "ExecMainStartTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ExecMainStartTimestampMonotonic": "79972357", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:36:40 EDT] ; stop_time=[n/a] ; pid=9828 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:36:40 EDT", "InactiveEnterTimestampMonotonic": "79960674", "InactiveExitTimestamp": "Wed 2022-08-03 12:36:40 EDT", "InactiveExitTimestampMonotonic": "79972488", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9828", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:36:40 EDT", "WatchdogTimestampMonotonic": "79972452", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:36:48 +0000 (0:00:00.437) 0:01:18.837 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004026", "end": "2022-08-03 12:36:48.755792", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:36:48.751766" } MSG: non-zero return code TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.319) 0:01:19.156 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003537", "end": "2022-08-03 12:36:49.081216", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:36:49.077679" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.326) 0:01:19.483 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD11" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.077) 0:01:19.561 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030222", "end": "2022-08-03 12:36:49.505426", "rc": 1, "start": "2022-08-03 12:36:49.475204" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.343) 0:01:19.904 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ActiveEnterTimestampMonotonic": "79972488", "ActiveExitTimestamp": "Wed 2022-08-03 12:36:39 EDT", "ActiveExitTimestampMonotonic": "79076282", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:36:40 EDT", "AssertTimestampMonotonic": "79970312", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ConditionTimestampMonotonic": "79970312", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9828", "ExecMainStartTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ExecMainStartTimestampMonotonic": "79972357", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:36:40 EDT] ; stop_time=[n/a] ; pid=9828 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:36:40 EDT", "InactiveEnterTimestampMonotonic": "79960674", "InactiveExitTimestamp": "Wed 2022-08-03 12:36:40 EDT", "InactiveExitTimestampMonotonic": "79972488", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9828", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:36:40 EDT", "WatchdogTimestampMonotonic": "79972452", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:36:54 +0000 (0:00:04.793) 0:01:24.698 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.405661", "end": "2022-08-03 12:36:58.059097", "rc": 0, "start": "2022-08-03 12:36:54.653436" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:36:58 +0000 (0:00:03.766) 0:01:28.464 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.086) 0:01:28.551 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.044) 0:01:28.595 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.037) 0:01:28.633 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.038) 0:01:28.671 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.036) 0:01:28.708 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.036) 0:01:28.744 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.043) 0:01:28.788 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.047) 0:01:28.835 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:36:58 +0000 (0:00:00.051) 0:01:28.886 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005281", "end": "2022-08-03 12:36:59.813279", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:36:58.807998" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:37:00 +0000 (0:00:01.329) 0:01:30.216 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049920", "end": "2022-08-03 12:37:00.195843", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:00.145923" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.422) 0:01:30.638 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.031) 0:01:30.669 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.046) 0:01:30.716 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.037) 0:01:30.753 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.037) 0:01:30.791 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.037) 0:01:30.829 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.038) 0:01:30.867 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.038) 0:01:30.906 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.036) 0:01:30.942 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.036) 0:01:30.979 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.037) 0:01:31.017 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.036) 0:01:31.053 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.038) 0:01:31.092 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.040) 0:01:31.132 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.037) 0:01:31.170 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.037) 0:01:31.207 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.037) 0:01:31.245 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.037) 0:01:31.282 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.048) 0:01:31.330 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.046) 0:01:31.377 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.047) 0:01:31.424 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.041) 0:01:31.466 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.084) 0:01:31.550 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.046) 0:01:31.596 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.046) 0:01:31.642 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.053) 0:01:31.696 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.048) 0:01:31.745 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.045) 0:01:31.790 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.054) 0:01:31.845 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.046) 0:01:31.891 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.052) 0:01:31.943 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.047) 0:01:31.991 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.048) 0:01:32.040 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.046) 0:01:32.087 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.053) 0:01:32.140 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.048) 0:01:32.188 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.048) 0:01:32.237 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.044) 0:01:32.281 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.050) 0:01:32.332 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.045) 0:01:32.378 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.048) 0:01:32.426 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.042) 0:01:32.468 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.050) 0:01:32.519 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.044) 0:01:32.564 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.088) 0:01:32.652 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.046) 0:01:32.699 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.044) 0:01:32.743 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.046) 0:01:32.790 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.045) 0:01:32.835 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.048) 0:01:32.884 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.049) 0:01:32.933 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.044) 0:01:32.977 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.041) 0:01:33.019 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.045) 0:01:33.064 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.384) 0:01:33.449 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.035) 0:01:33.484 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:32 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.055) 0:01:33.540 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.000) 0:01:33.540 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ActiveEnterTimestampMonotonic": "79972488", "ActiveExitTimestamp": "Wed 2022-08-03 12:36:49 EDT", "ActiveExitTimestampMonotonic": "89423368", "ActiveState": "inactive", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:36:40 EDT", "AssertTimestampMonotonic": "79970312", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ConditionTimestampMonotonic": "79970312", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:36:54 EDT", "ExecMainExitTimestampMonotonic": "93762122", "ExecMainPID": "9828", "ExecMainStartTimestamp": "Wed 2022-08-03 12:36:40 EDT", "ExecMainStartTimestampMonotonic": "79972357", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:36:40 EDT] ; stop_time=[Wed 2022-08-03 12:36:54 EDT] ; pid=9828 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:36:54 EDT", "InactiveEnterTimestampMonotonic": "93762237", "InactiveExitTimestamp": "Wed 2022-08-03 12:36:40 EDT", "InactiveExitTimestampMonotonic": "79972488", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:35 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.444) 0:01:33.985 ****** included: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml for /cache/rhel-7.qcow2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.150) 0:01:34.135 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.036) 0:01:34.172 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.036) 0:01:34.208 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.037) 0:01:34.246 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.034) 0:01:34.280 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.035) 0:01:34.316 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.061) 0:01:34.378 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:37:03 EDT", "ActiveEnterTimestampMonotonic": "103059158", "ActiveExitTimestamp": "Wed 2022-08-03 12:36:49 EDT", "ActiveExitTimestampMonotonic": "89423368", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:37:03 EDT", "AssertTimestampMonotonic": "103058316", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:37:03 EDT", "ConditionTimestampMonotonic": "103058315", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11399", "ExecMainStartTimestamp": "Wed 2022-08-03 12:37:03 EDT", "ExecMainStartTimestampMonotonic": "103059086", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:37:03 EDT] ; stop_time=[n/a] ; pid=11399 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:36:54 EDT", "InactiveEnterTimestampMonotonic": "93762237", "InactiveExitTimestamp": "Wed 2022-08-03 12:37:03 EDT", "InactiveExitTimestampMonotonic": "103059158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11399", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:37:03 EDT", "WatchdogTimestampMonotonic": "103059133", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.414) 0:01:34.793 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004588", "end": "2022-08-03 12:37:04.718576", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:04.713988" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.327) 0:01:35.120 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.007671", "end": "2022-08-03 12:37:05.060555", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:37:05.052884" } MSG: non-zero return code TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.352) 0:01:35.472 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.080) 0:01:35.553 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "elapsed": 3, "gid": 994, "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": 7079, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:37:09 +0000 (0:00:03.506) 0:01:39.060 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031269", "end": "2022-08-03 12:37:09.016444", "rc": 0, "start": "2022-08-03 12:37:08.985175" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.357) 0:01:39.418 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.049) 0:01:39.468 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.036) 0:01:39.504 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.035) 0:01:39.540 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.034) 0:01:39.574 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.033) 0:01:39.607 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.031) 0:01:39.639 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.032) 0:01:39.671 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.031) 0:01:39.702 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.061) 0:01:39.764 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.036) 0:01:39.800 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.035) 0:01:39.836 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.033) 0:01:39.870 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.033) 0:01:39.904 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.032) 0:01:39.936 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the IP address setting.] ****************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:40 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.032) 0:01:39.969 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.192) 0:01:40.162 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.050) 0:01:40.212 ****** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.421) 0:01:40.634 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.120) 0:01:40.754 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.125) 0:01:40.880 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.039) 0:01:40.919 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.033) 0:01:40.953 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.032) 0:01:40.986 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.055) 0:01:41.042 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.052) 0:01:41.094 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.059) 0:01:41.154 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.045) 0:01:41.199 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.048) 0:01:41.248 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.044) 0:01:41.292 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.878) 0:01:42.171 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.045) 0:01:42.216 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.573) 0:01:42.790 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.045) 0:01:42.835 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.045) 0:01:42.881 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.051) 0:01:42.932 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:37:13 +0000 (0:00:00.529) 0:01:43.462 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:37:13 +0000 (0:00:00.032) 0:01:43.494 ****** ok: [/cache/rhel-7.qcow2] => { "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.006808", "end": "2022-08-03 12:37:13.411796", "rc": 0, "start": "2022-08-03 12:37:13.404988" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:37:13 +0000 (0:00:00.320) 0:01:43.815 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:37:14 +0000 (0:00:01.028) 0:01:44.843 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:37:14 +0000 (0:00:00.056) 0:01:44.900 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:37:14 +0000 (0:00:00.097) 0:01:44.997 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:37:15 +0000 (0:00:00.566) 0:01:45.564 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ActiveEnterTimestampMonotonic": "4909160", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target network.target systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:35:25 EDT", "AssertTimestampMonotonic": "4692335", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ConditionTimestampMonotonic": "4692335", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ExecMainStartTimestampMonotonic": "4693103", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:35:25 EDT", "InactiveExitTimestampMonotonic": "4693158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:35:25 EDT", "WatchdogTimestampMonotonic": "4909100", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:37:15 +0000 (0:00:00.411) 0:01:45.975 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.117233", "end": "2022-08-03 12:37:16.016879", "rc": 0, "start": "2022-08-03 12:37:15.899646" } 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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:37:16 +0000 (0:00:00.450) 0:01:46.425 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:37:16 +0000 (0:00:00.033) 0:01:46.459 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:37:16 +0000 (0:00:00.033) 0:01:46.493 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:37:16 +0000 (0:00:00.029) 0:01:46.522 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:37:16 +0000 (0:00:00.344) 0:01:46.867 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.519) 0:01:47.386 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.035) 0:01:47.421 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.036) 0:01:47.458 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.078) 0:01:47.536 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.037) 0:01:47.574 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.040) 0:01:47.614 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.043) 0:01:47.657 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.042) 0:01:47.700 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.036) 0:01:47.736 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.039) 0:01:47.776 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Get the network ipaddress setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:37:17 +0000 (0:00:00.059) 0:01:47.836 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004921", "end": "2022-08-03 12:37:17.774438", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:37:17.769517" } MSG: non-zero return code TASK [linux-system-roles.mssql : Configure the network ipaddress setting] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:37:18 +0000 (0:00:00.341) 0:01:48.177 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.048183", "end": "2022-08-03 12:37:18.158907", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:18.110724" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network ipaddress setting] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:37:18 +0000 (0:00:00.392) 0:01:48.569 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:37:18 +0000 (0:00:00.034) 0:01:48.604 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:37:18 +0000 (0:00:00.046) 0:01:48.650 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:37:18 +0000 (0:00:00.044) 0:01:48.695 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:37:18 +0000 (0:00:00.052) 0:01:48.748 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003718", "end": "2022-08-03 12:37:18.675529", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:18.671811" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.376) 0:01:49.124 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.051) 0:01:49.176 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.032) 0:01:49.208 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.044) 0:01:49.253 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.043) 0:01:49.296 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.041) 0:01:49.338 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.038) 0:01:49.377 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.037) 0:01:49.414 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.037) 0:01:49.452 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.038) 0:01:49.490 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.036) 0:01:49.526 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.038) 0:01:49.565 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.037) 0:01:49.602 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.036) 0:01:49.638 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.038) 0:01:49.677 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.034) 0:01:49.712 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.033) 0:01:49.746 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.034) 0:01:49.780 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.034) 0:01:49.815 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.046) 0:01:49.861 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:37:19 +0000 (0:00:00.044) 0:01:49.906 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.102) 0:01:50.008 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.043) 0:01:50.051 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.046) 0:01:50.098 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.043) 0:01:50.141 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.046) 0:01:50.188 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.049) 0:01:50.237 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.045) 0:01:50.283 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.045) 0:01:50.328 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.053) 0:01:50.381 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.046) 0:01:50.428 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.044) 0:01:50.472 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.043) 0:01:50.516 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.042) 0:01:50.559 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.045) 0:01:50.604 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.049) 0:01:50.654 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.047) 0:01:50.701 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.047) 0:01:50.748 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.043) 0:01:50.791 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.042) 0:01:50.834 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.045) 0:01:50.879 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.042) 0:01:50.922 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:37:20 +0000 (0:00:00.040) 0:01:50.962 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.090) 0:01:51.053 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.046) 0:01:51.099 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.045) 0:01:51.145 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.043) 0:01:51.188 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.044) 0:01:51.232 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.043) 0:01:51.276 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.044) 0:01:51.320 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.050) 0:01:51.371 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.050) 0:01:51.421 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.045) 0:01:51.467 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.047) 0:01:51.514 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.045) 0:01:51.559 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.352) 0:01:51.912 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:37:21 +0000 (0:00:00.034) 0:01:51.947 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:46 Wednesday 03 August 2022 16:37:22 +0000 (0:00:00.064) 0:01:52.011 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:37:22 +0000 (0:00:00.000) 0:01:52.011 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:37:03 EDT", "ActiveEnterTimestampMonotonic": "103059158", "ActiveExitTimestamp": "Wed 2022-08-03 12:36:49 EDT", "ActiveExitTimestampMonotonic": "89423368", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:37:03 EDT", "AssertTimestampMonotonic": "103058316", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:37:03 EDT", "ConditionTimestampMonotonic": "103058315", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11399", "ExecMainStartTimestamp": "Wed 2022-08-03 12:37:03 EDT", "ExecMainStartTimestampMonotonic": "103059086", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:37:03 EDT] ; stop_time=[n/a] ; pid=11399 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:36:54 EDT", "InactiveEnterTimestampMonotonic": "93762237", "InactiveExitTimestamp": "Wed 2022-08-03 12:37:03 EDT", "InactiveExitTimestampMonotonic": "103059158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11399", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:37:03 EDT", "WatchdogTimestampMonotonic": "103059133", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom IP address. Should report Changed.] **** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:49 Wednesday 03 August 2022 16:37:22 +0000 (0:00:00.749) 0:01:52.761 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:37:22 +0000 (0:00:00.239) 0:01:53.001 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.051) 0:01:53.053 ****** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.432) 0:01:53.485 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.075) 0:01:53.560 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.042) 0:01:53.603 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.041) 0:01:53.645 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.034) 0:01:53.680 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.033) 0:01:53.713 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.157) 0:01:53.870 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.054) 0:01:53.924 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:37:23 +0000 (0:00:00.049) 0:01:53.974 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:37:24 +0000 (0:00:00.043) 0:01:54.017 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:37:24 +0000 (0:00:00.044) 0:01:54.062 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:37:24 +0000 (0:00:00.041) 0:01:54.103 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:37:25 +0000 (0:00:00.936) 0:01:55.039 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:37:25 +0000 (0:00:00.047) 0:01:55.086 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:37:25 +0000 (0:00:00.579) 0:01:55.666 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:37:25 +0000 (0:00:00.042) 0:01:55.708 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:37:25 +0000 (0:00:00.044) 0:01:55.753 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:37:25 +0000 (0:00:00.098) 0:01:55.851 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:37:26 +0000 (0:00:00.543) 0:01:56.395 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:37:26 +0000 (0:00:00.039) 0:01:56.435 ****** ok: [/cache/rhel-7.qcow2] => { "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.006823", "end": "2022-08-03 12:37:26.364996", "rc": 0, "start": "2022-08-03 12:37:26.358173" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:37:26 +0000 (0:00:00.334) 0:01:56.769 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:37:27 +0000 (0:00:01.012) 0:01:57.781 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:37:27 +0000 (0:00:00.054) 0:01:57.835 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:37:27 +0000 (0:00:00.052) 0:01:57.888 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:37:28 +0000 (0:00:00.506) 0:01:58.395 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ActiveEnterTimestampMonotonic": "4909160", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target network.target systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:35:25 EDT", "AssertTimestampMonotonic": "4692335", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ConditionTimestampMonotonic": "4692335", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ExecMainStartTimestampMonotonic": "4693103", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:35:25 EDT", "InactiveExitTimestampMonotonic": "4693158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:35:25 EDT", "WatchdogTimestampMonotonic": "4909100", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:37:28 +0000 (0:00:00.395) 0:01:58.791 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.109520", "end": "2022-08-03 12:37:28.882465", "rc": 0, "start": "2022-08-03 12:37:28.772945" } 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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:37:29 +0000 (0:00:00.495) 0:01:59.286 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:37:29 +0000 (0:00:00.031) 0:01:59.317 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:37:29 +0000 (0:00:00.083) 0:01:59.401 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:37:29 +0000 (0:00:00.033) 0:01:59.435 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:37:29 +0000 (0:00:00.331) 0:01:59.767 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:37:30 +0000 (0:00:00.509) 0:02:00.277 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:37:30 +0000 (0:00:00.060) 0:02:00.337 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ActiveEnterTimestampMonotonic": "121837211", "ActiveExitTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ActiveExitTimestampMonotonic": "121534361", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:37:22 EDT", "AssertTimestampMonotonic": "121836302", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ConditionTimestampMonotonic": "121836302", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12785", "ExecMainStartTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ExecMainStartTimestampMonotonic": "121837156", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:37:22 EDT] ; stop_time=[n/a] ; pid=12785 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:37:22 EDT", "InactiveEnterTimestampMonotonic": "121835255", "InactiveExitTimestamp": "Wed 2022-08-03 12:37:22 EDT", "InactiveExitTimestampMonotonic": "121837211", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12785", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:37:22 EDT", "WatchdogTimestampMonotonic": "121837189", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:37:30 +0000 (0:00:00.402) 0:02:00.740 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003763", "end": "2022-08-03 12:37:30.659931", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:30.656168" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.321) 0:02:01.061 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003602", "end": "2022-08-03 12:37:30.978946", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:30.975344" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.318) 0:02:01.380 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.066) 0:02:01.446 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030118", "end": "2022-08-03 12:37:31.386737", "rc": 1, "start": "2022-08-03 12:37:31.356619" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.342) 0:02:01.789 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ActiveEnterTimestampMonotonic": "121837211", "ActiveExitTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ActiveExitTimestampMonotonic": "121534361", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:37:22 EDT", "AssertTimestampMonotonic": "121836302", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ConditionTimestampMonotonic": "121836302", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12785", "ExecMainStartTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ExecMainStartTimestampMonotonic": "121837156", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:37:22 EDT] ; stop_time=[n/a] ; pid=12785 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:37:22 EDT", "InactiveEnterTimestampMonotonic": "121835255", "InactiveExitTimestamp": "Wed 2022-08-03 12:37:22 EDT", "InactiveExitTimestampMonotonic": "121837211", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12785", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:37:22 EDT", "WatchdogTimestampMonotonic": "121837189", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:37:36 +0000 (0:00:04.377) 0:02:06.166 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.475854", "end": "2022-08-03 12:37:39.554012", "rc": 0, "start": "2022-08-03 12:37:36.078158" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:37:39 +0000 (0:00:03.797) 0:02:09.964 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.036) 0:02:10.000 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.044) 0:02:10.044 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.035) 0:02:10.080 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.037) 0:02:10.117 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.036) 0:02:10.154 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.034) 0:02:10.188 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.041) 0:02:10.230 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.049) 0:02:10.280 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.051) 0:02:10.331 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003682", "end": "2022-08-03 12:37:40.266740", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:40.263058" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.338) 0:02:10.670 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.048) 0:02:10.719 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.030) 0:02:10.749 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.044) 0:02:10.794 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.035) 0:02:10.829 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.095) 0:02:10.924 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.038) 0:02:10.963 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.037) 0:02:11.001 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.037) 0:02:11.039 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.043) 0:02:11.082 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.042) 0:02:11.124 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.038) 0:02:11.163 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.036) 0:02:11.199 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.036) 0:02:11.236 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.039) 0:02:11.276 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.036) 0:02:11.313 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.037) 0:02:11.350 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.038) 0:02:11.389 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.040) 0:02:11.429 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.045) 0:02:11.475 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.044) 0:02:11.519 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.045) 0:02:11.565 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.045) 0:02:11.611 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.043) 0:02:11.655 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.040) 0:02:11.695 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.041) 0:02:11.737 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.049) 0:02:11.787 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.105) 0:02:11.892 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.045) 0:02:11.938 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.053) 0:02:11.991 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.045) 0:02:12.036 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.046) 0:02:12.083 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.046) 0:02:12.129 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.048) 0:02:12.177 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.044) 0:02:12.222 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.047) 0:02:12.269 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.050) 0:02:12.320 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.047) 0:02:12.367 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.046) 0:02:12.413 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.045) 0:02:12.459 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.046) 0:02:12.505 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.046) 0:02:12.552 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.045) 0:02:12.598 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.056) 0:02:12.655 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.046) 0:02:12.701 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.049) 0:02:12.750 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.047) 0:02:12.798 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.049) 0:02:12.848 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.047) 0:02:12.895 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.126) 0:02:13.021 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.052) 0:02:13.073 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.056) 0:02:13.130 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.045) 0:02:13.176 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.047) 0:02:13.223 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.045) 0:02:13.269 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.374) 0:02:13.643 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.037) 0:02:13.681 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:57 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.061) 0:02:13.742 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.000) 0:02:13.742 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ActiveEnterTimestampMonotonic": "121837211", "ActiveExitTimestamp": "Wed 2022-08-03 12:37:31 EDT", "ActiveExitTimestampMonotonic": "131280950", "ActiveState": "inactive", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:37:22 EDT", "AssertTimestampMonotonic": "121836302", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ConditionTimestampMonotonic": "121836302", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:37:35 EDT", "ExecMainExitTimestampMonotonic": "135240727", "ExecMainPID": "12785", "ExecMainStartTimestamp": "Wed 2022-08-03 12:37:22 EDT", "ExecMainStartTimestampMonotonic": "121837156", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:37:22 EDT] ; stop_time=[Wed 2022-08-03 12:37:35 EDT] ; pid=12785 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:37:35 EDT", "InactiveEnterTimestampMonotonic": "135240907", "InactiveExitTimestamp": "Wed 2022-08-03 12:37:22 EDT", "InactiveExitTimestampMonotonic": "121837211", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:60 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.444) 0:02:14.187 ****** included: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml for /cache/rhel-7.qcow2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.150) 0:02:14.337 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.097) 0:02:14.435 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.038) 0:02:14.473 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.039) 0:02:14.513 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.037) 0:02:14.550 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.038) 0:02:14.589 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.058) 0:02:14.647 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:37:43 EDT", "ActiveEnterTimestampMonotonic": "143257416", "ActiveExitTimestamp": "Wed 2022-08-03 12:37:31 EDT", "ActiveExitTimestampMonotonic": "131280950", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:37:43 EDT", "AssertTimestampMonotonic": "143256487", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:37:43 EDT", "ConditionTimestampMonotonic": "143256486", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14283", "ExecMainStartTimestamp": "Wed 2022-08-03 12:37:43 EDT", "ExecMainStartTimestampMonotonic": "143257335", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:37:43 EDT] ; stop_time=[n/a] ; pid=14283 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:37:35 EDT", "InactiveEnterTimestampMonotonic": "135240907", "InactiveExitTimestamp": "Wed 2022-08-03 12:37:43 EDT", "InactiveExitTimestampMonotonic": "143257416", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14283", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:37:43 EDT", "WatchdogTimestampMonotonic": "143257384", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.395) 0:02:15.043 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004735", "end": "2022-08-03 12:37:44.989703", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:44.984968" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.353) 0:02:15.396 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.007295", "end": "2022-08-03 12:37:45.325237", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:45.317942" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.333) 0:02:15.729 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.084) 0:02:15.814 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "elapsed": 3, "gid": 994, "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": 7002, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:37:49 +0000 (0:00:03.337) 0:02:19.152 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025500", "end": "2022-08-03 12:37:49.136500", "rc": 0, "start": "2022-08-03 12:37:49.111000" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.383) 0:02:19.535 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.047) 0:02:19.583 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.036) 0:02:19.619 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.038) 0:02:19.658 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.039) 0:02:19.697 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.037) 0:02:19.734 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.038) 0:02:19.773 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.037) 0:02:19.810 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.037) 0:02:19.848 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.036) 0:02:19.885 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.037) 0:02:19.923 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.036) 0:02:19.959 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.037) 0:02:19.997 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.036) 0:02:20.034 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.036) 0:02:20.070 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the TCP port setting.] ******************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:65 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.033) 0:02:20.104 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.369) 0:02:20.473 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.055) 0:02:20.528 ****** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.428) 0:02:20.957 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.081) 0:02:21.038 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.041) 0:02:21.080 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.037) 0:02:21.118 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.035) 0:02:21.153 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.036) 0:02:21.189 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.060) 0:02:21.249 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.055) 0:02:21.305 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.047) 0:02:21.353 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.045) 0:02:21.398 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.133) 0:02:21.532 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.048) 0:02:21.580 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:37:52 +0000 (0:00:00.838) 0:02:22.418 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:37:52 +0000 (0:00:00.045) 0:02:22.464 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:37:53 +0000 (0:00:00.560) 0:02:23.024 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:37:53 +0000 (0:00:00.044) 0:02:23.068 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:37:53 +0000 (0:00:00.044) 0:02:23.113 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:37:53 +0000 (0:00:00.051) 0:02:23.165 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:37:53 +0000 (0:00:00.505) 0:02:23.671 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:37:53 +0000 (0:00:00.030) 0:02:23.701 ****** ok: [/cache/rhel-7.qcow2] => { "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.006674", "end": "2022-08-03 12:37:53.686144", "rc": 0, "start": "2022-08-03 12:37:53.679470" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:37:54 +0000 (0:00:00.388) 0:02:24.089 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:37:55 +0000 (0:00:01.005) 0:02:25.095 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:37:55 +0000 (0:00:00.051) 0:02:25.147 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:37:55 +0000 (0:00:00.058) 0:02:25.205 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:37:55 +0000 (0:00:00.540) 0:02:25.745 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ActiveEnterTimestampMonotonic": "4909160", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target network.target systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:35:25 EDT", "AssertTimestampMonotonic": "4692335", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ConditionTimestampMonotonic": "4692335", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ExecMainStartTimestampMonotonic": "4693103", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:35:25 EDT", "InactiveExitTimestampMonotonic": "4693158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:35:25 EDT", "WatchdogTimestampMonotonic": "4909100", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:37:56 +0000 (0:00:00.414) 0:02:26.160 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.105454", "end": "2022-08-03 12:37:56.183686", "rc": 0, "start": "2022-08-03 12:37:56.078232" } 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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:37:56 +0000 (0:00:00.429) 0:02:26.590 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:37:56 +0000 (0:00:00.033) 0:02:26.623 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:37:56 +0000 (0:00:00.033) 0:02:26.657 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:37:56 +0000 (0:00:00.031) 0:02:26.688 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.337) 0:02:27.025 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.512) 0:02:27.538 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.097) 0:02:27.636 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.040) 0:02:27.677 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.043) 0:02:27.720 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.040) 0:02:27.760 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.043) 0:02:27.803 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.044) 0:02:27.848 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.044) 0:02:27.892 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.037) 0:02:27.930 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:37:57 +0000 (0:00:00.043) 0:02:27.974 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.037) 0:02:28.011 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1432 TCP port] ************************************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.050) 0:02:28.062 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1432] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.048) 0:02:28.111 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.054) 0:02:28.165 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003937", "end": "2022-08-03 12:37:58.109002", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:58.105065" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.349) 0:02:28.514 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1432" ], "delta": "0:00:00.051815", "end": "2022-08-03 12:37:58.505834", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:37:58.454019" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.407) 0:02:28.922 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.033) 0:02:28.955 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:37:58 +0000 (0:00:00.047) 0:02:29.003 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.039) 0:02:29.042 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.040) 0:02:29.083 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.039) 0:02:29.122 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.098) 0:02:29.221 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.038) 0:02:29.260 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.038) 0:02:29.298 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.037) 0:02:29.336 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.039) 0:02:29.375 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.038) 0:02:29.414 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.044) 0:02:29.459 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.040) 0:02:29.500 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.036) 0:02:29.537 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.034) 0:02:29.571 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.037) 0:02:29.609 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.040) 0:02:29.650 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.049) 0:02:29.700 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.045) 0:02:29.745 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.047) 0:02:29.793 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.042) 0:02:29.835 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.049) 0:02:29.885 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.047) 0:02:29.933 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:37:59 +0000 (0:00:00.067) 0:02:30.000 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.055) 0:02:30.055 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.048) 0:02:30.104 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.045) 0:02:30.149 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.141) 0:02:30.291 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.048) 0:02:30.339 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.049) 0:02:30.389 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.045) 0:02:30.434 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.047) 0:02:30.482 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.047) 0:02:30.529 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.054) 0:02:30.583 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.053) 0:02:30.636 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.050) 0:02:30.687 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.047) 0:02:30.734 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.048) 0:02:30.783 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.047) 0:02:30.830 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.047) 0:02:30.878 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.046) 0:02:30.924 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:38:00 +0000 (0:00:00.055) 0:02:30.980 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.047) 0:02:31.028 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.048) 0:02:31.077 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.058) 0:02:31.135 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.046) 0:02:31.182 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.044) 0:02:31.227 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.049) 0:02:31.276 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.051) 0:02:31.327 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.119) 0:02:31.446 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.047) 0:02:31.494 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.048) 0:02:31.543 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.047) 0:02:31.590 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.360) 0:02:31.951 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:38:01 +0000 (0:00:00.038) 0:02:31.990 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:71 Wednesday 03 August 2022 16:38:02 +0000 (0:00:00.067) 0:02:32.057 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:38:02 +0000 (0:00:00.000) 0:02:32.057 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:37:43 EDT", "ActiveEnterTimestampMonotonic": "143257416", "ActiveExitTimestamp": "Wed 2022-08-03 12:37:31 EDT", "ActiveExitTimestampMonotonic": "131280950", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:37:43 EDT", "AssertTimestampMonotonic": "143256487", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:37:43 EDT", "ConditionTimestampMonotonic": "143256486", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14283", "ExecMainStartTimestamp": "Wed 2022-08-03 12:37:43 EDT", "ExecMainStartTimestampMonotonic": "143257335", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:37:43 EDT] ; stop_time=[n/a] ; pid=14283 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:37:35 EDT", "InactiveEnterTimestampMonotonic": "135240907", "InactiveExitTimestamp": "Wed 2022-08-03 12:37:43 EDT", "InactiveExitTimestampMonotonic": "143257416", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14283", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:37:43 EDT", "WatchdogTimestampMonotonic": "143257384", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom TCP port and IP address. Should report Changed.] *** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:74 Wednesday 03 August 2022 16:38:02 +0000 (0:00:00.634) 0:02:32.692 ****** TASK [linux-system-roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:3 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.371) 0:02:33.063 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure ansible_facts used by role] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.054) 0:02:33.117 ****** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.mssql : Set platform/version specific variables] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:11 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.511) 0:02:33.629 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:8 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.082) 0:02:33.712 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [linux-system-roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:12 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.043) 0:02:33.755 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:16 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.046) 0:02:33.801 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:22 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.038) 0:02:33.840 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:27 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.039) 0:02:33.879 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:39 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.058) 0:02:33.938 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:44 Wednesday 03 August 2022 16:38:03 +0000 (0:00:00.064) 0:02:34.003 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:55 Wednesday 03 August 2022 16:38:04 +0000 (0:00:00.047) 0:02:34.051 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:63 Wednesday 03 August 2022 16:38:04 +0000 (0:00:00.048) 0:02:34.099 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:72 Wednesday 03 August 2022 16:38:04 +0000 (0:00:00.044) 0:02:34.144 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Gather package facts] ************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 Wednesday 03 August 2022 16:38:04 +0000 (0:00:00.045) 0:02:34.189 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:90 Wednesday 03 August 2022 16:38:05 +0000 (0:00:00.911) 0:02:35.101 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 Wednesday 03 August 2022 16:38:05 +0000 (0:00:00.046) 0:02:35.147 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [linux-system-roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:107 Wednesday 03 August 2022 16:38:05 +0000 (0:00:00.662) 0:02:35.810 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:118 Wednesday 03 August 2022 16:38:05 +0000 (0:00:00.046) 0:02:35.857 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 Wednesday 03 August 2022 16:38:05 +0000 (0:00:00.048) 0:02:35.905 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server package] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 Wednesday 03 August 2022 16:38:05 +0000 (0:00:00.052) 0:02:35.958 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:142 Wednesday 03 August 2022 16:38:06 +0000 (0:00:00.530) 0:02:36.488 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 Wednesday 03 August 2022 16:38:06 +0000 (0:00:00.034) 0:02:36.523 ****** ok: [/cache/rhel-7.qcow2] => { "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.006799", "end": "2022-08-03 12:38:06.441424", "rc": 0, "start": "2022-08-03 12:38:06.434625" } STDOUT: /var/opt/mssql/log/errorlog TASK [linux-system-roles.mssql : Gather system services facts] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 Wednesday 03 August 2022 16:38:06 +0000 (0:00:00.323) 0:02:36.847 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:179 Wednesday 03 August 2022 16:38:07 +0000 (0:00:00.969) 0:02:37.816 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set up MSSQL] ********************************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 Wednesday 03 August 2022 16:38:07 +0000 (0:00:00.054) 0:02:37.871 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 Wednesday 03 August 2022 16:38:07 +0000 (0:00:00.052) 0:02:37.924 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [linux-system-roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 Wednesday 03 August 2022 16:38:08 +0000 (0:00:00.597) 0:02:38.522 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ActiveEnterTimestampMonotonic": "4909160", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target network.target systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:35:25 EDT", "AssertTimestampMonotonic": "4692335", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ConditionTimestampMonotonic": "4692335", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "944", "ExecMainStartTimestamp": "Wed 2022-08-03 12:35:25 EDT", "ExecMainStartTimestampMonotonic": "4693103", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 12:35:25 EDT", "InactiveExitTimestampMonotonic": "4693158", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:35:25 EDT", "WatchdogTimestampMonotonic": "4909100", "WatchdogUSec": "0" } } TASK [linux-system-roles.mssql : Get the active Tuned profiles] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 Wednesday 03 August 2022 16:38:08 +0000 (0:00:00.401) 0:02:38.923 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.101987", "end": "2022-08-03 12:38:08.941149", "rc": 0, "start": "2022-08-03 12:38:08.839162" } 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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 Wednesday 03 August 2022 16:38:09 +0000 (0:00:00.439) 0:02:39.362 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 Wednesday 03 August 2022 16:38:09 +0000 (0:00:00.050) 0:02:39.413 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 Wednesday 03 August 2022 16:38:09 +0000 (0:00:00.043) 0:02:39.456 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:251 Wednesday 03 August 2022 16:38:09 +0000 (0:00:00.033) 0:02:39.490 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 Wednesday 03 August 2022 16:38:09 +0000 (0:00:00.338) 0:02:39.828 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [linux-system-roles.mssql : Prepare MSSQL and facts for logging in] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:270 Wednesday 03 August 2022 16:38:10 +0000 (0:00:00.593) 0:02:40.421 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:38:10 +0000 (0:00:00.060) 0:02:40.482 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ActiveEnterTimestampMonotonic": "161761340", "ActiveExitTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ActiveExitTimestampMonotonic": "161573578", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:38:02 EDT", "AssertTimestampMonotonic": "161760437", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ConditionTimestampMonotonic": "161760437", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15622", "ExecMainStartTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ExecMainStartTimestampMonotonic": "161761280", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:38:02 EDT] ; stop_time=[n/a] ; pid=15622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:38:02 EDT", "InactiveEnterTimestampMonotonic": "161759894", "InactiveExitTimestamp": "Wed 2022-08-03 12:38:02 EDT", "InactiveExitTimestampMonotonic": "161761340", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:38:02 EDT", "WatchdogTimestampMonotonic": "161761319", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:38:10 +0000 (0:00:00.416) 0:02:40.898 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004054", "end": "2022-08-03 12:38:10.813328", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:38:10.809274" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:38:11 +0000 (0:00:00.317) 0:02:41.216 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003619", "end": "2022-08-03 12:38:11.134558", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:38:11.130939" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:38:11 +0000 (0:00:00.322) 0:02:41.538 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1432 -U sa -P p@55w0rD11" }, "changed": false } TASK [linux-system-roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:275 Wednesday 03 August 2022 16:38:11 +0000 (0:00:00.069) 0:02:41.607 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1432", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.033864", "end": "2022-08-03 12:38:11.637584", "rc": 1, "start": "2022-08-03 12:38:11.603720" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 Wednesday 03 August 2022 16:38:12 +0000 (0:00:00.432) 0:02:42.040 ****** NOTIFIED HANDLER linux-system-roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ActiveEnterTimestampMonotonic": "161761340", "ActiveExitTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ActiveExitTimestampMonotonic": "161573578", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:38:02 EDT", "AssertTimestampMonotonic": "161760437", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ConditionTimestampMonotonic": "161760437", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15622", "ExecMainStartTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ExecMainStartTimestampMonotonic": "161761280", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:38:02 EDT] ; stop_time=[n/a] ; pid=15622 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:38:02 EDT", "InactiveEnterTimestampMonotonic": "161759894", "InactiveExitTimestamp": "Wed 2022-08-03 12:38:02 EDT", "InactiveExitTimestampMonotonic": "161761340", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15622", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:38:02 EDT", "WatchdogTimestampMonotonic": "161761319", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Change the password of the sa user] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 Wednesday 03 August 2022 16:38:15 +0000 (0:00:03.784) 0:02:45.824 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.740550", "end": "2022-08-03 12:38:19.502697", "rc": 0, "start": "2022-08-03 12:38:15.762147" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:296 Wednesday 03 August 2022 16:38:19 +0000 (0:00:04.087) 0:02:49.912 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_pre_input_sql_file fact] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:302 Wednesday 03 August 2022 16:38:19 +0000 (0:00:00.047) 0:02:49.960 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:311 Wednesday 03 August 2022 16:38:19 +0000 (0:00:00.040) 0:02:50.000 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:324 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.038) 0:02:50.038 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Change the edition of MSSQL] ****************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:331 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.036) 0:02:50.075 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the IP address setting] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:340 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.037) 0:02:50.112 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Register the previous tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:347 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.034) 0:02:50.147 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:354 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.045) 0:02:50.193 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the TCP port setting to 1433] ******* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:365 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.044) 0:02:50.237 ****** included: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.mssql : Get the network tcpport setting] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.118) 0:02:50.355 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004038", "end": "2022-08-03 12:38:20.274859", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:38:20.270821" } STDOUT: tcpport = 1432 TASK [linux-system-roles.mssql : Configure the network tcpport setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 16:38:20 +0000 (0:00:00.347) 0:02:50.703 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049845", "end": "2022-08-03 12:38:20.681958", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:38:20.632113" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [linux-system-roles.mssql : Unset the network tcpport setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.389) 0:02:51.093 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:371 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.031) 0:02:51.124 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the sqlagent setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:389 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.045) 0:02:51.170 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-fts package] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:396 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.035) 0:02:51.205 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the powershell package] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:403 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.038) 0:02:51.243 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:412 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.034) 0:02:51.278 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the hadrenabled setting] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:418 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.041) 0:02:51.320 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Check if the 3979 trace flag is enabled] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:427 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.037) 0:02:51.357 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set the 3979 traceflag] *********************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:433 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.039) 0:02:51.397 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the 3979 traceflag] ********************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:439 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.036) 0:02:51.433 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:446 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.042) 0:02:51.475 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the writethrough setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:452 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.037) 0:02:51.513 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:463 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.040) 0:02:51.553 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlscert setting] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:479 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.040) 0:02:51.594 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlskey setting] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:488 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.042) 0:02:51.636 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the tlsprotocols setting] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:497 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.037) 0:02:51.674 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Configure the forceencryption setting] ******** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:504 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.047) 0:02:51.721 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:514 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.042) 0:02:51.764 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Set host variables] *************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:533 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.050) 0:02:51.815 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:544 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.047) 0:02:51.862 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:550 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.049) 0:02:51.912 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:557 Wednesday 03 August 2022 16:38:21 +0000 (0:00:00.045) 0:02:51.957 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:565 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.048) 0:02:52.006 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate from SQL Server] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:570 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.045) 0:02:52.052 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Remove certificate and private key files] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:576 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.048) 0:02:52.100 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:585 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.051) 0:02:52.151 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create and back up certificate] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:590 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.149) 0:02:52.301 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:596 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.047) 0:02:52.348 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:608 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.052) 0:02:52.401 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:613 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.047) 0:02:52.448 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:619 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.044) 0:02:52.492 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:624 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.045) 0:02:52.538 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:629 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.043) 0:02:52.581 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Back up and replicate the database] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:634 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.044) 0:02:52.626 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:641 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.048) 0:02:52.674 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Fail if the primary node failed] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:668 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.051) 0:02:52.726 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Ensure the mssql-server-ha package] *********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:675 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.043) 0:02:52.769 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable the hadrenabled setting] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:681 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.044) 0:02:52.814 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:688 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.042) 0:02:52.857 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Enable AlwaysOn Health events] **************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:696 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.044) 0:02:52.901 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create master key encryption] ***************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:701 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.043) 0:02:52.944 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:706 Wednesday 03 August 2022 16:38:22 +0000 (0:00:00.044) 0:02:52.988 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:718 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.052) 0:02:53.041 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Restore certificate] ************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:724 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.045) 0:02:53.087 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create database mirroring endpoints] ********** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:729 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.043) 0:02:53.130 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Create the login] **************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:734 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.045) 0:02:53.175 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:739 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.043) 0:02:53.219 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Grant permissions to the login] ************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:744 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.136) 0:02:53.355 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:749 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.046) 0:02:53.402 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:756 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.052) 0:02:53.455 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:769 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.050) 0:02:53.506 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:780 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.047) 0:02:53.554 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Verify if the database exists] *************** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:785 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.046) 0:02:53.601 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 Wednesday 03 August 2022 16:38:23 +0000 (0:00:00.048) 0:02:53.649 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [linux-system-roles.mssql : Input the sql file to SQL Server] ************ task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:802 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.428) 0:02:54.078 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.mssql : Unset the mssql_post_input_sql_file fact] ***** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:808 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.039) 0:02:54.117 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:82 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.064) 0:02:54.181 ****** RUNNING HANDLER [linux-system-roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/handlers/main.yml:3 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.000) 0:02:54.181 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ActiveEnterTimestampMonotonic": "161761340", "ActiveExitTimestamp": "Wed 2022-08-03 12:38:12 EDT", "ActiveExitTimestampMonotonic": "171544369", "ActiveState": "inactive", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:38:02 EDT", "AssertTimestampMonotonic": "161760437", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ConditionTimestampMonotonic": "161760437", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 12:38:15 EDT", "ExecMainExitTimestampMonotonic": "174892872", "ExecMainPID": "15622", "ExecMainStartTimestamp": "Wed 2022-08-03 12:38:02 EDT", "ExecMainStartTimestampMonotonic": "161761280", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:38:02 EDT] ; stop_time=[Wed 2022-08-03 12:38:15 EDT] ; pid=15622 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:38:15 EDT", "InactiveEnterTimestampMonotonic": "174893062", "InactiveExitTimestamp": "Wed 2022-08-03 12:38:02 EDT", "InactiveExitTimestampMonotonic": "161761340", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:85 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.443) 0:02:54.625 ****** included: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml for /cache/rhel-7.qcow2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:8 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.266) 0:02:54.891 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:23 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.037) 0:02:54.928 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:36 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.034) 0:02:54.963 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:40 Wednesday 03 August 2022 16:38:24 +0000 (0:00:00.036) 0:02:54.999 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:47 Wednesday 03 August 2022 16:38:25 +0000 (0:00:00.036) 0:02:55.035 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:57 Wednesday 03 August 2022 16:38:25 +0000 (0:00:00.038) 0:02:55.074 ****** TASK [linux-system-roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 16:38:25 +0000 (0:00:00.059) 0:02:55.133 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:38:24 EDT", "ActiveEnterTimestampMonotonic": "183695044", "ActiveExitTimestamp": "Wed 2022-08-03 12:38:12 EDT", "ActiveExitTimestampMonotonic": "171544369", "ActiveState": "active", "After": "system.slice -.mount network.target auditd.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:38:24 EDT", "AssertTimestampMonotonic": "183694154", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 12:38:24 EDT", "ConditionTimestampMonotonic": "183694153", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "17177", "ExecMainStartTimestamp": "Wed 2022-08-03 12:38:24 EDT", "ExecMainStartTimestampMonotonic": "183694962", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 12:38:24 EDT] ; stop_time=[n/a] ; pid=17177 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 12:38:15 EDT", "InactiveEnterTimestampMonotonic": "174893062", "InactiveExitTimestamp": "Wed 2022-08-03 12:38:24 EDT", "InactiveExitTimestampMonotonic": "183695044", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "17177", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 12:38:24 EDT", "WatchdogTimestampMonotonic": "183695014", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [linux-system-roles.mssql : Check if a custom tcpport setting exist] ****** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 16:38:25 +0000 (0:00:00.416) 0:02:55.550 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003766", "end": "2022-08-03 12:38:25.484147", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:38:25.480381" } STDOUT: tcpport = 1433 TASK [linux-system-roles.mssql : Check if a custom ipaddress setting exist] **** task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 16:38:25 +0000 (0:00:00.339) 0:02:55.889 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003760", "end": "2022-08-03 12:38:25.854403", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:38:25.850643" } STDOUT: ipaddress = 127.0.0.1 TASK [linux-system-roles.mssql : Set a fact with a password query] ************* task path: /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 16:38:26 +0000 (0:00:00.369) 0:02:56.259 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:65 Wednesday 03 August 2022 16:38:26 +0000 (0:00:00.087) 0:02:56.347 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "elapsed": 3, "gid": 994, "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": 7002, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:72 Wednesday 03 August 2022 16:38:29 +0000 (0:00:03.352) 0:02:59.699 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026157", "end": "2022-08-03 12:38:29.727781", "rc": 0, "start": "2022-08-03 12:38:29.701624" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:78 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.431) 0:03:00.130 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:82 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.050) 0:03:00.180 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:89 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.038) 0:03:00.219 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:96 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.049) 0:03:00.268 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:107 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.040) 0:03:00.309 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:113 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.043) 0:03:00.352 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:123 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.038) 0:03:00.391 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:128 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.041) 0:03:00.433 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:133 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.037) 0:03:00.470 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:139 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.040) 0:03:00.511 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:145 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.038) 0:03:00.549 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:155 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.042) 0:03:00.591 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:163 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.038) 0:03:00.630 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:171 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.042) 0:03:00.672 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:179 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.037) 0:03:00.709 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmpg0n6vuiy/tests/tests_password_2017.yml:90 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.042) 0:03:00.752 ****** included: /tmp/tmpg0n6vuiy/tests/tasks/check_header.yml for /cache/rhel-7.qcow2 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmpg0n6vuiy/tests/tasks/check_header.yml:4 Wednesday 03 August 2022 16:38:30 +0000 (0:00:00.193) 0:03:00.946 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003689", "end": "2022-08-03 12:38:31.010069", "rc": 0, "start": "2022-08-03 12:38:31.006380" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tcpport = 1433 ipaddress = 127.0.0.1 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=206 changed=33 unreachable=0 failed=0 skipped=527 rescued=0 ignored=3 Wednesday 03 August 2022 16:38:31 +0000 (0:00:00.488) 0:03:01.435 ****** =============================================================================== linux-system-roles.mssql : Ensure the mssql-server package ------------- 41.71s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 8.58s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 ------ linux-system-roles.mssql : Change the password of the sa user ----------- 7.85s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 ------ linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.17s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 ------ linux-system-roles.mssql : Ensure that the mssql-server service is stopped --- 4.38s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:281 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 4.26s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ linux-system-roles.mssql : Change the password of the sa user ----------- 3.80s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:288 ------ Wait for mssql-server to start and prepare for client connections ------- 3.51s /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:65 --------------------------- Wait for mssql-server to start and prepare for client connections ------- 3.35s /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:65 --------------------------- Wait for mssql-server to start and prepare for client connections ------- 3.34s /tmp/tmpg0n6vuiy/tests/tasks/verify_settings.yml:65 --------------------------- linux-system-roles.mssql : Gather system services facts ----------------- 1.99s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Gather package facts ------------------------- 1.80s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.67s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:198 ------ linux-system-roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.55s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 ------ Reload service daemon --------------------------------------------------- 1.42s /tmp/tmpg0n6vuiy/tests/tasks/mssql-sever-increase-start-limit.yml:17 ---------- set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.mssql : Get the network tcpport setting -------------- 1.33s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:3 linux-system-roles.mssql : Gather package facts ------------------------- 1.30s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 1.30s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 ------ linux-system-roles.mssql : Ensure that the mssql-server service is started --- 1.23s /tmp/tmpg0n6vuiy/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/tmpc9shnupj 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 17:04:18 +0000 (0:00:00.017) 0:00:00.017 ****** changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:04:19 +0000 (0:00:01.415) 0:00:01.432 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_password_2017.yml ********************************************** 1 plays in /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml PLAY [Ensure that the role is idempotent when changing the sa user password] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:3 Wednesday 03 August 2022 17:04:19 +0000 (0:00:00.013) 0:00:01.446 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Set up MSSQL] ************************************************************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:10 Wednesday 03 August 2022 17:04:20 +0000 (0:00:00.996) 0:00:02.442 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:04:20 +0000 (0:00:00.118) 0:00:02.561 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:04:20 +0000 (0:00:00.031) 0:00:02.592 ****** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.428) 0:00:03.021 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.068) 0:00:03.090 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.029) 0:00:03.119 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.028) 0:00:03.147 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.023) 0:00:03.170 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.023) 0:00:03.193 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.047) 0:00:03.241 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.044) 0:00:03.285 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.033) 0:00:03.319 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.032) 0:00:03.352 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.031) 0:00:03.384 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:04:21 +0000 (0:00:00.032) 0:00:03.416 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:04:22 +0000 (0:00:01.217) 0:00:04.634 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:04:23 +0000 (0:00:00.054) 0:00:04.688 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:04:23 +0000 (0:00:00.771) 0:00:05.460 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:04:23 +0000 (0:00:00.044) 0:00:05.504 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2017 repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:04:23 +0000 (0:00:00.044) 0:00:05.549 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:04:24 +0000 (0:00:00.351) 0:00:05.900 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3451.2-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3451.2-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3451.2-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.13 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3451.2-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 rhel 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 rhel 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 rhel 41 k\n gdb x86_64 7.6.1-120.el7 rhel 2.4 M\n libatomic x86_64 4.8.5-44.el7 rhel 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.13 rhel 169 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 29 MB/s | 203 MB 00:06 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libatomic-4.8.5-44.el7.x86_64 6/7 \n Installing : mssql-server-14.0.3451.2-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3451.2-1.x86_64 3/7 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3451.2-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.13 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:05:05 +0000 (0:00:41.221) 0:00:47.122 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:05:05 +0000 (0:00:00.029) 0:00:47.152 ****** ok: [/cache/rhel-7.qcow2] => { "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.006679", "end": "2022-08-03 13:05:05.185289", "rc": 0, "start": "2022-08-03 13:05:05.178610" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:05:05 +0000 (0:00:00.444) 0:00:47.596 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:05:07 +0000 (0:00:01.172) 0:00:48.769 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:05:07 +0000 (0:00:00.094) 0:00:48.863 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:04.575845", "end": "2022-08-03 13:05:11.365830", "rc": 0, "start": "2022-08-03 13:05:06.789985" } 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=855862&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 from /etc/systemd/system/multi-user.target.wants/mssql-server.service to /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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:05:12 +0000 (0:00:04.927) 0:00:53.791 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 rhel-optional 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:05:13 +0000 (0:00:01.674) 0:00:55.466 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ActiveEnterTimestampMonotonic": "4927654", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice dbus.service basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:04:13 EDT", "AssertTimestampMonotonic": "4669520", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ConditionTimestampMonotonic": "4669520", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "958", "ExecMainStartTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ExecMainStartTimestampMonotonic": "4670347", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 13:04:13 EDT", "InactiveExitTimestampMonotonic": "4670398", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "958", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:04:13 EDT", "WatchdogTimestampMonotonic": "4927562", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:05:14 +0000 (0:00:00.674) 0:00:56.140 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.127743", "end": "2022-08-03 13:05:14.177327", "rc": 0, "start": "2022-08-03 13:05:14.049584" } 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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:05:14 +0000 (0:00:00.453) 0:00:56.593 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.027127", "end": "2022-08-03 13:05:15.547657", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:05:14.520530" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:05:16 +0000 (0:00:01.374) 0:00:57.968 ****** changed: [/cache/rhel-7.qcow2] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:05:16 +0000 (0:00:00.472) 0:00:58.440 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.213553", "end": "2022-08-03 13:05:17.565232", "rc": 0, "start": "2022-08-03 13:05:16.351679" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:05:18 +0000 (0:00:01.546) 0:00:59.986 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:05:18 +0000 (0:00:00.354) 0:01:00.341 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.7-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.7 for package: unixODBC-devel-2.3.7-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.7-1.rh will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.7-1.rh packages-microsoft-com-prod 42 k\nInstalling for dependencies:\n msodbcsql17 x86_64 17.10.1.1-1 packages-microsoft-com-prod 907 k\n unixODBC x86_64 2.3.7-1.rh packages-microsoft-com-prod 213 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+2 Dependent packages)\n\nTotal download size: 1.4 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.7 MB/s | 1.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : unixODBC-2.3.7-1.rh.x86_64 1/4 \n Installing : msodbcsql17-17.10.1.1-1.x86_64 2/4 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 3/4 \n Installing : unixODBC-devel-2.3.7-1.rh.x86_64 4/4 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/4 \n Verifying : msodbcsql17-17.10.1.1-1.x86_64 2/4 \n Verifying : unixODBC-devel-2.3.7-1.rh.x86_64 3/4 \n Verifying : unixODBC-2.3.7-1.rh.x86_64 4/4 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.7-1.rh \n\nDependency Installed:\n msodbcsql17.x86_64 0:17.10.1.1-1 unixODBC.x86_64 0:2.3.7-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:05:22 +0000 (0:00:04.283) 0:01:04.624 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:05:22 +0000 (0:00:00.035) 0:01:04.659 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.035) 0:01:04.695 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.033) 0:01:04.728 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.034) 0:01:04.763 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.033) 0:01:04.796 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.071) 0:01:04.868 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.034) 0:01:04.902 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.063) 0:01:04.966 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.035) 0:01:05.001 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.035) 0:01:05.036 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.043) 0:01:05.080 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.043) 0:01:05.123 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.050) 0:01:05.174 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004193", "end": "2022-08-03 13:05:23.079912", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:05:23.075719" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:05:23 +0000 (0:00:00.322) 0:01:05.496 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049921", "end": "2022-08-03 13:05:23.479864", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:05:23.429943" } 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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.414) 0:01:05.910 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:05.945 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.046) 0:01:05.992 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.035) 0:01:06.027 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.062 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.096 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.131 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.033) 0:01:06.165 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.199 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.234 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.077) 0:01:06.311 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.345 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.380 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.037) 0:01:06.417 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.452 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.032) 0:01:06.484 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.518 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.034) 0:01:06.553 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.042) 0:01:06.595 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:05:24 +0000 (0:00:00.042) 0:01:06.637 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.042) 0:01:06.679 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.044) 0:01:06.724 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.045) 0:01:06.770 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.044) 0:01:06.815 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.044) 0:01:06.859 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.048) 0:01:06.908 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.043) 0:01:06.952 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.041) 0:01:06.994 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.048) 0:01:07.042 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.041) 0:01:07.084 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.042) 0:01:07.127 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.042) 0:01:07.169 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.073) 0:01:07.242 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.045) 0:01:07.288 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.051) 0:01:07.339 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.050) 0:01:07.389 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.047) 0:01:07.437 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.044) 0:01:07.482 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.044) 0:01:07.526 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.041) 0:01:07.568 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.042) 0:01:07.611 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:05:25 +0000 (0:00:00.042) 0:01:07.653 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.052) 0:01:07.706 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.043) 0:01:07.749 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.045) 0:01:07.795 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.045) 0:01:07.841 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.046) 0:01:07.887 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.045) 0:01:07.932 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.046) 0:01:07.978 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.048) 0:01:08.027 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.051) 0:01:08.079 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.043) 0:01:08.122 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.042) 0:01:08.165 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:05:26 +0000 (0:00:00.041) 0:01:08.207 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:05:27 +0000 (0:00:00.482) 0:01:08.689 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:05:27 +0000 (0:00:00.034) 0:01:08.724 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:18 Wednesday 03 August 2022 17:05:27 +0000 (0:00:00.062) 0:01:08.787 ****** included: /tmp/tmpjm0ncwf7/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for /cache/rhel-7.qcow2 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 03 August 2022 17:05:27 +0000 (0:00:00.071) 0:01:08.858 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 03 August 2022 17:05:27 +0000 (0:00:00.449) 0:01:09.307 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 03 August 2022 17:05:27 +0000 (0:00:00.303) 0:01:09.610 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:05:11 EDT", "ActiveEnterTimestampMonotonic": "62756782", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:05:11 EDT", "AssertTimestampMonotonic": "62755643", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:05:11 EDT", "ConditionTimestampMonotonic": "62755643", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8855", "ExecMainStartTimestamp": "Wed 2022-08-03 13:05:11 EDT", "ExecMainStartTimestampMonotonic": "62756710", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 13:05:11 EDT", "InactiveExitTimestampMonotonic": "62756782", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8855", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:05:11 EDT", "WatchdogTimestampMonotonic": "62756754", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [Flush handlers] ********************************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:21 Wednesday 03 August 2022 17:05:28 +0000 (0:00:00.716) 0:01:10.327 ****** META: ran handlers TASK [Change the password with default settings. Should report Changed.] ******* task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:24 Wednesday 03 August 2022 17:05:28 +0000 (0:00:00.017) 0:01:10.345 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:05:28 +0000 (0:00:00.205) 0:01:10.550 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:05:28 +0000 (0:00:00.053) 0:01:10.603 ****** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.446) 0:01:11.050 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.082) 0:01:11.133 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.040) 0:01:11.174 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.043) 0:01:11.217 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.034) 0:01:11.251 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.035) 0:01:11.286 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.062) 0:01:11.348 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.065) 0:01:11.414 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.043) 0:01:11.457 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.043) 0:01:11.501 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.041) 0:01:11.542 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:05:29 +0000 (0:00:00.080) 0:01:11.623 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:05:30 +0000 (0:00:00.905) 0:01:12.528 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:05:30 +0000 (0:00:00.044) 0:01:12.573 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:05:31 +0000 (0:00:00.587) 0:01:13.161 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:05:31 +0000 (0:00:00.043) 0:01:13.204 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:05:31 +0000 (0:00:00.046) 0:01:13.250 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:05:31 +0000 (0:00:00.050) 0:01:13.301 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:05:32 +0000 (0:00:00.550) 0:01:13.851 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:05:32 +0000 (0:00:00.063) 0:01:13.914 ****** ok: [/cache/rhel-7.qcow2] => { "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.006315", "end": "2022-08-03 13:05:31.811738", "rc": 0, "start": "2022-08-03 13:05:31.805423" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:05:32 +0000 (0:00:00.314) 0:01:14.229 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:05:33 +0000 (0:00:00.970) 0:01:15.200 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:05:33 +0000 (0:00:00.052) 0:01:15.252 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:05:33 +0000 (0:00:00.053) 0:01:15.305 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:05:34 +0000 (0:00:00.517) 0:01:15.823 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ActiveEnterTimestampMonotonic": "4927654", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service systemd-journald.socket basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:04:13 EDT", "AssertTimestampMonotonic": "4669520", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ConditionTimestampMonotonic": "4669520", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "958", "ExecMainStartTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ExecMainStartTimestampMonotonic": "4670347", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 13:04:13 EDT", "InactiveExitTimestampMonotonic": "4670398", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "958", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:04:13 EDT", "WatchdogTimestampMonotonic": "4927562", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:05:34 +0000 (0:00:00.407) 0:01:16.230 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.118213", "end": "2022-08-03 13:05:34.272770", "rc": 0, "start": "2022-08-03 13:05:34.154557" } 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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:05:35 +0000 (0:00:00.460) 0:01:16.690 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:05:35 +0000 (0:00:00.065) 0:01:16.756 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:05:35 +0000 (0:00:00.054) 0:01:16.811 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:05:35 +0000 (0:00:00.037) 0:01:16.848 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:05:35 +0000 (0:00:00.315) 0:01:17.163 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:05:35 +0000 (0:00:00.512) 0:01:17.676 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:05:36 +0000 (0:00:00.058) 0:01:17.734 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ActiveEnterTimestampMonotonic": "79393787", "ActiveExitTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ActiveExitTimestampMonotonic": "79171871", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:05:27 EDT", "AssertTimestampMonotonic": "79392869", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ConditionTimestampMonotonic": "79392869", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9846", "ExecMainStartTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ExecMainStartTimestampMonotonic": "79393709", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:05:27 EDT] ; stop_time=[n/a] ; pid=9846 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:05:27 EDT", "InactiveEnterTimestampMonotonic": "79381326", "InactiveExitTimestamp": "Wed 2022-08-03 13:05:27 EDT", "InactiveExitTimestampMonotonic": "79393787", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:05:27 EDT", "WatchdogTimestampMonotonic": "79393764", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:05:36 +0000 (0:00:00.388) 0:01:18.123 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003977", "end": "2022-08-03 13:05:36.017802", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:05:36.013825" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:05:36 +0000 (0:00:00.309) 0:01:18.432 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003755", "end": "2022-08-03 13:05:36.329122", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:05:36.325367" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:05:37 +0000 (0:00:00.312) 0:01:18.744 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -U sa -P p@55w0rD11" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:05:37 +0000 (0:00:00.066) 0:01:18.811 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031715", "end": "2022-08-03 13:05:36.798951", "rc": 1, "start": "2022-08-03 13:05:36.767236" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:05:37 +0000 (0:00:00.405) 0:01:19.217 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ActiveEnterTimestampMonotonic": "79393787", "ActiveExitTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ActiveExitTimestampMonotonic": "79171871", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:05:27 EDT", "AssertTimestampMonotonic": "79392869", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ConditionTimestampMonotonic": "79392869", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9846", "ExecMainStartTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ExecMainStartTimestampMonotonic": "79393709", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:05:27 EDT] ; stop_time=[n/a] ; pid=9846 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:05:27 EDT", "InactiveEnterTimestampMonotonic": "79381326", "InactiveExitTimestamp": "Wed 2022-08-03 13:05:27 EDT", "InactiveExitTimestampMonotonic": "79393787", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:05:27 EDT", "WatchdogTimestampMonotonic": "79393764", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:05:42 +0000 (0:00:04.559) 0:01:23.776 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.389580", "end": "2022-08-03 13:05:45.089591", "rc": 0, "start": "2022-08-03 13:05:41.700011" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:05:45 +0000 (0:00:03.735) 0:01:27.512 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:05:45 +0000 (0:00:00.039) 0:01:27.551 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:05:45 +0000 (0:00:00.044) 0:01:27.596 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:05:45 +0000 (0:00:00.039) 0:01:27.635 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:05:45 +0000 (0:00:00.037) 0:01:27.672 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:05:46 +0000 (0:00:00.038) 0:01:27.711 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:05:46 +0000 (0:00:00.036) 0:01:27.748 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:05:46 +0000 (0:00:00.049) 0:01:27.798 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:05:46 +0000 (0:00:00.045) 0:01:27.844 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:05:46 +0000 (0:00:00.099) 0:01:27.943 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004166", "end": "2022-08-03 13:05:45.870014", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:05:45.865848" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:05:46 +0000 (0:00:00.350) 0:01:28.293 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.052305", "end": "2022-08-03 13:05:46.275269", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:05:46.222964" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.411) 0:01:28.705 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.033) 0:01:28.739 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.047) 0:01:28.786 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.038) 0:01:28.825 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.039) 0:01:28.864 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.037) 0:01:28.902 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.038) 0:01:28.940 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.036) 0:01:28.977 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.037) 0:01:29.014 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.036) 0:01:29.050 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.037) 0:01:29.087 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.036) 0:01:29.124 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.038) 0:01:29.162 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.040) 0:01:29.203 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.038) 0:01:29.241 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.092) 0:01:29.334 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.038) 0:01:29.372 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.038) 0:01:29.410 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.046) 0:01:29.457 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.045) 0:01:29.502 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.045) 0:01:29.548 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.044) 0:01:29.593 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:05:47 +0000 (0:00:00.045) 0:01:29.639 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.045) 0:01:29.684 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.046) 0:01:29.731 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.048) 0:01:29.780 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.043) 0:01:29.823 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.043) 0:01:29.867 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.050) 0:01:29.917 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.044) 0:01:29.962 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.045) 0:01:30.007 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.043) 0:01:30.051 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.045) 0:01:30.097 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.043) 0:01:30.141 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.049) 0:01:30.190 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.048) 0:01:30.238 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.079) 0:01:30.318 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.047) 0:01:30.365 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.047) 0:01:30.413 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.046) 0:01:30.459 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.045) 0:01:30.504 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.043) 0:01:30.548 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.053) 0:01:30.601 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:05:48 +0000 (0:00:00.045) 0:01:30.647 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.047) 0:01:30.694 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.047) 0:01:30.742 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.047) 0:01:30.789 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.047) 0:01:30.837 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.047) 0:01:30.885 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.058) 0:01:30.943 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.057) 0:01:31.000 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.047) 0:01:31.048 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.048) 0:01:31.097 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.046) 0:01:31.143 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.415) 0:01:31.559 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:05:49 +0000 (0:00:00.036) 0:01:31.596 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:32 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.163) 0:01:31.759 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.000) 0:01:31.759 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ActiveEnterTimestampMonotonic": "79393787", "ActiveExitTimestamp": "Wed 2022-08-03 13:05:37 EDT", "ActiveExitTimestampMonotonic": "88724476", "ActiveState": "inactive", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:05:27 EDT", "AssertTimestampMonotonic": "79392869", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ConditionTimestampMonotonic": "79392869", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 13:05:41 EDT", "ExecMainExitTimestampMonotonic": "92821146", "ExecMainPID": "9846", "ExecMainStartTimestamp": "Wed 2022-08-03 13:05:27 EDT", "ExecMainStartTimestampMonotonic": "79393709", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:05:27 EDT] ; stop_time=[Wed 2022-08-03 13:05:41 EDT] ; pid=9846 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:05:41 EDT", "InactiveEnterTimestampMonotonic": "92821273", "InactiveExitTimestamp": "Wed 2022-08-03 13:05:27 EDT", "InactiveExitTimestampMonotonic": "79393787", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:35 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.446) 0:01:32.206 ****** included: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml for /cache/rhel-7.qcow2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.101) 0:01:32.308 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.034) 0:01:32.342 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.038) 0:01:32.381 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.049) 0:01:32.430 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.037) 0:01:32.467 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.036) 0:01:32.504 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:05:50 +0000 (0:00:00.063) 0:01:32.567 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:05:49 EDT", "ActiveEnterTimestampMonotonic": "101276954", "ActiveExitTimestamp": "Wed 2022-08-03 13:05:37 EDT", "ActiveExitTimestampMonotonic": "88724476", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:05:49 EDT", "AssertTimestampMonotonic": "101275989", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:05:49 EDT", "ConditionTimestampMonotonic": "101275989", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11416", "ExecMainStartTimestamp": "Wed 2022-08-03 13:05:49 EDT", "ExecMainStartTimestampMonotonic": "101276891", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:05:49 EDT] ; stop_time=[n/a] ; pid=11416 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:05:41 EDT", "InactiveEnterTimestampMonotonic": "92821273", "InactiveExitTimestamp": "Wed 2022-08-03 13:05:49 EDT", "InactiveExitTimestampMonotonic": "101276954", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11416", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:05:49 EDT", "WatchdogTimestampMonotonic": "101276928", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:05:51 +0000 (0:00:00.414) 0:01:32.982 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004565", "end": "2022-08-03 13:05:50.947642", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:05:50.943077" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:05:51 +0000 (0:00:00.398) 0:01:33.381 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004031", "end": "2022-08-03 13:05:51.313722", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:05:51.309691" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:05:52 +0000 (0:00:00.351) 0:01:33.732 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 17:05:52 +0000 (0:00:00.084) 0:01:33.817 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "elapsed": 3, "gid": 994, "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": 7079, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 17:05:55 +0000 (0:00:03.496) 0:01:37.313 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031443", "end": "2022-08-03 13:05:55.253151", "rc": 0, "start": "2022-08-03 13:05:55.221708" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 17:05:55 +0000 (0:00:00.357) 0:01:37.671 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.052) 0:01:37.723 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.038) 0:01:37.761 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.070) 0:01:37.832 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.037) 0:01:37.869 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.036) 0:01:37.906 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.035) 0:01:37.941 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.038) 0:01:37.980 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.037) 0:01:38.017 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.037) 0:01:38.055 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.036) 0:01:38.091 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.037) 0:01:38.129 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.036) 0:01:38.165 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.037) 0:01:38.202 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.036) 0:01:38.239 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the IP address setting.] ****************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:40 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.038) 0:01:38.277 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.223) 0:01:38.501 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:05:56 +0000 (0:00:00.098) 0:01:38.600 ****** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.431) 0:01:39.032 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.084) 0:01:39.116 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.046) 0:01:39.163 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.040) 0:01:39.203 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.039) 0:01:39.242 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.037) 0:01:39.280 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.059) 0:01:39.339 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.054) 0:01:39.394 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.044) 0:01:39.439 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.043) 0:01:39.482 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.047) 0:01:39.530 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:05:57 +0000 (0:00:00.047) 0:01:39.577 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:05:58 +0000 (0:00:00.883) 0:01:40.461 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:05:58 +0000 (0:00:00.044) 0:01:40.506 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:05:59 +0000 (0:00:00.612) 0:01:41.119 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:05:59 +0000 (0:00:00.044) 0:01:41.163 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:05:59 +0000 (0:00:00.044) 0:01:41.207 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:05:59 +0000 (0:00:00.050) 0:01:41.258 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:06:00 +0000 (0:00:00.519) 0:01:41.777 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:06:00 +0000 (0:00:00.031) 0:01:41.808 ****** ok: [/cache/rhel-7.qcow2] => { "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.006171", "end": "2022-08-03 13:05:59.702114", "rc": 0, "start": "2022-08-03 13:05:59.695943" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:06:00 +0000 (0:00:00.309) 0:01:42.118 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:06:01 +0000 (0:00:00.964) 0:01:43.082 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:06:01 +0000 (0:00:00.052) 0:01:43.134 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:06:01 +0000 (0:00:00.049) 0:01:43.184 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:06:02 +0000 (0:00:00.523) 0:01:43.708 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ActiveEnterTimestampMonotonic": "4927654", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service systemd-journald.socket basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:04:13 EDT", "AssertTimestampMonotonic": "4669520", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ConditionTimestampMonotonic": "4669520", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "958", "ExecMainStartTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ExecMainStartTimestampMonotonic": "4670347", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 13:04:13 EDT", "InactiveExitTimestampMonotonic": "4670398", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "958", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:04:13 EDT", "WatchdogTimestampMonotonic": "4927562", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:06:02 +0000 (0:00:00.401) 0:01:44.109 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.110140", "end": "2022-08-03 13:06:02.109404", "rc": 0, "start": "2022-08-03 13:06:01.999264" } 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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:06:02 +0000 (0:00:00.421) 0:01:44.530 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:06:02 +0000 (0:00:00.032) 0:01:44.562 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:06:02 +0000 (0:00:00.033) 0:01:44.595 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:06:02 +0000 (0:00:00.032) 0:01:44.628 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:06:03 +0000 (0:00:00.320) 0:01:44.949 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:06:03 +0000 (0:00:00.557) 0:01:45.506 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:06:03 +0000 (0:00:00.036) 0:01:45.543 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:06:03 +0000 (0:00:00.076) 0:01:45.619 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:06:03 +0000 (0:00:00.036) 0:01:45.656 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.041) 0:01:45.698 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.034) 0:01:45.733 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.044) 0:01:45.778 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.035) 0:01:45.813 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.038) 0:01:45.852 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.036) 0:01:45.888 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network ipaddress setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.067) 0:01:45.955 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003916", "end": "2022-08-03 13:06:03.874628", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:06:03.870712" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the network ipaddress setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.336) 0:01:46.292 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.048536", "end": "2022-08-03 13:06:04.250801", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:04.202265" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network ipaddress setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:06:04 +0000 (0:00:00.383) 0:01:46.676 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.034) 0:01:46.711 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.046) 0:01:46.757 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.044) 0:01:46.802 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.054) 0:01:46.856 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003878", "end": "2022-08-03 13:06:04.820887", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:04.817009" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.384) 0:01:47.240 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.049) 0:01:47.290 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.034) 0:01:47.324 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.043) 0:01:47.367 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.038) 0:01:47.406 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.036) 0:01:47.442 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.038) 0:01:47.480 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.037) 0:01:47.518 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.038) 0:01:47.556 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.035) 0:01:47.592 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.035) 0:01:47.628 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:06:05 +0000 (0:00:00.034) 0:01:47.663 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.039) 0:01:47.702 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.036) 0:01:47.739 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.039) 0:01:47.778 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.034) 0:01:47.812 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.035) 0:01:47.848 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.034) 0:01:47.882 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.037) 0:01:47.920 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.044) 0:01:47.964 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.045) 0:01:48.009 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.098) 0:01:48.108 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.047) 0:01:48.156 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.044) 0:01:48.200 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.044) 0:01:48.244 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.042) 0:01:48.287 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.049) 0:01:48.336 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.042) 0:01:48.379 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.046) 0:01:48.426 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.050) 0:01:48.476 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.044) 0:01:48.521 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.042) 0:01:48.563 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.044) 0:01:48.607 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:06:06 +0000 (0:00:00.043) 0:01:48.651 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.044) 0:01:48.696 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.048) 0:01:48.744 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.048) 0:01:48.793 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.043) 0:01:48.837 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.043) 0:01:48.881 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.044) 0:01:48.925 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.043) 0:01:48.968 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.042) 0:01:49.011 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.086) 0:01:49.098 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.049) 0:01:49.148 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.043) 0:01:49.191 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.042) 0:01:49.234 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.044) 0:01:49.279 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.043) 0:01:49.322 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.045) 0:01:49.367 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.044) 0:01:49.412 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.049) 0:01:49.461 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.047) 0:01:49.509 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.043) 0:01:49.553 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.042) 0:01:49.595 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:06:07 +0000 (0:00:00.044) 0:01:49.640 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:06:08 +0000 (0:00:00.362) 0:01:50.002 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:06:08 +0000 (0:00:00.037) 0:01:50.039 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:46 Wednesday 03 August 2022 17:06:08 +0000 (0:00:00.058) 0:01:50.098 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 17:06:08 +0000 (0:00:00.000) 0:01:50.098 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:05:49 EDT", "ActiveEnterTimestampMonotonic": "101276954", "ActiveExitTimestamp": "Wed 2022-08-03 13:05:37 EDT", "ActiveExitTimestampMonotonic": "88724476", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:05:49 EDT", "AssertTimestampMonotonic": "101275989", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:05:49 EDT", "ConditionTimestampMonotonic": "101275989", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11416", "ExecMainStartTimestamp": "Wed 2022-08-03 13:05:49 EDT", "ExecMainStartTimestampMonotonic": "101276891", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:05:49 EDT] ; stop_time=[n/a] ; pid=11416 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:05:41 EDT", "InactiveEnterTimestampMonotonic": "92821273", "InactiveExitTimestamp": "Wed 2022-08-03 13:05:49 EDT", "InactiveExitTimestampMonotonic": "101276954", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11416", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:05:49 EDT", "WatchdogTimestampMonotonic": "101276928", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom IP address. Should report Changed.] **** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:49 Wednesday 03 August 2022 17:06:09 +0000 (0:00:00.709) 0:01:50.808 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:06:09 +0000 (0:00:00.262) 0:01:51.071 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:06:09 +0000 (0:00:00.055) 0:01:51.126 ****** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:06:09 +0000 (0:00:00.445) 0:01:51.572 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:06:09 +0000 (0:00:00.080) 0:01:51.652 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.041) 0:01:51.693 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.046) 0:01:51.740 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.035) 0:01:51.775 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.087) 0:01:51.863 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.057) 0:01:51.921 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.058) 0:01:51.980 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.045) 0:01:52.026 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.046) 0:01:52.072 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.044) 0:01:52.117 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:06:10 +0000 (0:00:00.045) 0:01:52.162 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:06:11 +0000 (0:00:00.864) 0:01:53.027 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:06:11 +0000 (0:00:00.047) 0:01:53.074 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:06:12 +0000 (0:00:00.637) 0:01:53.712 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:06:12 +0000 (0:00:00.047) 0:01:53.759 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:06:12 +0000 (0:00:00.089) 0:01:53.849 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:06:12 +0000 (0:00:00.052) 0:01:53.901 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:06:12 +0000 (0:00:00.536) 0:01:54.438 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:06:12 +0000 (0:00:00.034) 0:01:54.472 ****** ok: [/cache/rhel-7.qcow2] => { "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.015032", "end": "2022-08-03 13:06:12.385985", "rc": 0, "start": "2022-08-03 13:06:12.370953" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:06:13 +0000 (0:00:00.333) 0:01:54.805 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:06:14 +0000 (0:00:00.945) 0:01:55.750 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:06:14 +0000 (0:00:00.054) 0:01:55.805 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:06:14 +0000 (0:00:00.051) 0:01:55.856 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:06:14 +0000 (0:00:00.510) 0:01:56.366 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ActiveEnterTimestampMonotonic": "4927654", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service systemd-journald.socket basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:04:13 EDT", "AssertTimestampMonotonic": "4669520", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ConditionTimestampMonotonic": "4669520", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "958", "ExecMainStartTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ExecMainStartTimestampMonotonic": "4670347", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 13:04:13 EDT", "InactiveExitTimestampMonotonic": "4670398", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "958", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:04:13 EDT", "WatchdogTimestampMonotonic": "4927562", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:06:15 +0000 (0:00:00.410) 0:01:56.777 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.110803", "end": "2022-08-03 13:06:14.795871", "rc": 0, "start": "2022-08-03 13:06:14.685068" } 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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:06:15 +0000 (0:00:00.441) 0:01:57.218 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:06:15 +0000 (0:00:00.033) 0:01:57.252 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:06:15 +0000 (0:00:00.035) 0:01:57.287 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:06:15 +0000 (0:00:00.033) 0:01:57.320 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:06:16 +0000 (0:00:00.374) 0:01:57.695 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:06:16 +0000 (0:00:00.517) 0:01:58.213 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:06:16 +0000 (0:00:00.061) 0:01:58.274 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ActiveEnterTimestampMonotonic": "119880767", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ActiveExitTimestampMonotonic": "119597213", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:08 EDT", "AssertTimestampMonotonic": "119879996", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ConditionTimestampMonotonic": "119879996", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12802", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ExecMainStartTimestampMonotonic": "119880706", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:08 EDT] ; stop_time=[n/a] ; pid=12802 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:06:08 EDT", "InactiveEnterTimestampMonotonic": "119878885", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:08 EDT", "InactiveExitTimestampMonotonic": "119880767", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12802", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:06:08 EDT", "WatchdogTimestampMonotonic": "119880746", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:06:17 +0000 (0:00:00.457) 0:01:58.732 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004294", "end": "2022-08-03 13:06:16.645605", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:16.641311" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:06:17 +0000 (0:00:00.334) 0:01:59.066 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004094", "end": "2022-08-03 13:06:16.969892", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:16.965798" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:06:17 +0000 (0:00:00.323) 0:01:59.390 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:06:17 +0000 (0:00:00.065) 0:01:59.456 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029991", "end": "2022-08-03 13:06:17.389265", "rc": 1, "start": "2022-08-03 13:06:17.359274" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:06:18 +0000 (0:00:00.353) 0:01:59.809 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ActiveEnterTimestampMonotonic": "119880767", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ActiveExitTimestampMonotonic": "119597213", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:08 EDT", "AssertTimestampMonotonic": "119879996", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ConditionTimestampMonotonic": "119879996", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "12802", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ExecMainStartTimestampMonotonic": "119880706", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:08 EDT] ; stop_time=[n/a] ; pid=12802 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:06:08 EDT", "InactiveEnterTimestampMonotonic": "119878885", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:08 EDT", "InactiveExitTimestampMonotonic": "119880767", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "12802", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:06:08 EDT", "WatchdogTimestampMonotonic": "119880746", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:06:22 +0000 (0:00:04.130) 0:02:03.939 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.554240", "end": "2022-08-03 13:06:25.453564", "rc": 0, "start": "2022-08-03 13:06:21.899324" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:06:26 +0000 (0:00:03.939) 0:02:07.878 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.037) 0:02:07.916 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.044) 0:02:07.961 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.043) 0:02:08.004 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.039) 0:02:08.043 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.042) 0:02:08.086 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.035) 0:02:08.122 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.048) 0:02:08.171 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.043) 0:02:08.214 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.050) 0:02:08.265 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003835", "end": "2022-08-03 13:06:26.184767", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:26.180932" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.348) 0:02:08.614 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:06:26 +0000 (0:00:00.048) 0:02:08.662 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.030) 0:02:08.692 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.041) 0:02:08.734 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.038) 0:02:08.772 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.034) 0:02:08.807 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.038) 0:02:08.846 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.036) 0:02:08.882 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.036) 0:02:08.919 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.032) 0:02:08.951 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.036) 0:02:08.988 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.036) 0:02:09.024 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.087) 0:02:09.111 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.044) 0:02:09.156 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.043) 0:02:09.199 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.037) 0:02:09.237 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.037) 0:02:09.274 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.036) 0:02:09.311 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.040) 0:02:09.351 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.043) 0:02:09.395 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.049) 0:02:09.444 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.047) 0:02:09.492 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.048) 0:02:09.540 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.047) 0:02:09.588 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:06:27 +0000 (0:00:00.050) 0:02:09.638 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.045) 0:02:09.683 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.055) 0:02:09.738 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.045) 0:02:09.783 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.050) 0:02:09.834 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.052) 0:02:09.887 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.045) 0:02:09.932 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.045) 0:02:09.978 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.045) 0:02:10.024 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.053) 0:02:10.077 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.118) 0:02:10.195 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.050) 0:02:10.246 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.048) 0:02:10.294 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.045) 0:02:10.340 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.042) 0:02:10.382 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.043) 0:02:10.426 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.042) 0:02:10.468 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.046) 0:02:10.515 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.043) 0:02:10.558 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.050) 0:02:10.609 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:06:28 +0000 (0:00:00.043) 0:02:10.652 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.044) 0:02:10.696 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.044) 0:02:10.740 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.044) 0:02:10.785 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.043) 0:02:10.829 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.044) 0:02:10.873 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.048) 0:02:10.921 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.048) 0:02:10.970 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.041) 0:02:11.012 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.043) 0:02:11.055 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.042) 0:02:11.098 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.435) 0:02:11.534 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.036) 0:02:11.571 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:57 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.063) 0:02:11.634 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 17:06:29 +0000 (0:00:00.000) 0:02:11.634 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ActiveEnterTimestampMonotonic": "119880767", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:17 EDT", "ActiveExitTimestampMonotonic": "129306747", "ActiveState": "inactive", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:08 EDT", "AssertTimestampMonotonic": "119879996", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ConditionTimestampMonotonic": "119879996", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 13:06:21 EDT", "ExecMainExitTimestampMonotonic": "133008202", "ExecMainPID": "12802", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:08 EDT", "ExecMainStartTimestampMonotonic": "119880706", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:08 EDT] ; stop_time=[Wed 2022-08-03 13:06:21 EDT] ; pid=12802 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:06:21 EDT", "InactiveEnterTimestampMonotonic": "133008327", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:08 EDT", "InactiveExitTimestampMonotonic": "119880767", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:60 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.436) 0:02:12.071 ****** included: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml for /cache/rhel-7.qcow2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.149) 0:02:12.220 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.034) 0:02:12.255 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.033) 0:02:12.288 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.034) 0:02:12.323 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.036) 0:02:12.360 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.035) 0:02:12.395 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:06:30 +0000 (0:00:00.056) 0:02:12.452 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:29 EDT", "ActiveEnterTimestampMonotonic": "141142153", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:17 EDT", "ActiveExitTimestampMonotonic": "129306747", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:29 EDT", "AssertTimestampMonotonic": "141141292", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:29 EDT", "ConditionTimestampMonotonic": "141141292", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14300", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:29 EDT", "ExecMainStartTimestampMonotonic": "141142099", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:29 EDT] ; stop_time=[n/a] ; pid=14300 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:06:21 EDT", "InactiveEnterTimestampMonotonic": "133008327", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:29 EDT", "InactiveExitTimestampMonotonic": "141142153", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14300", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:06:29 EDT", "WatchdogTimestampMonotonic": "141142132", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:06:31 +0000 (0:00:00.479) 0:02:12.932 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004767", "end": "2022-08-03 13:06:30.870735", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:30.865968" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:06:31 +0000 (0:00:00.409) 0:02:13.341 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005335", "end": "2022-08-03 13:06:31.272860", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:31.267525" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:06:32 +0000 (0:00:00.355) 0:02:13.697 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD" }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 17:06:32 +0000 (0:00:00.089) 0:02:13.786 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "elapsed": 3, "gid": 994, "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": 7002, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 17:06:35 +0000 (0:00:03.341) 0:02:17.128 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.030761", "end": "2022-08-03 13:06:35.071625", "rc": 0, "start": "2022-08-03 13:06:35.040864" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 17:06:35 +0000 (0:00:00.363) 0:02:17.492 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 17:06:35 +0000 (0:00:00.049) 0:02:17.542 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 17:06:35 +0000 (0:00:00.037) 0:02:17.580 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 17:06:35 +0000 (0:00:00.036) 0:02:17.616 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 17:06:35 +0000 (0:00:00.038) 0:02:17.654 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.036) 0:02:17.691 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.035) 0:02:17.726 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.035) 0:02:17.762 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.037) 0:02:17.799 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.036) 0:02:17.836 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.035) 0:02:17.872 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.035) 0:02:17.907 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.090) 0:02:17.998 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.035) 0:02:18.033 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.034) 0:02:18.068 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the TCP port setting.] ******************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:65 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.033) 0:02:18.102 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.358) 0:02:18.461 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:06:36 +0000 (0:00:00.055) 0:02:18.516 ****** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.436) 0:02:18.952 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.230) 0:02:19.183 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.044) 0:02:19.228 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.048) 0:02:19.276 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.036) 0:02:19.313 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.039) 0:02:19.352 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.057) 0:02:19.410 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.060) 0:02:19.471 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.047) 0:02:19.519 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.047) 0:02:19.567 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.044) 0:02:19.612 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:06:37 +0000 (0:00:00.047) 0:02:19.659 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:06:38 +0000 (0:00:00.845) 0:02:20.504 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:06:38 +0000 (0:00:00.045) 0:02:20.550 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:06:39 +0000 (0:00:00.578) 0:02:21.128 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:06:39 +0000 (0:00:00.045) 0:02:21.174 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:06:39 +0000 (0:00:00.050) 0:02:21.224 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:06:39 +0000 (0:00:00.070) 0:02:21.294 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:06:40 +0000 (0:00:00.532) 0:02:21.826 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:06:40 +0000 (0:00:00.034) 0:02:21.861 ****** ok: [/cache/rhel-7.qcow2] => { "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.007135", "end": "2022-08-03 13:06:39.769620", "rc": 0, "start": "2022-08-03 13:06:39.762485" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:06:40 +0000 (0:00:00.330) 0:02:22.192 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:06:41 +0000 (0:00:00.998) 0:02:23.190 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:06:41 +0000 (0:00:00.054) 0:02:23.245 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:06:41 +0000 (0:00:00.065) 0:02:23.311 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:06:42 +0000 (0:00:00.549) 0:02:23.861 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ActiveEnterTimestampMonotonic": "4927654", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service systemd-journald.socket basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:04:13 EDT", "AssertTimestampMonotonic": "4669520", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ConditionTimestampMonotonic": "4669520", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "958", "ExecMainStartTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ExecMainStartTimestampMonotonic": "4670347", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 13:04:13 EDT", "InactiveExitTimestampMonotonic": "4670398", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "958", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:04:13 EDT", "WatchdogTimestampMonotonic": "4927562", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:06:42 +0000 (0:00:00.417) 0:02:24.278 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.111907", "end": "2022-08-03 13:06:42.288740", "rc": 0, "start": "2022-08-03 13:06:42.176833" } 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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:06:43 +0000 (0:00:00.435) 0:02:24.713 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:06:43 +0000 (0:00:00.032) 0:02:24.746 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:06:43 +0000 (0:00:00.115) 0:02:24.861 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:06:43 +0000 (0:00:00.034) 0:02:24.896 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:06:43 +0000 (0:00:00.347) 0:02:25.243 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.533) 0:02:25.777 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.038) 0:02:25.816 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.038) 0:02:25.854 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.035) 0:02:25.890 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.038) 0:02:25.929 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.042) 0:02:25.971 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.051) 0:02:26.023 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.042) 0:02:26.066 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.040) 0:02:26.107 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.040) 0:02:26.148 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.039) 0:02:26.187 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1432 TCP port] ************************************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.047) 0:02:26.235 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1432] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.048) 0:02:26.284 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:06:44 +0000 (0:00:00.124) 0:02:26.408 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004371", "end": "2022-08-03 13:06:44.334047", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:44.329676" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.350) 0:02:26.758 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1432" ], "delta": "0:00:00.048966", "end": "2022-08-03 13:06:44.721874", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:44.672908" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.391) 0:02:27.150 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.034) 0:02:27.184 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.049) 0:02:27.234 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.039) 0:02:27.274 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.041) 0:02:27.315 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.039) 0:02:27.355 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.038) 0:02:27.393 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.037) 0:02:27.431 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.038) 0:02:27.469 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.036) 0:02:27.506 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.039) 0:02:27.545 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.037) 0:02:27.583 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.038) 0:02:27.621 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:06:45 +0000 (0:00:00.040) 0:02:27.661 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.035) 0:02:27.697 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.034) 0:02:27.732 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.091) 0:02:27.823 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.039) 0:02:27.863 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.045) 0:02:27.909 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.044) 0:02:27.953 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.045) 0:02:27.998 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.044) 0:02:28.042 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.044) 0:02:28.087 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.044) 0:02:28.131 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.045) 0:02:28.176 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.048) 0:02:28.225 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.044) 0:02:28.270 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.047) 0:02:28.317 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.052) 0:02:28.370 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.043) 0:02:28.413 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.043) 0:02:28.457 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.045) 0:02:28.502 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.047) 0:02:28.549 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.048) 0:02:28.598 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:06:46 +0000 (0:00:00.052) 0:02:28.651 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.051) 0:02:28.702 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.049) 0:02:28.752 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.046) 0:02:28.798 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.104) 0:02:28.902 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.047) 0:02:28.950 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.048) 0:02:28.998 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.046) 0:02:29.045 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.051) 0:02:29.097 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.047) 0:02:29.144 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.046) 0:02:29.190 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.047) 0:02:29.238 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.047) 0:02:29.285 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.054) 0:02:29.340 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.052) 0:02:29.393 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.060) 0:02:29.453 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.053) 0:02:29.507 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.048) 0:02:29.555 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.049) 0:02:29.605 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:06:47 +0000 (0:00:00.049) 0:02:29.654 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:06:48 +0000 (0:00:00.367) 0:02:30.021 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:06:48 +0000 (0:00:00.039) 0:02:30.061 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:71 Wednesday 03 August 2022 17:06:48 +0000 (0:00:00.061) 0:02:30.122 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 17:06:48 +0000 (0:00:00.000) 0:02:30.123 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:29 EDT", "ActiveEnterTimestampMonotonic": "141142153", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:17 EDT", "ActiveExitTimestampMonotonic": "129306747", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:29 EDT", "AssertTimestampMonotonic": "141141292", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:29 EDT", "ConditionTimestampMonotonic": "141141292", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "14300", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:29 EDT", "ExecMainStartTimestampMonotonic": "141142099", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:29 EDT] ; stop_time=[n/a] ; pid=14300 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:06:21 EDT", "InactiveEnterTimestampMonotonic": "133008327", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:29 EDT", "InactiveExitTimestampMonotonic": "141142153", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14300", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:06:29 EDT", "WatchdogTimestampMonotonic": "141142132", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Change the password with a custom TCP port and IP address. Should report Changed.] *** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:74 Wednesday 03 August 2022 17:06:49 +0000 (0:00:00.704) 0:02:30.827 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 03 August 2022 17:06:49 +0000 (0:00:00.290) 0:02:31.118 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 03 August 2022 17:06:49 +0000 (0:00:00.054) 0:02:31.172 ****** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:10 Wednesday 03 August 2022 17:06:49 +0000 (0:00:00.449) 0:02:31.622 ****** ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/" }, "ansible_included_var_files": [ "/tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.268) 0:02:31.890 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:12 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.045) 0:02:31.936 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.041) 0:02:31.978 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:22 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.037) 0:02:32.015 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:27 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.036) 0:02:32.052 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:39 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.061) 0:02:32.113 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if the mssql_upgrade variable is provided correctly] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.059) 0:02:32.173 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:55 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.048) 0:02:32.222 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:63 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.055) 0:02:32.277 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:71 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.053) 0:02:32.331 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 Wednesday 03 August 2022 17:06:50 +0000 (0:00:00.048) 0:02:32.380 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:85 Wednesday 03 August 2022 17:06:51 +0000 (0:00:00.846) 0:02:33.226 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 03 August 2022 17:06:51 +0000 (0:00:00.047) 0:02:33.274 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server 2017 repo] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:102 Wednesday 03 August 2022 17:06:52 +0000 (0:00:00.582) 0:02:33.856 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 03 August 2022 17:06:52 +0000 (0:00:00.046) 0:02:33.902 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server 2019 repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:119 Wednesday 03 August 2022 17:06:52 +0000 (0:00:00.049) 0:02:33.951 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:06:52 +0000 (0:00:00.054) 0:02:34.006 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3451.2-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wednesday 03 August 2022 17:06:52 +0000 (0:00:00.546) 0:02:34.552 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 Wednesday 03 August 2022 17:06:52 +0000 (0:00:00.033) 0:02:34.585 ****** ok: [/cache/rhel-7.qcow2] => { "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.006266", "end": "2022-08-03 13:06:52.497234", "rc": 0, "start": "2022-08-03 13:06:52.490968" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Wednesday 03 August 2022 17:06:53 +0000 (0:00:00.333) 0:02:34.919 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Wednesday 03 August 2022 17:06:54 +0000 (0:00:00.981) 0:02:35.900 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 03 August 2022 17:06:54 +0000 (0:00:00.053) 0:02:35.954 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 Wednesday 03 August 2022 17:06:54 +0000 (0:00:00.052) 0:02:36.006 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 03 August 2022 17:06:54 +0000 (0:00:00.533) 0:02:36.540 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ActiveEnterTimestampMonotonic": "4927654", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service systemd-journald.socket basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:04:13 EDT", "AssertTimestampMonotonic": "4669520", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ConditionTimestampMonotonic": "4669520", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "958", "ExecMainStartTimestamp": "Wed 2022-08-03 13:04:13 EDT", "ExecMainStartTimestampMonotonic": "4670347", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-08-03 13:04:13 EDT", "InactiveExitTimestampMonotonic": "4670398", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14956", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "958", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:04:13 EDT", "WatchdogTimestampMonotonic": "4927562", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 Wednesday 03 August 2022 17:06:55 +0000 (0:00:00.396) 0:02:36.937 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.112557", "end": "2022-08-03 13:06:54.941437", "rc": 0, "start": "2022-08-03 13:06:54.828880" } 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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 Wednesday 03 August 2022 17:06:55 +0000 (0:00:00.428) 0:02:37.365 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 03 August 2022 17:06:55 +0000 (0:00:00.034) 0:02:37.399 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 Wednesday 03 August 2022 17:06:55 +0000 (0:00:00.090) 0:02:37.490 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246 Wednesday 03 August 2022 17:06:55 +0000 (0:00:00.032) 0:02:37.523 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 Wednesday 03 August 2022 17:06:56 +0000 (0:00:00.335) 0:02:37.859 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.7-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:265 Wednesday 03 August 2022 17:06:56 +0000 (0:00:00.521) 0:02:38.381 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:06:56 +0000 (0:00:00.063) 0:02:38.444 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ActiveEnterTimestampMonotonic": "159874890", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ActiveExitTimestampMonotonic": "159682393", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:48 EDT", "AssertTimestampMonotonic": "159873842", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ConditionTimestampMonotonic": "159873841", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15640", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ExecMainStartTimestampMonotonic": "159874828", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:48 EDT] ; stop_time=[n/a] ; pid=15640 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:06:48 EDT", "InactiveEnterTimestampMonotonic": "159872721", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:48 EDT", "InactiveExitTimestampMonotonic": "159874890", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15640", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:06:48 EDT", "WatchdogTimestampMonotonic": "159874865", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:06:57 +0000 (0:00:00.409) 0:02:38.853 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003873", "end": "2022-08-03 13:06:56.764841", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:56.760968" } STDOUT: tcpport = 1432 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:06:57 +0000 (0:00:00.340) 0:02:39.193 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003951", "end": "2022-08-03 13:06:57.104953", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:06:57.101002" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:06:57 +0000 (0:00:00.337) 0:02:39.531 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1432 -U sa -P p@55w0rD11" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:270 Wednesday 03 August 2022 17:06:57 +0000 (0:00:00.069) 0:02:39.601 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1432", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.038409", "end": "2022-08-03 13:06:57.554134", "rc": 1, "start": "2022-08-03 13:06:57.515725" } STDERR: Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'sa'.. MSG: non-zero return code ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 Wednesday 03 August 2022 17:06:58 +0000 (0:00:00.373) 0:02:39.974 ****** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ActiveEnterTimestampMonotonic": "159874890", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ActiveExitTimestampMonotonic": "159682393", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:48 EDT", "AssertTimestampMonotonic": "159873842", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ConditionTimestampMonotonic": "159873841", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15640", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ExecMainStartTimestampMonotonic": "159874828", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:48 EDT] ; stop_time=[n/a] ; pid=15640 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:06:48 EDT", "InactiveEnterTimestampMonotonic": "159872721", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:48 EDT", "InactiveExitTimestampMonotonic": "159874890", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15640", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:06:48 EDT", "WatchdogTimestampMonotonic": "159874865", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Change the password of the sa user] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wednesday 03 August 2022 17:07:02 +0000 (0:00:04.145) 0:02:44.120 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set-sa-password" ], "delta": "0:00:03.525313", "end": "2022-08-03 13:07:05.568627", "rc": 0, "start": "2022-08-03 13:07:02.043314" } STDOUT: ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Configuring SQL Server... The system administrator password has been changed. Please run 'sudo systemctl start mssql-server' to start SQL Server. TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 03 August 2022 17:07:06 +0000 (0:00:03.873) 0:02:47.993 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:297 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.035) 0:02:48.029 ****** ok: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:306 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.193) 0:02:48.222 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:319 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.036) 0:02:48.259 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:326 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.039) 0:02:48.299 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:335 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.036) 0:02:48.335 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:342 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.040) 0:02:48.375 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the 1433 TCP port] ************************************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.044) 0:02:48.420 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:360 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.047) 0:02:48.468 ****** included: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.mssql : Get the network tcpport setting] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 03 August 2022 17:07:06 +0000 (0:00:00.052) 0:02:48.520 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003894", "end": "2022-08-03 13:07:06.427731", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:07:06.423837" } STDOUT: tcpport = 1432 TASK [fedora.linux_system_roles.mssql : Configure the network tcpport setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.327) 0:02:48.848 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049886", "end": "2022-08-03 13:07:06.806470", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:07:06.756584" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the network tcpport setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:40 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.388) 0:02:49.236 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.032) 0:02:49.269 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.043) 0:02:49.312 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-fts package] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:391 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.036) 0:02:49.349 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the powershell package] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:398 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.036) 0:02:49.385 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:407 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.036) 0:02:49.422 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the hadrenabled setting] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.036) 0:02:49.459 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.037) 0:02:49.496 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:428 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.109) 0:02:49.606 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:434 Wednesday 03 August 2022 17:07:07 +0000 (0:00:00.036) 0:02:49.643 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:441 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.036) 0:02:49.679 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:447 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.036) 0:02:49.716 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.035) 0:02:49.751 ****** skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:474 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.042) 0:02:49.793 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.035) 0:02:49.828 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.038) 0:02:49.867 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.038) 0:02:49.906 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:509 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.040) 0:02:49.946 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:528 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.047) 0:02:49.994 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.051) 0:02:50.045 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:545 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.046) 0:02:50.092 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.060) 0:02:50.152 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:559 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.051) 0:02:50.204 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:564 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.049) 0:02:50.253 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:570 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.050) 0:02:50.304 ****** skipping: [/cache/rhel-7.qcow2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:579 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.057) 0:02:50.361 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create and back up certificate] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:584 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.045) 0:02:50.407 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.048) 0:02:50.456 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.053) 0:02:50.509 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the] **************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:607 Wednesday 03 August 2022 17:07:08 +0000 (0:00:00.143) 0:02:50.653 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:613 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.047) 0:02:50.701 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:618 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.048) 0:02:50.749 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.048) 0:02:50.797 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Back up and replicate the database] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:628 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.049) 0:02:50.846 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.051) 0:02:50.898 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail if the primary node failed] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:662 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.053) 0:02:50.951 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server-ha package] **** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:669 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.048) 0:02:51.000 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:675 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.048) 0:02:51.049 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:682 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.046) 0:02:51.096 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable AlwaysOn Health events] ********* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:689 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.049) 0:02:51.146 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create master key encryption] ********** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:694 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.046) 0:02:51.192 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.046) 0:02:51.239 ****** skipping: [/cache/rhel-7.qcow2] => (item={'key': 'cert', 'value': '/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:711 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.052) 0:02:51.291 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restore certificate] ******************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.046) 0:02:51.337 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create database mirroring endpoints] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.046) 0:02:51.384 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create the login] ********************* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:727 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.047) 0:02:51.432 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:732 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.045) 0:02:51.477 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to the login] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.046) 0:02:51.523 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists on secondaries] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.044) 0:02:51.568 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.048) 0:02:51.616 ****** skipping: [/cache/rhel-7.qcow2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:762 Wednesday 03 August 2022 17:07:09 +0000 (0:00:00.047) 0:02:51.664 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Wednesday 03 August 2022 17:07:10 +0000 (0:00:00.128) 0:02:51.793 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the database exists] ******** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:778 Wednesday 03 August 2022 17:07:10 +0000 (0:00:00.049) 0:02:51.842 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 03 August 2022 17:07:10 +0000 (0:00:00.047) 0:02:51.890 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Input the sql file to SQL Server] ***** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 03 August 2022 17:07:10 +0000 (0:00:00.392) 0:02:52.282 ****** skipping: [/cache/rhel-7.qcow2] => { "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/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:801 Wednesday 03 August 2022 17:07:10 +0000 (0:00:00.037) 0:02:52.320 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Flush handlers] ********************************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:82 Wednesday 03 August 2022 17:07:10 +0000 (0:00:00.065) 0:02:52.386 ****** RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 03 August 2022 17:07:10 +0000 (0:00:00.000) 0:02:52.386 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ActiveEnterTimestampMonotonic": "159874890", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:57 EDT", "ActiveExitTimestampMonotonic": "169479657", "ActiveState": "inactive", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:06:48 EDT", "AssertTimestampMonotonic": "159873842", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ConditionTimestampMonotonic": "159873841", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2022-08-03 13:07:01 EDT", "ExecMainExitTimestampMonotonic": "173180677", "ExecMainPID": "15640", "ExecMainStartTimestamp": "Wed 2022-08-03 13:06:48 EDT", "ExecMainStartTimestampMonotonic": "159874828", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:06:48 EDT] ; stop_time=[Wed 2022-08-03 13:07:01 EDT] ; pid=15640 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:07:01 EDT", "InactiveEnterTimestampMonotonic": "173180822", "InactiveExitTimestamp": "Wed 2022-08-03 13:06:48 EDT", "InactiveExitTimestampMonotonic": "159874890", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [Verify settings] ********************************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:85 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.452) 0:02:52.839 ****** included: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml for /cache/rhel-7.qcow2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:8 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.197) 0:02:53.036 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:23 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.037) 0:02:53.074 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:36 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.036) 0:02:53.110 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the IP address setting] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:40 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.126) 0:02:53.236 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the TCP port setting] ********************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:47 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.038) 0:02:53.275 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:57 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.038) 0:02:53.314 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 03 August 2022 17:07:11 +0000 (0:00:00.059) 0:02:53.373 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:07:10 EDT", "ActiveEnterTimestampMonotonic": "181901332", "ActiveExitTimestamp": "Wed 2022-08-03 13:06:57 EDT", "ActiveExitTimestampMonotonic": "169479657", "ActiveState": "active", "After": "network.target systemd-journald.socket -.mount basic.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:07:10 EDT", "AssertTimestampMonotonic": "181900074", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-08-03 13:07:10 EDT", "ConditionTimestampMonotonic": "181900074", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "17193", "ExecMainStartTimestamp": "Wed 2022-08-03 13:07:10 EDT", "ExecMainStartTimestampMonotonic": "181901267", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2022-08-03 13:07:10 EDT] ; stop_time=[n/a] ; pid=17193 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-08-03 13:07:01 EDT", "InactiveEnterTimestampMonotonic": "173180822", "InactiveExitTimestamp": "Wed 2022-08-03 13:07:10 EDT", "InactiveExitTimestampMonotonic": "181901332", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14956", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "17193", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2022-08-03 13:07:10 EDT", "WatchdogTimestampMonotonic": "181901301", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 03 August 2022 17:07:12 +0000 (0:00:00.427) 0:02:53.801 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003735", "end": "2022-08-03 13:07:11.750126", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:07:11.746391" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 03 August 2022 17:07:12 +0000 (0:00:00.370) 0:02:54.171 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003547", "end": "2022-08-03 13:07:12.099639", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:07:12.096092" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a password query] ****** task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 03 August 2022 17:07:12 +0000 (0:00:00.352) 0:02:54.524 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": "/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1,1433 -U sa -P p@55w0rD11" }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [Wait for mssql-server to start and prepare for client connections] ******* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:65 Wednesday 03 August 2022 17:07:12 +0000 (0:00:00.085) 0:02:54.609 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "elapsed": 3, "gid": 994, "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": 7002, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:72 Wednesday 03 August 2022 17:07:16 +0000 (0:00:03.326) 0:02:57.935 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029213", "end": "2022-08-03 13:07:15.860575", "rc": 0, "start": "2022-08-03 13:07:15.831362" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU30) (KB5013756) - 14.0.3451.2 (X64) Jun 22 2022 18:20:15 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (Red Hat Enterprise Linux Server 7.9 (Maipo)) (1 rows affected) TASK [Verify if the password matched] ****************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:78 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.347) 0:02:58.282 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify that the SQL agent is enabled] ************************************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:82 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.048) 0:02:58.331 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the mssql-server-fts package] ************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:89 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.037) 0:02:58.369 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the powershell package] ******************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:96 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.037) 0:02:58.406 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the mssql-server-ha package is installed] ********************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:107 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.036) 0:02:58.443 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the hadrenabled setting] ****************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:113 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.036) 0:02:58.479 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:123 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.059) 0:02:58.538 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:128 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.043) 0:02:58.582 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:133 Wednesday 03 August 2022 17:07:16 +0000 (0:00:00.039) 0:02:58.621 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:139 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.147) 0:02:58.769 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:145 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.042) 0:02:58.812 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:155 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.040) 0:02:58.852 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:163 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.037) 0:02:58.890 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:171 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.038) 0:02:58.928 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:179 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.035) 0:02:58.964 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_password_2017.yml:90 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.035) 0:02:58.999 ****** included: /tmp/tmpjm0ncwf7/tests/mssql/tasks/check_header.yml for /cache/rhel-7.qcow2 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmpjm0ncwf7/tests/mssql/tasks/check_header.yml:4 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.187) 0:02:59.186 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003752", "end": "2022-08-03 13:07:17.151724", "rc": 0, "start": "2022-08-03 13:07:17.147972" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tcpport = 1433 ipaddress = 127.0.0.1 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=206 changed=33 unreachable=0 failed=0 skipped=527 rescued=0 ignored=3 Wednesday 03 August 2022 17:07:17 +0000 (0:00:00.404) 0:02:59.590 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the mssql-server package ------ 41.22s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 8.71s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 fedora.linux_system_roles.mssql : Change the password of the sa user ---- 7.61s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 4.93s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.28s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 4.13s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:276 fedora.linux_system_roles.mssql : Change the password of the sa user ---- 3.94s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:283 Wait for mssql-server to start and prepare for client connections ------- 3.50s /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:65 --------------------- Wait for mssql-server to start and prepare for client connections ------- 3.34s /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:65 --------------------- Wait for mssql-server to start and prepare for client connections ------- 3.33s /tmp/tmpjm0ncwf7/tests/mssql/tasks/verify_settings.yml:65 --------------------- fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.95s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.75s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.67s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.55s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 1.37s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started --- 1.32s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.22s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist --- 1.18s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.17s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160