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:32:22 +0000 (0:00:00.018) 0:00:00.018 ****** 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:32:23 +0000 (0:00:01.479) 0:00:01.497 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.48s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent_2019.yml ****************************** 1 plays in /tmp/tmpg0n6vuiy/tests/tests_include_vars_from_parent_2019.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpg0n6vuiy/tests/tests_include_vars_from_parent_2019.yml:1 Wednesday 03 August 2022 16:32:23 +0000 (0:00:00.012) 0:00:01.510 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmpg0n6vuiy/tests/tests_include_vars_from_parent_2019.yml:3 Wednesday 03 August 2022 16:32:24 +0000 (0:00:00.996) 0:00:02.506 ****** changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpg0n6vuiy/tests/roles/caller/vars/RedHat-7.9.yml", "gid": 0, "group": "root", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659544344.703544-77366-60262767459929/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpg0n6vuiy/tests/roles/caller/vars/RedHat-7.yml", "gid": 0, "group": "root", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659544345.4336038-77366-272681084693112/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpg0n6vuiy/tests/roles/caller/vars/RedHat_7.9.yml", "gid": 0, "group": "root", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659544345.9618385-77366-113255946762961/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpg0n6vuiy/tests/roles/caller/vars/RedHat_7.yml", "gid": 0, "group": "root", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659544346.5284348-77366-143867480420365/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpg0n6vuiy/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659544346.9668558-77366-55154532618504/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmpg0n6vuiy/tests/roles/caller/tasks/main.yml:4 Wednesday 03 August 2022 16:32:28 +0000 (0:00:03.691) 0:00:06.198 ****** 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:32:28 +0000 (0:00:00.094) 0:00:06.292 ****** 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:32:28 +0000 (0:00:00.057) 0:00:06.349 ****** 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:32:28 +0000 (0:00:00.424) 0:00:06.774 ****** 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:32:29 +0000 (0:00:00.076) 0:00:06.850 ****** 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:32:29 +0000 (0:00:00.034) 0:00:06.885 ****** 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:32:29 +0000 (0:00:00.029) 0:00:06.914 ****** 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:32:29 +0000 (0:00:00.025) 0:00:06.939 ****** 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:32:29 +0000 (0:00:00.024) 0:00:06.964 ****** 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:32:29 +0000 (0:00:00.036) 0:00:07.000 ****** 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:32:29 +0000 (0:00:00.034) 0:00:07.034 ****** 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:32:29 +0000 (0:00:00.021) 0:00:07.055 ****** 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:32:29 +0000 (0:00:00.020) 0:00:07.076 ****** 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:32:29 +0000 (0:00:00.021) 0:00:07.098 ****** 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:32:29 +0000 (0:00:00.021) 0:00:07.120 ****** 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:32:30 +0000 (0:00:01.121) 0:00:08.241 ****** 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:32:30 +0000 (0:00:00.030) 0:00:08.272 ****** 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:32:31 +0000 (0:00:00.780) 0:00:09.052 ****** 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:32:31 +0000 (0:00:00.029) 0:00:09.082 ****** 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:32:31 +0000 (0:00:00.030) 0:00:09.112 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "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:32:31 +0000 (0:00:00.342) 0:00:09.455 ****** 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:15.0.4236.7-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4236.7-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---> Package python3.x86_64 0:3.6.8-18.el7 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-18.el7 for package: python3-3.6.8-18.el7.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-18.el7.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-18.el7.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-18.el7.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-18.el7 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 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 15.0.4236.7-1 packages-microsoft-com-mssql-server-2019\n 254 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 python3 x86_64 3.6.8-18.el7 rhel 70 k\n python3-libs x86_64 3.6.8-18.el7 rhel 6.9 M\n python3-pip noarch 9.0.3-8.el7 rhel 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 rhel 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+10 Dependent packages)\n\nTotal download size: 266 M\nInstalled size: 1.3 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 44 MB/s | 266 MB 00:06 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-18.el7.x86_64 1/11 \n Installing : python3-3.6.8-18.el7.x86_64 2/11 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 3/11 \n Installing : python3-pip-9.0.3-8.el7.noarch 4/11 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 5/11 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/11 \n Installing : gdb-7.6.1-120.el7.x86_64 7/11 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 8/11 \n Installing : bzip2-1.0.6-13.el7.x86_64 9/11 \n Installing : libatomic-4.8.5-44.el7.x86_64 10/11 \n Installing : mssql-server-15.0.4236.7-1.x86_64 11/11 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/11 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 2/11 \n Verifying : python3-libs-3.6.8-18.el7.x86_64 3/11 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/11 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 5/11 \n Verifying : gdb-7.6.1-120.el7.x86_64 6/11 \n Verifying : mssql-server-15.0.4236.7-1.x86_64 7/11 \n Verifying : python3-3.6.8-18.el7.x86_64 8/11 \n Verifying : python3-pip-9.0.3-8.el7.noarch 9/11 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 10/11 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 11/11 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4236.7-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 python3.x86_64 0:3.6.8-18.el7 \n python3-libs.x86_64 0:3.6.8-18.el7 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \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:33:21 +0000 (0:00:49.445) 0:00:58.901 ****** 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:33:21 +0000 (0:00:00.033) 0:00:58.934 ****** 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.006430", "end": "2022-08-03 12:33:21.650728", "rc": 0, "start": "2022-08-03 12:33:21.644298" } 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:33:21 +0000 (0:00:00.466) 0:00:59.401 ****** 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:33:22 +0000 (0:00:01.217) 0:01:00.619 ****** 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:33:22 +0000 (0:00:00.142) 0:01:00.762 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:05.435730", "end": "2022-08-03 12:33:28.777019", "rc": 0, "start": "2022-08-03 12:33:23.341289" } STDOUT: The licensing PID was successfully processed. The new edition is [Enterprise Evaluation Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. The license terms for this product can be found in /usr/share/doc/mssql-server or downloaded from: https://go.microsoft.com/fwlink/?LinkId=2104294&clcid=0x409 The privacy statement can be viewed at: https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 Configuring SQL Server... Setup has completed successfully. SQL Server is now starting. STDERR: Created symlink 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:33:28 +0000 (0:00:05.783) 0:01:06.545 ****** 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:33:30 +0000 (0:00:01.600) 0:01:08.146 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 12:32:20 EDT", "ActiveEnterTimestampMonotonic": "4865118", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service systemd-journald.socket basic.target system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 12:32:20 EDT", "AssertTimestampMonotonic": "4641075", "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:32:20 EDT", "ConditionTimestampMonotonic": "4641075", "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": "942", "ExecMainStartTimestamp": "Wed 2022-08-03 12:32:20 EDT", "ExecMainStartTimestampMonotonic": "4641689", "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:32:20 EDT", "InactiveExitTimestampMonotonic": "4641732", "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": "942", "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 system.slice dbus.service polkit.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:32:20 EDT", "WatchdogTimestampMonotonic": "4865064", "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:33:30 +0000 (0:00:00.665) 0:01:08.811 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.130094", "end": "2022-08-03 12:33:31.497425", "rc": 0, "start": "2022-08-03 12:33:31.367331" } 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:33:31 +0000 (0:00:00.444) 0:01:09.256 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.611271", "end": "2022-08-03 12:33:32.426267", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:33:31.814996" } 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:33:32 +0000 (0:00:00.926) 0:01:10.183 ****** 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:33:32 +0000 (0:00:00.439) 0:01:10.622 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.238058", "end": "2022-08-03 12:33:34.453293", "rc": 0, "start": "2022-08-03 12:33:33.215235" } 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:33:34 +0000 (0:00:01.589) 0:01:12.211 ****** 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:33:34 +0000 (0:00:00.327) 0:01:12.539 ****** 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 [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:33:38 +0000 (0:00:04.165) 0:01:16.704 ****** 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:33:38 +0000 (0:00:00.034) 0:01:16.739 ****** 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:33:38 +0000 (0:00:00.035) 0:01:16.774 ****** 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:33:38 +0000 (0:00:00.035) 0:01:16.810 ****** 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:33:39 +0000 (0:00:00.037) 0:01:16.847 ****** 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:33:39 +0000 (0:00:00.084) 0:01:16.931 ****** 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:33:39 +0000 (0:00:00.041) 0:01:16.972 ****** 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:33:39 +0000 (0:00:00.034) 0:01:17.007 ****** 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:33:39 +0000 (0:00:00.035) 0:01:17.042 ****** 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:33:39 +0000 (0:00:00.033) 0:01:17.076 ****** 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:33:39 +0000 (0:00:00.037) 0:01:17.113 ****** 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:33:39 +0000 (0:00:00.032) 0:01:17.146 ****** 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:33:39 +0000 (0:00:00.035) 0:01:17.181 ****** 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:33:39 +0000 (0:00:00.050) 0:01:17.232 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003477", "end": "2022-08-03 12:33:39.806113", "failed_when_result": false, "rc": 1, "start": "2022-08-03 12:33:39.802636" } 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:33:39 +0000 (0:00:00.332) 0:01:17.564 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.124619", "end": "2022-08-03 12:33:40.249674", "failed_when_result": false, "rc": 0, "start": "2022-08-03 12:33:40.125055" } 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:33:40 +0000 (0:00:00.451) 0:01:18.015 ****** 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:33:40 +0000 (0:00:00.032) 0:01:18.048 ****** 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:33:40 +0000 (0:00:00.034) 0:01:18.082 ****** 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:33:40 +0000 (0:00:00.037) 0:01:18.119 ****** 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:33:40 +0000 (0:00:00.036) 0:01:18.156 ****** 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:33:40 +0000 (0:00:00.036) 0:01:18.192 ****** 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:33:40 +0000 (0:00:00.076) 0:01:18.269 ****** 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:33:40 +0000 (0:00:00.034) 0:01:18.304 ****** 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:33:40 +0000 (0:00:00.037) 0:01:18.341 ****** 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:33:40 +0000 (0:00:00.035) 0:01:18.377 ****** 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:33:40 +0000 (0:00:00.036) 0:01:18.413 ****** 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:33:40 +0000 (0:00:00.035) 0:01:18.448 ****** 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:33:40 +0000 (0:00:00.036) 0:01:18.484 ****** 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:33:40 +0000 (0:00:00.040) 0:01:18.524 ****** 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:33:40 +0000 (0:00:00.038) 0:01:18.563 ****** 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:33:40 +0000 (0:00:00.034) 0:01:18.598 ****** 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:33:40 +0000 (0:00:00.034) 0:01:18.632 ****** 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:33:40 +0000 (0:00:00.035) 0:01:18.667 ****** 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:33:40 +0000 (0:00:00.034) 0:01:18.702 ****** 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:33:40 +0000 (0:00:00.033) 0:01:18.735 ****** 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:33:40 +0000 (0:00:00.033) 0:01:18.769 ****** 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:33:40 +0000 (0:00:00.033) 0:01:18.802 ****** 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:33:40 +0000 (0:00:00.033) 0:01:18.836 ****** 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:33:41 +0000 (0:00:00.032) 0:01:18.869 ****** 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:33:41 +0000 (0:00:00.036) 0:01:18.905 ****** 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:33:41 +0000 (0:00:00.040) 0:01:18.946 ****** 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:33:41 +0000 (0:00:00.034) 0:01:18.980 ****** 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:33:41 +0000 (0:00:00.033) 0:01:19.014 ****** 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:33:41 +0000 (0:00:00.078) 0:01:19.093 ****** 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:33:41 +0000 (0:00:00.034) 0:01:19.127 ****** 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:33:41 +0000 (0:00:00.034) 0:01:19.161 ****** 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:33:41 +0000 (0:00:00.033) 0:01:19.195 ****** 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:33:41 +0000 (0:00:00.035) 0:01:19.230 ****** 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:33:41 +0000 (0:00:00.033) 0:01:19.264 ****** 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:33:41 +0000 (0:00:00.039) 0:01:19.304 ****** 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:33:41 +0000 (0:00:00.038) 0:01:19.342 ****** 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:33:41 +0000 (0:00:00.035) 0:01:19.378 ****** 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:33:41 +0000 (0:00:00.032) 0:01:19.411 ****** 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:33:41 +0000 (0:00:00.033) 0:01:19.444 ****** 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:33:41 +0000 (0:00:00.032) 0:01:19.476 ****** 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:33:41 +0000 (0:00:00.033) 0:01:19.510 ****** 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:33:41 +0000 (0:00:00.032) 0:01:19.542 ****** 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:33:41 +0000 (0:00:00.041) 0:01:19.584 ****** 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:33:41 +0000 (0:00:00.033) 0:01:19.618 ****** 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:33:41 +0000 (0:00:00.034) 0:01:19.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:33:41 +0000 (0:00:00.034) 0:01:19.687 ****** 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:33:41 +0000 (0:00:00.034) 0:01:19.721 ****** 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:33:41 +0000 (0:00:00.034) 0:01:19.755 ****** 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:33:41 +0000 (0:00:00.035) 0:01:19.791 ****** 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:33:41 +0000 (0:00:00.038) 0:01:19.829 ****** 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:33:42 +0000 (0:00:00.079) 0:01:19.908 ****** 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:33:42 +0000 (0:00:00.042) 0:01:19.951 ****** 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:33:42 +0000 (0:00:00.044) 0:01:19.996 ****** 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:33:42 +0000 (0:00:00.036) 0:01:20.033 ****** 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:33:42 +0000 (0:00:00.460) 0:01:20.493 ****** 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:33:42 +0000 (0:00:00.037) 0:01:20.531 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmpg0n6vuiy/tests/roles/caller/tasks/main.yml:7 Wednesday 03 August 2022 16:33:42 +0000 (0:00:00.063) 0:01:20.594 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=33 changed=12 unreachable=0 failed=0 skipped=75 rescued=0 ignored=0 Wednesday 03 August 2022 16:33:42 +0000 (0:00:00.086) 0:01:20.681 ****** =============================================================================== linux-system-roles.mssql : Ensure the mssql-server package ------------- 49.45s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:134 ------ linux-system-roles.mssql : Set up MSSQL --------------------------------- 5.78s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:189 ------ linux-system-roles.mssql : Ensure that SQL Server client tools are installed --- 4.17s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:258 ------ create var file in caller that can override the one in called role ------ 3.69s /tmp/tmpg0n6vuiy/tests/tests_include_vars_from_parent_2019.yml:3 -------------- linux-system-roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.60s /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.59s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:241 ------ set up internal repositories -------------------------------------------- 1.48s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.mssql : Gather system services facts ----------------- 1.22s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:165 ------ linux-system-roles.mssql : Gather package facts ------------------------- 1.12s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:85 ------- Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmpg0n6vuiy/tests/tests_include_vars_from_parent_2019.yml:1 -------------- linux-system-roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 0.93s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:219 ------ linux-system-roles.mssql : Deploy the GPG key for Microsoft repositories --- 0.78s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:101 ------ linux-system-roles.mssql : Ensure that the tuned service is started and enabled --- 0.67s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:203 ------ linux-system-roles.mssql : Check if the errorlog file exists and its location --- 0.47s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:150 ------ linux-system-roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf --- 0.46s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:793 ------ linux-system-roles.mssql : Configure the network tcpport setting -------- 0.45s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/mssql_conf_setting.yml:11 linux-system-roles.mssql : Get the active Tuned profiles ---------------- 0.44s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:209 ------ linux-system-roles.mssql : Remove troublemaking include from the mssql profile --- 0.44s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:232 ------ linux-system-roles.mssql : Ensure ansible_facts used by role ------------ 0.42s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/set_vars.yml:3 ---- linux-system-roles.mssql : Configure the Microsoft SQL Server 2019 repository --- 0.34s /tmp/tmpg0n6vuiy/tests/roles/linux-system-roles.mssql/tasks/main.yml:124 ------ 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:01:01 +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:01:03 +0000 (0:00:01.389) 0:00:01.407 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent_2019.yml ****************************** 1 plays in /tmp/tmpjm0ncwf7/tests/mssql/tests_include_vars_from_parent_2019.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_include_vars_from_parent_2019.yml:1 Wednesday 03 August 2022 17:01:03 +0000 (0:00:00.012) 0:00:01.420 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmpjm0ncwf7/tests/mssql/tests_include_vars_from_parent_2019.yml:3 Wednesday 03 August 2022 17:01:04 +0000 (0:00:01.001) 0:00:02.422 ****** changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpjm0ncwf7/tests/mssql/roles/caller/vars/RedHat-7.9.yml", "gid": 0, "group": "root", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659546064.2377355-101901-119371210283807/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpjm0ncwf7/tests/mssql/roles/caller/vars/RedHat-7.yml", "gid": 0, "group": "root", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659546064.8355772-101901-256523778120112/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpjm0ncwf7/tests/mssql/roles/caller/vars/RedHat_7.9.yml", "gid": 0, "group": "root", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659546065.1749728-101901-246109327835354/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpjm0ncwf7/tests/mssql/roles/caller/vars/RedHat_7.yml", "gid": 0, "group": "root", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659546065.5167682-101901-228913030144363/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpjm0ncwf7/tests/mssql/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1659546065.8540425-101901-939960043387/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmpjm0ncwf7/tests/mssql/roles/caller/tasks/main.yml:4 Wednesday 03 August 2022 17:01:06 +0000 (0:00:01.984) 0:00:04.406 ****** 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:01:06 +0000 (0:00:00.118) 0:00:04.525 ****** 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:01:06 +0000 (0:00:00.033) 0:00:04.559 ****** 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:01:06 +0000 (0:00:00.439) 0:00:04.998 ****** 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:01:06 +0000 (0:00:00.068) 0:00:05.067 ****** 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:01:06 +0000 (0:00:00.030) 0:00:05.097 ****** 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:01:06 +0000 (0:00:00.029) 0:00:05.126 ****** 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:01:06 +0000 (0:00:00.023) 0:00:05.150 ****** 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:01:06 +0000 (0:00:00.023) 0:00:05.173 ****** 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:01:06 +0000 (0:00:00.035) 0:00:05.209 ****** 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:01:07 +0000 (0:00:00.033) 0:00:05.242 ****** 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:01:07 +0000 (0:00:00.029) 0:00:05.272 ****** 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:01:07 +0000 (0:00:00.025) 0:00:05.298 ****** 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:01:07 +0000 (0:00:00.024) 0:00:05.322 ****** 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:01:07 +0000 (0:00:00.021) 0:00:05.344 ****** 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:01:08 +0000 (0:00:01.128) 0:00:06.472 ****** 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:01:08 +0000 (0:00:00.029) 0:00:06.502 ****** 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:01:08 +0000 (0:00:00.713) 0:00:07.215 ****** 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:01:09 +0000 (0:00:00.031) 0:00:07.247 ****** 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:01:09 +0000 (0:00:00.031) 0:00:07.278 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Ensure the mssql-server package] ******* task path: /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 Wednesday 03 August 2022 17:01:09 +0000 (0:00:00.331) 0:00:07.609 ****** 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:15.0.4236.7-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4236.7-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4236.7-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---> Package python3.x86_64 0:3.6.8-18.el7 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-18.el7 for package: python3-3.6.8-18.el7.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-18.el7.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-18.el7.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-18.el7.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-18.el7 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 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 15.0.4236.7-1 packages-microsoft-com-mssql-server-2019\n 254 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 python3 x86_64 3.6.8-18.el7 rhel 70 k\n python3-libs x86_64 3.6.8-18.el7 rhel 6.9 M\n python3-pip noarch 9.0.3-8.el7 rhel 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 rhel 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+10 Dependent packages)\n\nTotal download size: 266 M\nInstalled size: 1.3 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 44 MB/s | 266 MB 00:05 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-18.el7.x86_64 1/11 \n Installing : python3-3.6.8-18.el7.x86_64 2/11 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 3/11 \n Installing : python3-pip-9.0.3-8.el7.noarch 4/11 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 5/11 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/11 \n Installing : gdb-7.6.1-120.el7.x86_64 7/11 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 8/11 \n Installing : bzip2-1.0.6-13.el7.x86_64 9/11 \n Installing : libatomic-4.8.5-44.el7.x86_64 10/11 \n Installing : mssql-server-15.0.4236.7-1.x86_64 11/11 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : libatomic-4.8.5-44.el7.x86_64 1/11 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 2/11 \n Verifying : python3-libs-3.6.8-18.el7.x86_64 3/11 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/11 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.13.x86_64 5/11 \n Verifying : gdb-7.6.1-120.el7.x86_64 6/11 \n Verifying : mssql-server-15.0.4236.7-1.x86_64 7/11 \n Verifying : python3-3.6.8-18.el7.x86_64 8/11 \n Verifying : python3-pip-9.0.3-8.el7.noarch 9/11 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 10/11 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 11/11 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4236.7-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 python3.x86_64 0:3.6.8-18.el7 \n python3-libs.x86_64 0:3.6.8-18.el7 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \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:01:57 +0000 (0:00:48.302) 0:00:55.912 ****** 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:01:57 +0000 (0:00:00.030) 0:00:55.942 ****** 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.006309", "end": "2022-08-03 13:01:57.909219", "rc": 0, "start": "2022-08-03 13:01:57.902910" } 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:01:58 +0000 (0:00:00.448) 0:00:56.391 ****** 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:01:59 +0000 (0:00:01.121) 0:00:57.512 ****** 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:01:59 +0000 (0:00:00.111) 0:00:57.623 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "-n", "setup" ], "delta": "0:00:05.447316", "end": "2022-08-03 13:02:04.913093", "rc": 0, "start": "2022-08-03 13:01:59.465777" } STDOUT: The licensing PID was successfully processed. The new edition is [Enterprise Evaluation Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. The license terms for this product can be found in /usr/share/doc/mssql-server or downloaded from: https://go.microsoft.com/fwlink/?LinkId=2104294&clcid=0x409 The privacy statement can be viewed at: https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 Configuring SQL Server... Setup has completed successfully. SQL Server is now starting. STDERR: Created symlink 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:02:05 +0000 (0:00:05.789) 0:01:03.413 ****** 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:02:06 +0000 (0:00:01.557) 0:01:04.971 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-08-03 13:00:57 EDT", "ActiveEnterTimestampMonotonic": "4770088", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.service system.slice basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-08-03 13:00:57 EDT", "AssertTimestampMonotonic": "4559895", "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 13:00:57 EDT", "ConditionTimestampMonotonic": "4559895", "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:00:57 EDT", "ExecMainStartTimestampMonotonic": "4560615", "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:00:57 EDT", "InactiveExitTimestampMonotonic": "4560658", "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": "system.slice polkit.service 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 13:00:57 EDT", "WatchdogTimestampMonotonic": "4770041", "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:02:07 +0000 (0:00:00.713) 0:01:05.684 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.150495", "end": "2022-08-03 13:02:07.681776", "rc": 0, "start": "2022-08-03 13:02:07.531281" } 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:02:07 +0000 (0:00:00.486) 0:01:06.171 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.308986", "end": "2022-08-03 13:02:08.359477", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:02:08.050491" } 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:02:08 +0000 (0:00:00.682) 0:01:06.853 ****** 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:02:09 +0000 (0:00:00.461) 0:01:07.315 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.207481", "end": "2022-08-03 13:02:10.382859", "rc": 0, "start": "2022-08-03 13:02:09.175378" } 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:02:10 +0000 (0:00:01.593) 0:01:08.908 ****** 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:02:11 +0000 (0:00:00.332) 0:01:09.241 ****** 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 [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:02:15 +0000 (0:00:04.297) 0:01:13.539 ****** 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:02:15 +0000 (0:00:00.038) 0:01:13.577 ****** 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:02:15 +0000 (0:00:00.037) 0:01:13.614 ****** 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:02:15 +0000 (0:00:00.033) 0:01:13.648 ****** 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:02:15 +0000 (0:00:00.034) 0:01:13.682 ****** 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:02:15 +0000 (0:00:00.037) 0:01:13.720 ****** 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:02:15 +0000 (0:00:00.107) 0:01:13.828 ****** 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:02:15 +0000 (0:00:00.035) 0:01:13.863 ****** 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:02:15 +0000 (0:00:00.040) 0:01:13.904 ****** 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:02:15 +0000 (0:00:00.042) 0:01:13.946 ****** 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:02:15 +0000 (0:00:00.037) 0:01:13.984 ****** 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:02:15 +0000 (0:00:00.032) 0:01:14.016 ****** 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:02:15 +0000 (0:00:00.033) 0:01:14.050 ****** 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:02:15 +0000 (0:00:00.052) 0:01:14.103 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003790", "end": "2022-08-03 13:02:15.948516", "failed_when_result": false, "rc": 1, "start": "2022-08-03 13:02:15.944726" } 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:02:16 +0000 (0:00:00.326) 0:01:14.430 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.124461", "end": "2022-08-03 13:02:16.388937", "failed_when_result": false, "rc": 0, "start": "2022-08-03 13:02:16.264476" } 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:02:16 +0000 (0:00:00.453) 0:01:14.884 ****** 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:02:16 +0000 (0:00:00.032) 0:01:14.917 ****** 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:02:16 +0000 (0:00:00.031) 0:01:14.948 ****** 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:02:16 +0000 (0:00:00.033) 0:01:14.982 ****** 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:02:16 +0000 (0:00:00.033) 0:01:15.015 ****** 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:02:16 +0000 (0:00:00.036) 0:01:15.052 ****** 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:02:16 +0000 (0:00:00.036) 0:01:15.088 ****** 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:02:16 +0000 (0:00:00.034) 0:01:15.122 ****** 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:02:16 +0000 (0:00:00.074) 0:01:15.196 ****** 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:02:17 +0000 (0:00:00.036) 0:01:15.233 ****** 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:02:17 +0000 (0:00:00.036) 0:01:15.270 ****** 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:02:17 +0000 (0:00:00.036) 0:01:15.306 ****** 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:02:17 +0000 (0:00:00.035) 0:01:15.342 ****** 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:02:17 +0000 (0:00:00.039) 0:01:15.381 ****** 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:02:17 +0000 (0:00:00.035) 0:01:15.417 ****** 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:02:17 +0000 (0:00:00.032) 0:01:15.450 ****** 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:02:17 +0000 (0:00:00.033) 0:01:15.483 ****** 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:02:17 +0000 (0:00:00.036) 0:01:15.519 ****** 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:02:17 +0000 (0:00:00.034) 0:01:15.554 ****** 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:02:17 +0000 (0:00:00.033) 0:01:15.587 ****** 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:02:17 +0000 (0:00:00.033) 0:01:15.621 ****** 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:02:17 +0000 (0:00:00.031) 0:01:15.652 ****** 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:02:17 +0000 (0:00:00.032) 0:01:15.685 ****** 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:02:17 +0000 (0:00:00.033) 0:01:15.718 ****** 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:02:17 +0000 (0:00:00.033) 0:01:15.751 ****** 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:02:17 +0000 (0:00:00.037) 0:01:15.789 ****** 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:02:17 +0000 (0:00:00.033) 0:01:15.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:02:17 +0000 (0:00:00.033) 0:01:15.856 ****** 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:02:17 +0000 (0:00:00.039) 0:01:15.896 ****** 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:02:17 +0000 (0:00:00.033) 0:01:15.930 ****** 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:02:17 +0000 (0:00:00.098) 0:01:16.029 ****** 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:02:17 +0000 (0:00:00.034) 0:01:16.064 ****** 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:02:17 +0000 (0:00:00.034) 0:01:16.098 ****** 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:02:17 +0000 (0:00:00.032) 0:01:16.131 ****** 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:02:17 +0000 (0:00:00.038) 0:01:16.170 ****** 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:02:17 +0000 (0:00:00.037) 0:01:16.208 ****** 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:02:18 +0000 (0:00:00.034) 0:01:16.242 ****** 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:02:18 +0000 (0:00:00.034) 0:01:16.277 ****** 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:02:18 +0000 (0:00:00.033) 0:01:16.310 ****** 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:02:18 +0000 (0:00:00.033) 0:01:16.344 ****** 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:02:18 +0000 (0:00:00.034) 0:01:16.379 ****** 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:02:18 +0000 (0:00:00.031) 0:01:16.411 ****** 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:02:18 +0000 (0:00:00.037) 0:01:16.448 ****** 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:02:18 +0000 (0:00:00.033) 0:01:16.482 ****** 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:02:18 +0000 (0:00:00.035) 0:01:16.517 ****** 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:02:18 +0000 (0:00:00.035) 0:01:16.552 ****** 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:02:18 +0000 (0:00:00.035) 0:01:16.588 ****** 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:02:18 +0000 (0:00:00.034) 0:01:16.622 ****** 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:02:18 +0000 (0:00:00.036) 0:01:16.658 ****** 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:02:18 +0000 (0:00:00.038) 0:01:16.696 ****** 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:02:18 +0000 (0:00:00.041) 0:01:16.737 ****** 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:02:18 +0000 (0:00:00.032) 0:01:16.769 ****** 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:02:18 +0000 (0:00:00.066) 0:01:16.835 ****** 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:02:18 +0000 (0:00:00.034) 0:01:16.870 ****** 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:02:19 +0000 (0:00:00.439) 0:01:17.309 ****** 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:02:19 +0000 (0:00:00.037) 0:01:17.347 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "mssql_post_input_sql_file": null }, "changed": false } META: role_complete for /cache/rhel-7.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmpjm0ncwf7/tests/mssql/roles/caller/tasks/main.yml:7 Wednesday 03 August 2022 17:02:19 +0000 (0:00:00.064) 0:01:17.412 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=33 changed=12 unreachable=0 failed=0 skipped=75 rescued=0 ignored=0 Wednesday 03 August 2022 17:02:19 +0000 (0:00:00.081) 0:01:17.493 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the mssql-server package ------ 48.30s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:129 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.79s /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.30s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:253 create var file in caller that can override the one in called role ------ 1.98s /tmp/tmpjm0ncwf7/tests/mssql/tests_include_vars_from_parent_2019.yml:3 -------- fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.59s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:236 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 1.56s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:193 set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.13s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:80 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.12s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:160 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmpjm0ncwf7/tests/mssql/tests_include_vars_from_parent_2019.yml:1 -------- fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled --- 0.71s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 0.71s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles --- 0.68s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:214 fedora.linux_system_roles.mssql : Get the active Tuned profiles --------- 0.49s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:204 fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile --- 0.46s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 fedora.linux_system_roles.mssql : Configure the network tcpport setting --- 0.45s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:11 fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location --- 0.45s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:145 fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf --- 0.44s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 fedora.linux_system_roles.mssql : Ensure ansible_facts used by role ----- 0.44s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository --- 0.33s /tmp/tmpc9shnupj/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:246