ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_tls_2019.yml *************************************************** 2 plays in /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:5 Friday 29 November 2024 20:43:33 -0500 (0:00:00.034) 0:00:00.034 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-1nA/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Friday 29 November 2024 20:43:33 -0500 (0:00:00.030) 0:00:00.065 ******* ok: [managed-node1] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:24 Friday 29 November 2024 20:43:34 -0500 (0:00:01.045) 0:00:01.110 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed-node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 29 November 2024 20:43:35 -0500 (0:00:00.129) 0:00:01.240 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node1 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 29 November 2024 20:43:35 -0500 (0:00:00.045) 0:00:01.286 ******* ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 29 November 2024 20:43:35 -0500 (0:00:00.437) 0:00:01.724 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 29 November 2024 20:43:35 -0500 (0:00:00.033) 0:00:01.758 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 29 November 2024 20:43:35 -0500 (0:00:00.032) 0:00:01.791 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } lsrpackages: openssl TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 29 November 2024 20:43:36 -0500 (0:00:00.808) 0:00:02.599 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Xxjx1X", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create a tempfile for a private key on hosts] **************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 29 November 2024 20:43:36 -0500 (0:00:00.418) 0:00:03.018 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.xd6YM5", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 29 November 2024 20:43:37 -0500 (0:00:00.305) 0:00:03.324 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.10.50", "-out", "/tmp/ansible.Xxjx1X", "-keyout", "/tmp/ansible.xd6YM5", "-days", "365" ], "delta": "0:00:00.059209", "end": "2024-11-29 20:43:37.529512", "rc": 0, "start": "2024-11-29 20:43:37.470303" } STDERR: Generating a 2048 bit RSA private key ...+++ ...............................+++ writing new private key to '/tmp/ansible.xd6YM5' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 29 November 2024 20:43:37 -0500 (0:00:00.495) 0:00:03.820 ******* changed: [managed-node1] => (item=/tmp/ansible.Xxjx1X) => { "ansible_loop_var": "item", "changed": true, "checksum": "136f497f2e392c024b6ae20389a1196594708ebc", "dest": "/tmp/ansible.Xxjx1X", "item": "/tmp/ansible.Xxjx1X", "md5sum": "163c251cdea49a86c1064ed66cc444cb", "remote_checksum": "136f497f2e392c024b6ae20389a1196594708ebc", "remote_md5sum": null } changed: [managed-node1] => (item=/tmp/ansible.xd6YM5) => { "ansible_loop_var": "item", "changed": true, "checksum": "d17e360ffe4000fad411d01258ae51f3abb5f900", "dest": "/tmp/ansible.xd6YM5", "item": "/tmp/ansible.xd6YM5", "md5sum": "6d08a3ae036b562c30681dcfe1f96cbb", "remote_checksum": "d17e360ffe4000fad411d01258ae51f3abb5f900", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 29 November 2024 20:43:38 -0500 (0:00:00.822) 0:00:04.643 ******* changed: [managed-node1 -> localhost] => { "changed": true, "checksum": "d17e360ffe4000fad411d01258ae51f3abb5f900", "dest": "./ansible.xd6YM5", "gid": 0, "group": "root", "md5sum": "6d08a3ae036b562c30681dcfe1f96cbb", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1732931018.43-7294-261401576088617/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 29 November 2024 20:43:38 -0500 (0:00:00.510) 0:00:05.153 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Xxjx1X", "mssql_tls_private_key": "ansible.xd6YM5" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 29 November 2024 20:43:38 -0500 (0:00:00.032) 0:00:05.186 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 29 November 2024 20:43:39 -0500 (0:00:00.449) 0:00:05.635 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 29 November 2024 20:43:39 -0500 (0:00:00.041) 0:00:05.676 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 29 November 2024 20:43:39 -0500 (0:00:00.069) 0:00:05.746 ******* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 29 November 2024 20:43:39 -0500 (0:00:00.080) 0:00:05.826 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 29 November 2024 20:43:39 -0500 (0:00:00.030) 0:00:05.857 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 29 November 2024 20:43:39 -0500 (0:00:00.028) 0:00:05.886 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 29 November 2024 20:43:39 -0500 (0:00:00.030) 0:00:05.916 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 29 November 2024 20:43:39 -0500 (0:00:00.030) 0:00:05.947 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 29 November 2024 20:43:39 -0500 (0:00:00.029) 0:00:05.976 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 29 November 2024 20:43:39 -0500 (0:00:00.028) 0:00:06.005 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 29 November 2024 20:43:39 -0500 (0:00:00.029) 0:00:06.035 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 29 November 2024 20:43:39 -0500 (0:00:00.029) 0:00:06.064 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 29 November 2024 20:43:39 -0500 (0:00:00.029) 0:00:06.093 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 29 November 2024 20:43:39 -0500 (0:00:00.028) 0:00:06.122 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 29 November 2024 20:43:39 -0500 (0:00:00.030) 0:00:06.152 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 29 November 2024 20:43:39 -0500 (0:00:00.033) 0:00:06.186 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 29 November 2024 20:43:39 -0500 (0:00:00.043) 0:00:06.230 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 29 November 2024 20:43:40 -0500 (0:00:00.030) 0:00:06.260 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 29 November 2024 20:43:40 -0500 (0:00:00.029) 0:00:06.289 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 29 November 2024 20:43:40 -0500 (0:00:00.031) 0:00:06.321 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 29 November 2024 20:43:40 -0500 (0:00:00.029) 0:00:06.350 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 29 November 2024 20:43:40 -0500 (0:00:00.032) 0:00:06.383 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 29 November 2024 20:43:40 -0500 (0:00:00.028) 0:00:06.412 ******* ok: [managed-node1] => { "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 : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 29 November 2024 20:43:41 -0500 (0:00:01.622) 0:00:08.034 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 29 November 2024 20:43:41 -0500 (0:00:00.141) 0:00:08.176 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 29 November 2024 20:43:42 -0500 (0:00:00.073) 0:00:08.249 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 29 November 2024 20:43:42 -0500 (0:00:00.080) 0:00:08.329 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 29 November 2024 20:43:42 -0500 (0:00:00.123) 0:00:08.453 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 29 November 2024 20:43:42 -0500 (0:00:00.781) 0:00:09.234 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 29 November 2024 20:43:43 -0500 (0:00:00.113) 0:00:09.348 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 29 November 2024 20:43:43 -0500 (0:00:00.074) 0:00:09.423 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 29 November 2024 20:43:43 -0500 (0:00:00.075) 0:00:09.498 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 29 November 2024 20:43:43 -0500 (0:00:00.071) 0:00:09.569 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 29 November 2024 20:43:43 -0500 (0:00:00.076) 0:00:09.645 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 29 November 2024 20:43:43 -0500 (0:00:00.089) 0:00:09.735 ******* changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 29 November 2024 20:43:44 -0500 (0:00:00.526) 0:00:10.261 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 29 November 2024 20:43:44 -0500 (0:00:00.072) 0:00:10.334 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 29 November 2024 20:43:44 -0500 (0:00:00.647) 0:00:10.982 ******* changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-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.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 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.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 49 MB/s | 241 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-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.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 29 November 2024 20:44:33 -0500 (0:00:48.552) 0:00:59.534 ******* ok: [managed-node1] => { "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.006363", "end": "2024-11-29 20:44:33.631376", "rc": 0, "start": "2024-11-29 20:44:33.625013" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 29 November 2024 20:44:33 -0500 (0:00:00.541) 0:01:00.075 ******* ok: [managed-node1] => { "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 : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 29 November 2024 20:44:35 -0500 (0:00:01.241) 0:01:01.317 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 29 November 2024 20:44:35 -0500 (0:00:00.162) 0:01:01.480 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 29 November 2024 20:44:35 -0500 (0:00:00.131) 0:01:01.611 ******* changed: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 29 November 2024 20:44:41 -0500 (0:00:06.511) 0:01:08.123 ******* skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 29 November 2024 20:44:41 -0500 (0:00:00.101) 0:01:08.225 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 29 November 2024 20:44:42 -0500 (0:00:00.174) 0:01:08.399 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 29 November 2024 20:44:42 -0500 (0:00:00.130) 0:01:08.530 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 29 November 2024 20:44:43 -0500 (0:00:00.930) 0:01:09.461 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:23:49 EST", "ActiveEnterTimestampMonotonic": "10790189", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket system.slice systemd-sysctl.service basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:23:48 EST", "AssertTimestampMonotonic": "9790725", "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": "Fri 2024-11-29 20:23:48 EST", "ConditionTimestampMonotonic": "9790723", "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": "845", "ExecMainStartTimestamp": "Fri 2024-11-29 20:23:48 EST", "ExecMainStartTimestampMonotonic": "9791433", "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": "Fri 2024-11-29 20:23:48 EST", "InactiveExitTimestampMonotonic": "9791472", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "845", "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": "Fri 2024-11-29 20:23:49 EST", "WatchdogTimestampMonotonic": "10790091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 29 November 2024 20:44:44 -0500 (0:00:01.086) 0:01:10.547 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.153445", "end": "2024-11-29 20:44:44.838114", "rc": 0, "start": "2024-11-29 20:44:44.684669" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 29 November 2024 20:44:44 -0500 (0:00:00.678) 0:01:11.225 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 29 November 2024 20:44:45 -0500 (0:00:00.103) 0:01:11.329 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 29 November 2024 20:44:45 -0500 (0:00:00.084) 0:01:11.413 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 29 November 2024 20:44:45 -0500 (0:00:00.124) 0:01:11.538 ******* changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 29 November 2024 20:44:46 -0500 (0:00:00.906) 0:01:12.444 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 29 November 2024 20:44:46 -0500 (0:00:00.135) 0:01:12.580 ******* changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-tools18", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be installed\n--> Processing Dependency: msodbcsql18 >= 18.0.0.0 for package: mssql-tools18-18.4.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 293 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 923 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.6 M\nInstalled size: 3.9 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.5 MB/s | 1.6 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql18-18.4.1.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools18-18.4.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools18.x86_64 0:18.4.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 29 November 2024 20:44:52 -0500 (0:00:06.020) 0:01:18.600 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 29 November 2024 20:44:52 -0500 (0:00:00.138) 0:01:18.738 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 29 November 2024 20:44:52 -0500 (0:00:00.136) 0:01:18.875 ******* changed: [managed-node1] => (item=/tmp/ansible.Xxjx1X) => { "ansible_loop_var": "item", "changed": true, "checksum": "136f497f2e392c024b6ae20389a1196594708ebc", "dest": "/etc/pki/tls/certs/ansible.Xxjx1X", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Xxjx1X", "md5sum": "163c251cdea49a86c1064ed66cc444cb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1732931092.74-8958-45036897823253/source", "state": "file", "uid": 996 } changed: [managed-node1] => (item=ansible.xd6YM5) => { "ansible_loop_var": "item", "changed": true, "checksum": "d17e360ffe4000fad411d01258ae51f3abb5f900", "dest": "/etc/pki/tls/private/ansible.xd6YM5", "gid": 994, "group": "mssql", "item": "ansible.xd6YM5", "md5sum": "6d08a3ae036b562c30681dcfe1f96cbb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1732931093.46-8958-53102227198383/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 29 November 2024 20:44:54 -0500 (0:00:01.538) 0:01:20.414 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:44:54 -0500 (0:00:00.209) 0:01:20.624 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003495", "end": "2024-11-29 20:44:54.680192", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:44:54.676697" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:44:54 -0500 (0:00:00.467) 0:01:21.092 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.Xxjx1X" ], "delta": "0:00:00.130922", "end": "2024-11-29 20:44:55.297905", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:44:55.166983" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:44:55 -0500 (0:00:00.635) 0:01:21.727 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 29 November 2024 20:44:55 -0500 (0:00:00.165) 0:01:21.893 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:44:55 -0500 (0:00:00.217) 0:01:22.110 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003485", "end": "2024-11-29 20:44:56.281995", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:44:56.278510" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:44:56 -0500 (0:00:00.606) 0:01:22.717 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.xd6YM5" ], "delta": "0:00:00.133055", "end": "2024-11-29 20:44:56.986349", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:44:56.853294" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:44:57 -0500 (0:00:00.811) 0:01:23.529 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 29 November 2024 20:44:57 -0500 (0:00:00.284) 0:01:23.813 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:44:57 -0500 (0:00:00.325) 0:01:24.139 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003486", "end": "2024-11-29 20:44:58.306079", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:44:58.302593" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:44:58 -0500 (0:00:00.621) 0:01:24.761 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.130681", "end": "2024-11-29 20:44:59.038393", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:44:58.907712" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:44:59 -0500 (0:00:00.757) 0:01:25.519 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 29 November 2024 20:44:59 -0500 (0:00:00.156) 0:01:25.676 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:44:59 -0500 (0:00:00.448) 0:01:26.124 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003386", "end": "2024-11-29 20:45:00.523974", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:45:00.520588" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:45:00 -0500 (0:00:01.001) 0:01:27.126 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.133447", "end": "2024-11-29 20:45:01.512900", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:45:01.379453" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:45:01 -0500 (0:00:00.924) 0:01:28.050 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 29 November 2024 20:45:01 -0500 (0:00:00.145) 0:01:28.196 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005681", "end": "2024-11-29 20:45:02.572031", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:45:02.566350" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 29 November 2024 20:45:02 -0500 (0:00:00.920) 0:01:29.117 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 29 November 2024 20:45:03 -0500 (0:00:00.252) 0:01:29.369 ******* ok: [managed-node1] => { "ansible_facts": { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -C" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 29 November 2024 20:45:03 -0500 (0:00:00.289) 0:01:29.659 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 29 November 2024 20:45:03 -0500 (0:00:00.257) 0:01:29.917 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 29 November 2024 20:45:03 -0500 (0:00:00.138) 0:01:30.055 ******* skipping: [managed-node1] => { "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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 29 November 2024 20:45:03 -0500 (0:00:00.163) 0:01:30.219 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 29 November 2024 20:45:04 -0500 (0:00:00.150) 0:01:30.370 ******* skipping: [managed-node1] => { "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 : Change the password of sa user] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 29 November 2024 20:45:04 -0500 (0:00:00.255) 0:01:30.625 ******* skipping: [managed-node1] => { "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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 29 November 2024 20:45:04 -0500 (0:00:00.265) 0:01:30.890 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 29 November 2024 20:45:04 -0500 (0:00:00.138) 0:01:31.029 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 29 November 2024 20:45:04 -0500 (0:00:00.155) 0:01:31.184 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 29 November 2024 20:45:05 -0500 (0:00:00.254) 0:01:31.439 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 29 November 2024 20:45:05 -0500 (0:00:00.257) 0:01:31.696 ******* skipping: [managed-node1] => { "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 : Change the edition of MSSQL] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 29 November 2024 20:45:05 -0500 (0:00:00.260) 0:01:31.957 ******* skipping: [managed-node1] => { "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 : Configure the IP address setting] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 29 November 2024 20:45:05 -0500 (0:00:00.164) 0:01:32.122 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 29 November 2024 20:45:06 -0500 (0:00:00.235) 0:01:32.357 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 29 November 2024 20:45:06 -0500 (0:00:00.358) 0:01:32.715 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 29 November 2024 20:45:06 -0500 (0:00:00.155) 0:01:32.871 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:45:06 -0500 (0:00:00.363) 0:01:33.235 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003438", "end": "2024-11-29 20:45:07.534046", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:45:07.530608" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:45:07 -0500 (0:00:00.758) 0:01:33.994 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.131859", "end": "2024-11-29 20:45:08.488304", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:45:08.356445" } 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 setting network tcpport] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:45:08 -0500 (0:00:00.932) 0:01:34.927 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 29 November 2024 20:45:08 -0500 (0:00:00.184) 0:01:35.111 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 29 November 2024 20:45:09 -0500 (0:00:00.170) 0:01:35.281 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 29 November 2024 20:45:09 -0500 (0:00:00.170) 0:01:35.452 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 29 November 2024 20:45:09 -0500 (0:00:00.133) 0:01:35.585 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 29 November 2024 20:45:09 -0500 (0:00:00.139) 0:01:35.725 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 29 November 2024 20:45:09 -0500 (0:00:00.181) 0:01:35.906 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 29 November 2024 20:45:09 -0500 (0:00:00.191) 0:01:36.098 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 29 November 2024 20:45:09 -0500 (0:00:00.112) 0:01:36.210 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 29 November 2024 20:45:10 -0500 (0:00:00.167) 0:01:36.377 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 29 November 2024 20:45:10 -0500 (0:00:00.157) 0:01:36.535 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 29 November 2024 20:45:10 -0500 (0:00:00.134) 0:01:36.669 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 29 November 2024 20:45:10 -0500 (0:00:00.156) 0:01:36.826 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 29 November 2024 20:45:10 -0500 (0:00:00.149) 0:01:36.975 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 29 November 2024 20:45:11 -0500 (0:00:00.270) 0:01:37.247 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 29 November 2024 20:45:11 -0500 (0:00:00.149) 0:01:37.396 ******* skipping: [managed-node1] => { "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 : Check if AD user exists] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 29 November 2024 20:45:11 -0500 (0:00:00.152) 0:01:37.549 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 29 November 2024 20:45:11 -0500 (0:00:00.135) 0:01:37.685 ******* skipping: [managed-node1] => { "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 : Ensure proper configuration on user] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 29 November 2024 20:45:11 -0500 (0:00:00.138) 0:01:37.823 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 29 November 2024 20:45:11 -0500 (0:00:00.137) 0:01:37.960 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 29 November 2024 20:45:11 -0500 (0:00:00.237) 0:01:38.198 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 29 November 2024 20:45:12 -0500 (0:00:00.215) 0:01:38.413 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 29 November 2024 20:45:12 -0500 (0:00:00.223) 0:01:38.637 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 29 November 2024 20:45:12 -0500 (0:00:00.242) 0:01:38.879 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 29 November 2024 20:45:12 -0500 (0:00:00.219) 0:01:39.098 ******* skipping: [managed-node1] => { "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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 29 November 2024 20:45:13 -0500 (0:00:00.140) 0:01:39.239 ******* skipping: [managed-node1] => { "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 : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 29 November 2024 20:45:13 -0500 (0:00:00.278) 0:01:39.517 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 29 November 2024 20:45:13 -0500 (0:00:00.238) 0:01:39.756 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 29 November 2024 20:45:13 -0500 (0:00:00.137) 0:01:39.894 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 29 November 2024 20:45:13 -0500 (0:00:00.146) 0:01:40.041 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 29 November 2024 20:45:13 -0500 (0:00:00.130) 0:01:40.172 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 29 November 2024 20:45:14 -0500 (0:00:00.115) 0:01:40.288 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 29 November 2024 20:45:14 -0500 (0:00:00.127) 0:01:40.415 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 29 November 2024 20:45:14 -0500 (0:00:00.134) 0:01:40.549 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 29 November 2024 20:45:14 -0500 (0:00:00.266) 0:01:40.816 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 29 November 2024 20:45:14 -0500 (0:00:00.123) 0:01:40.939 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 29 November 2024 20:45:14 -0500 (0:00:00.084) 0:01:41.023 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 29 November 2024 20:45:14 -0500 (0:00:00.121) 0:01:41.145 ******* skipping: [managed-node1] => (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: [managed-node1] => (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 : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 29 November 2024 20:45:15 -0500 (0:00:00.169) 0:01:41.315 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 29 November 2024 20:45:15 -0500 (0:00:00.151) 0:01:41.467 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 29 November 2024 20:45:15 -0500 (0:00:00.124) 0:01:41.591 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Get the current primary replica in SQL] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 29 November 2024 20:45:15 -0500 (0:00:00.150) 0:01:41.741 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 29 November 2024 20:45:15 -0500 (0:00:00.175) 0:01:41.917 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 29 November 2024 20:45:15 -0500 (0:00:00.131) 0:01:42.049 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 29 November 2024 20:45:15 -0500 (0:00:00.106) 0:01:42.156 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 29 November 2024 20:45:16 -0500 (0:00:00.120) 0:01:42.276 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 29 November 2024 20:45:16 -0500 (0:00:00.133) 0:01:42.410 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 29 November 2024 20:45:16 -0500 (0:00:00.133) 0:01:42.544 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 29 November 2024 20:45:16 -0500 (0:00:00.138) 0:01:42.682 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 29 November 2024 20:45:16 -0500 (0:00:00.134) 0:01:42.816 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 29 November 2024 20:45:16 -0500 (0:00:00.169) 0:01:42.986 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 29 November 2024 20:45:16 -0500 (0:00:00.132) 0:01:43.118 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 29 November 2024 20:45:17 -0500 (0:00:00.143) 0:01:43.261 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 29 November 2024 20:45:17 -0500 (0:00:00.131) 0:01:43.393 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 29 November 2024 20:45:17 -0500 (0:00:00.324) 0:01:43.717 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 29 November 2024 20:45:17 -0500 (0:00:00.150) 0:01:43.868 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 29 November 2024 20:45:17 -0500 (0:00:00.202) 0:01:44.070 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 29 November 2024 20:45:18 -0500 (0:00:00.183) 0:01:44.254 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 29 November 2024 20:45:18 -0500 (0:00:00.132) 0:01:44.387 ******* skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 29 November 2024 20:45:18 -0500 (0:00:00.215) 0:01:44.602 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 29 November 2024 20:45:18 -0500 (0:00:00.130) 0:01:44.733 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 29 November 2024 20:45:18 -0500 (0:00:00.140) 0:01:44.874 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 29 November 2024 20:45:18 -0500 (0:00:00.159) 0:01:45.034 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 29 November 2024 20:45:18 -0500 (0:00:00.178) 0:01:45.212 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 29 November 2024 20:45:20 -0500 (0:00:01.546) 0:01:46.758 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:44:41 EST", "ActiveEnterTimestampMonotonic": "1262966057", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service systemd-journald.socket system.slice -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:44:41 EST", "AssertTimestampMonotonic": "1262965070", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:44:41 EST", "ConditionTimestampMonotonic": "1262965068", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "32680", "ExecMainStartTimestamp": "Fri 2024-11-29 20:44:41 EST", "ExecMainStartTimestampMonotonic": "1262965955", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-29 20:44:41 EST", "InactiveExitTimestampMonotonic": "1262966057", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "32680", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:44:41 EST", "WatchdogTimestampMonotonic": "1262966024", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 29 November 2024 20:45:21 -0500 (0:00:01.462) 0:01:48.221 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 29 November 2024 20:45:22 -0500 (0:00:00.114) 0:01:48.335 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 29 November 2024 20:45:22 -0500 (0:00:00.107) 0:01:48.442 ******* changed: [managed-node1 -> localhost] => { "changed": true, "path": "ansible.xd6YM5", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 29 November 2024 20:45:22 -0500 (0:00:00.489) 0:01:48.932 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node1 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 29 November 2024 20:45:22 -0500 (0:00:00.198) 0:01:49.131 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 29 November 2024 20:45:24 -0500 (0:00:01.607) 0:01:50.738 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 29 November 2024 20:45:25 -0500 (0:00:00.930) 0:01:51.668 ******* ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 29 November 2024 20:45:27 -0500 (0:00:01.609) 0:01:53.278 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 29 November 2024 20:45:27 -0500 (0:00:00.321) 0:01:53.600 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 29 November 2024 20:45:27 -0500 (0:00:00.180) 0:01:53.780 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 29 November 2024 20:45:27 -0500 (0:00:00.149) 0:01:53.930 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 29 November 2024 20:45:27 -0500 (0:00:00.149) 0:01:54.079 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 29 November 2024 20:45:27 -0500 (0:00:00.132) 0:01:54.212 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 29 November 2024 20:45:28 -0500 (0:00:00.134) 0:01:54.346 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 29 November 2024 20:45:28 -0500 (0:00:00.131) 0:01:54.478 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 29 November 2024 20:45:28 -0500 (0:00:00.136) 0:01:54.614 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 29 November 2024 20:45:28 -0500 (0:00:00.171) 0:01:54.785 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 29 November 2024 20:45:28 -0500 (0:00:00.337) 0:01:55.122 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:45:21 EST", "ActiveEnterTimestampMonotonic": "1303139838", "ActiveExitTimestamp": "Fri 2024-11-29 20:45:21 EST", "ActiveExitTimestampMonotonic": "1302859285", "ActiveState": "active", "After": "-.mount network.target basic.target auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:45:21 EST", "AssertTimestampMonotonic": "1303138971", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:45:21 EST", "ConditionTimestampMonotonic": "1303138969", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1621", "ExecMainStartTimestamp": "Fri 2024-11-29 20:45:21 EST", "ExecMainStartTimestampMonotonic": "1303139745", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:45:21 EST", "InactiveEnterTimestampMonotonic": "1303137137", "InactiveExitTimestamp": "Fri 2024-11-29 20:45:21 EST", "InactiveExitTimestampMonotonic": "1303139838", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1621", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:45:21 EST", "WatchdogTimestampMonotonic": "1303139805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 29 November 2024 20:45:29 -0500 (0:00:00.732) 0:01:55.854 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003541", "end": "2024-11-29 20:45:30.025918", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:45:30.022377" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 29 November 2024 20:45:30 -0500 (0:00:00.542) 0:01:56.397 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003512", "end": "2024-11-29 20:45:30.461208", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:45:30.457696" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 29 November 2024 20:45:30 -0500 (0:00:00.470) 0:01:56.868 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 29 November 2024 20:45:30 -0500 (0:00:00.164) 0:01:57.032 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 29 November 2024 20:45:32 -0500 (0:00:02.086) 0:01:59.119 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026077", "end": "2024-11-29 20:45:33.272837", "rc": 0, "start": "2024-11-29 20:45:33.246760" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 29 November 2024 20:45:33 -0500 (0:00:00.542) 0:01:59.661 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 29 November 2024 20:45:33 -0500 (0:00:00.203) 0:01:59.864 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 29 November 2024 20:45:33 -0500 (0:00:00.230) 0:02:00.095 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 29 November 2024 20:45:34 -0500 (0:00:00.204) 0:02:00.299 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 29 November 2024 20:45:34 -0500 (0:00:00.195) 0:02:00.495 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 29 November 2024 20:45:34 -0500 (0:00:00.169) 0:02:00.665 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 29 November 2024 20:45:34 -0500 (0:00:00.139) 0:02:00.805 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 29 November 2024 20:45:34 -0500 (0:00:00.145) 0:02:00.950 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 29 November 2024 20:45:34 -0500 (0:00:00.138) 0:02:01.089 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:45:35 -0500 (0:00:00.305) 0:02:01.394 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004574", "end": "2024-11-29 20:45:35.700232", "rc": 0, "start": "2024-11-29 20:45:35.695658" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Xxjx1X TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:45:35 -0500 (0:00:00.742) 0:02:02.137 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:45:36 -0500 (0:00:00.133) 0:02:02.270 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Xxjx1X] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:45:36 -0500 (0:00:00.103) 0:02:02.374 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 29 November 2024 20:45:36 -0500 (0:00:00.139) 0:02:02.513 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:45:36 -0500 (0:00:00.317) 0:02:02.830 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005051", "end": "2024-11-29 20:45:36.967877", "rc": 0, "start": "2024-11-29 20:45:36.962826" } STDOUT: tlskey = /etc/pki/tls/private/ansible.xd6YM5 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:45:37 -0500 (0:00:00.516) 0:02:03.347 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:45:37 -0500 (0:00:00.218) 0:02:03.565 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.xd6YM5] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:45:37 -0500 (0:00:00.156) 0:02:03.722 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 29 November 2024 20:45:37 -0500 (0:00:00.134) 0:02:03.856 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:45:37 -0500 (0:00:00.210) 0:02:04.067 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004712", "end": "2024-11-29 20:45:38.226633", "rc": 0, "start": "2024-11-29 20:45:38.221921" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:45:38 -0500 (0:00:00.559) 0:02:04.627 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:45:38 -0500 (0:00:00.135) 0:02:04.763 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:45:38 -0500 (0:00:00.119) 0:02:04.882 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 29 November 2024 20:45:38 -0500 (0:00:00.106) 0:02:04.989 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:45:39 -0500 (0:00:00.457) 0:02:05.446 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004639", "end": "2024-11-29 20:45:39.616719", "rc": 0, "start": "2024-11-29 20:45:39.612080" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:45:39 -0500 (0:00:00.583) 0:02:06.030 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:45:40 -0500 (0:00:00.297) 0:02:06.328 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:45:40 -0500 (0:00:00.219) 0:02:06.548 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 29 November 2024 20:45:40 -0500 (0:00:00.170) 0:02:06.719 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 29 November 2024 20:45:40 -0500 (0:00:00.146) 0:02:06.865 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 29 November 2024 20:45:41 -0500 (0:00:00.879) 0:02:07.745 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 29 November 2024 20:45:41 -0500 (0:00:00.228) 0:02:07.973 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 29 November 2024 20:45:41 -0500 (0:00:00.197) 0:02:08.171 ******* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 29 November 2024 20:45:42 -0500 (0:00:00.207) 0:02:08.378 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 29 November 2024 20:45:42 -0500 (0:00:00.187) 0:02:08.566 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 29 November 2024 20:45:42 -0500 (0:00:00.169) 0:02:08.736 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 29 November 2024 20:45:42 -0500 (0:00:00.145) 0:02:08.881 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 29 November 2024 20:45:42 -0500 (0:00:00.199) 0:02:09.081 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 29 November 2024 20:45:43 -0500 (0:00:00.158) 0:02:09.240 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 29 November 2024 20:45:43 -0500 (0:00:00.132) 0:02:09.372 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 29 November 2024 20:45:43 -0500 (0:00:00.138) 0:02:09.511 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 29 November 2024 20:45:43 -0500 (0:00:00.242) 0:02:09.753 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 29 November 2024 20:45:43 -0500 (0:00:00.158) 0:02:09.912 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 29 November 2024 20:45:43 -0500 (0:00:00.152) 0:02:10.064 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 29 November 2024 20:45:43 -0500 (0:00:00.109) 0:02:10.174 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 29 November 2024 20:45:44 -0500 (0:00:00.164) 0:02:10.338 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 29 November 2024 20:45:44 -0500 (0:00:00.191) 0:02:10.529 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 29 November 2024 20:45:44 -0500 (0:00:00.164) 0:02:10.694 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 29 November 2024 20:45:44 -0500 (0:00:00.136) 0:02:10.830 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 29 November 2024 20:45:44 -0500 (0:00:00.121) 0:02:10.952 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 29 November 2024 20:45:44 -0500 (0:00:00.136) 0:02:11.088 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 29 November 2024 20:45:45 -0500 (0:00:00.160) 0:02:11.249 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 29 November 2024 20:45:45 -0500 (0:00:00.149) 0:02:11.398 ******* ok: [managed-node1] => { "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 : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 29 November 2024 20:45:47 -0500 (0:00:01.987) 0:02:13.386 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 29 November 2024 20:45:47 -0500 (0:00:00.454) 0:02:13.841 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 29 November 2024 20:45:47 -0500 (0:00:00.140) 0:02:13.981 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 29 November 2024 20:45:47 -0500 (0:00:00.169) 0:02:14.151 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 29 November 2024 20:45:48 -0500 (0:00:00.273) 0:02:14.424 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 29 November 2024 20:45:48 -0500 (0:00:00.759) 0:02:15.184 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 29 November 2024 20:45:49 -0500 (0:00:00.140) 0:02:15.325 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 29 November 2024 20:45:49 -0500 (0:00:00.144) 0:02:15.469 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 29 November 2024 20:45:49 -0500 (0:00:00.170) 0:02:15.640 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 29 November 2024 20:45:49 -0500 (0:00:00.163) 0:02:15.803 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 29 November 2024 20:45:49 -0500 (0:00:00.157) 0:02:15.961 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 29 November 2024 20:45:49 -0500 (0:00:00.179) 0:02:16.141 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 29 November 2024 20:45:50 -0500 (0:00:00.267) 0:02:16.408 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 29 November 2024 20:45:50 -0500 (0:00:00.154) 0:02:16.563 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 29 November 2024 20:45:51 -0500 (0:00:00.962) 0:02:17.525 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 29 November 2024 20:45:52 -0500 (0:00:00.769) 0:02:18.295 ******* ok: [managed-node1] => { "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.005749", "end": "2024-11-29 20:45:52.396440", "rc": 0, "start": "2024-11-29 20:45:52.390691" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 29 November 2024 20:45:52 -0500 (0:00:00.537) 0:02:18.832 ******* ok: [managed-node1] => { "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 : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 29 November 2024 20:45:54 -0500 (0:00:01.478) 0:02:20.311 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 29 November 2024 20:45:54 -0500 (0:00:00.357) 0:02:20.669 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 29 November 2024 20:45:54 -0500 (0:00:00.251) 0:02:20.920 ******* skipping: [managed-node1] => { "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 : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 29 November 2024 20:45:54 -0500 (0:00:00.249) 0:02:21.169 ******* skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 29 November 2024 20:45:55 -0500 (0:00:00.287) 0:02:21.457 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 29 November 2024 20:45:55 -0500 (0:00:00.137) 0:02:21.594 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 29 November 2024 20:45:55 -0500 (0:00:00.162) 0:02:21.756 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 29 November 2024 20:45:56 -0500 (0:00:00.821) 0:02:22.578 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:23:49 EST", "ActiveEnterTimestampMonotonic": "10790189", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-sysctl.service system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:23:48 EST", "AssertTimestampMonotonic": "9790725", "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": "Fri 2024-11-29 20:23:48 EST", "ConditionTimestampMonotonic": "9790723", "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": "845", "ExecMainStartTimestamp": "Fri 2024-11-29 20:23:48 EST", "ExecMainStartTimestampMonotonic": "9791433", "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": "Fri 2024-11-29 20:23:48 EST", "InactiveExitTimestampMonotonic": "9791472", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice 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": "Fri 2024-11-29 20:23:49 EST", "WatchdogTimestampMonotonic": "10790091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 29 November 2024 20:45:57 -0500 (0:00:00.808) 0:02:23.387 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.096871", "end": "2024-11-29 20:45:57.836404", "rc": 0, "start": "2024-11-29 20:45:57.739533" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 29 November 2024 20:45:58 -0500 (0:00:00.892) 0:02:24.279 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 29 November 2024 20:45:58 -0500 (0:00:00.265) 0:02:24.545 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 29 November 2024 20:45:58 -0500 (0:00:00.152) 0:02:24.697 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 29 November 2024 20:45:58 -0500 (0:00:00.172) 0:02:24.870 ******* ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 29 November 2024 20:45:59 -0500 (0:00:00.634) 0:02:25.504 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 29 November 2024 20:45:59 -0500 (0:00:00.158) 0:02:25.663 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 29 November 2024 20:46:00 -0500 (0:00:00.916) 0:02:26.579 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 29 November 2024 20:46:00 -0500 (0:00:00.222) 0:02:26.801 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 29 November 2024 20:46:00 -0500 (0:00:00.179) 0:02:26.981 ******* skipping: [managed-node1] => (item=/tmp/ansible.Xxjx1X) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Xxjx1X", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.xd6YM5) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.xd6YM5", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 29 November 2024 20:46:00 -0500 (0:00:00.200) 0:02:27.182 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:46:01 -0500 (0:00:00.310) 0:02:27.492 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004142", "end": "2024-11-29 20:46:01.869182", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:01.865040" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Xxjx1X TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:46:02 -0500 (0:00:00.836) 0:02:28.329 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:46:02 -0500 (0:00:00.213) 0:02:28.543 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.136031", "end": "2024-11-29 20:46:02.961423", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:02.825392" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 29 November 2024 20:46:03 -0500 (0:00:00.989) 0:02:29.532 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:46:03 -0500 (0:00:00.351) 0:02:29.884 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003548", "end": "2024-11-29 20:46:03.990561", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:03.987013" } STDOUT: tlskey = /etc/pki/tls/private/ansible.xd6YM5 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:46:04 -0500 (0:00:00.625) 0:02:30.510 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:46:04 -0500 (0:00:00.203) 0:02:30.713 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.132342", "end": "2024-11-29 20:46:05.058660", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:04.926318" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 29 November 2024 20:46:05 -0500 (0:00:00.757) 0:02:31.470 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:46:05 -0500 (0:00:00.284) 0:02:31.755 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003529", "end": "2024-11-29 20:46:05.899164", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:05.895635" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:46:06 -0500 (0:00:00.553) 0:02:32.308 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:46:06 -0500 (0:00:00.176) 0:02:32.485 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.133532", "end": "2024-11-29 20:46:07.004785", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:06.871253" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 29 November 2024 20:46:07 -0500 (0:00:01.060) 0:02:33.546 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:46:07 -0500 (0:00:00.513) 0:02:34.059 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003648", "end": "2024-11-29 20:46:08.469609", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:08.465961" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:46:08 -0500 (0:00:00.988) 0:02:35.047 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:46:09 -0500 (0:00:00.273) 0:02:35.320 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.132256", "end": "2024-11-29 20:46:09.797617", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:09.665361" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 29 November 2024 20:46:10 -0500 (0:00:01.086) 0:02:36.407 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005280", "end": "2024-11-29 20:46:10.827857", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:46:10.822577" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 29 November 2024 20:46:11 -0500 (0:00:00.956) 0:02:37.364 ******* ok: [managed-node1] => { "ansible_facts": { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -C -No" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 29 November 2024 20:46:11 -0500 (0:00:00.261) 0:02:37.625 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 29 November 2024 20:46:11 -0500 (0:00:00.446) 0:02:38.071 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 29 November 2024 20:46:12 -0500 (0:00:00.203) 0:02:38.275 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 29 November 2024 20:46:12 -0500 (0:00:00.296) 0:02:38.572 ******* skipping: [managed-node1] => { "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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 29 November 2024 20:46:12 -0500 (0:00:00.279) 0:02:38.852 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 29 November 2024 20:46:12 -0500 (0:00:00.239) 0:02:39.092 ******* skipping: [managed-node1] => { "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 : Change the password of sa user] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 29 November 2024 20:46:13 -0500 (0:00:00.219) 0:02:39.311 ******* skipping: [managed-node1] => { "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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 29 November 2024 20:46:13 -0500 (0:00:00.259) 0:02:39.570 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 29 November 2024 20:46:13 -0500 (0:00:00.290) 0:02:39.861 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 29 November 2024 20:46:13 -0500 (0:00:00.271) 0:02:40.140 ******* ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005437", "end": "2024-11-29 20:46:14.374455", "rc": 0, "start": "2024-11-29 20:46:14.369018" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 29 November 2024 20:46:14 -0500 (0:00:00.718) 0:02:40.858 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 29 November 2024 20:46:14 -0500 (0:00:00.306) 0:02:41.165 ******* ok: [managed-node1] => { "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 : Change the edition of MSSQL] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 29 November 2024 20:46:16 -0500 (0:00:01.800) 0:02:42.966 ******* skipping: [managed-node1] => { "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 : Configure the IP address setting] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 29 November 2024 20:46:17 -0500 (0:00:00.276) 0:02:43.243 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 29 November 2024 20:46:17 -0500 (0:00:00.179) 0:02:43.422 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 29 November 2024 20:46:17 -0500 (0:00:00.267) 0:02:43.689 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 29 November 2024 20:46:17 -0500 (0:00:00.245) 0:02:43.935 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:46:18 -0500 (0:00:00.333) 0:02:44.269 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003668", "end": "2024-11-29 20:46:18.371040", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:46:18.367372" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:46:18 -0500 (0:00:00.520) 0:02:44.789 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.133136", "end": "2024-11-29 20:46:19.165779", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:46:19.032643" } 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 setting network tcpport] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:46:19 -0500 (0:00:00.916) 0:02:45.706 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 29 November 2024 20:46:19 -0500 (0:00:00.264) 0:02:45.970 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 29 November 2024 20:46:19 -0500 (0:00:00.201) 0:02:46.171 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 29 November 2024 20:46:20 -0500 (0:00:00.187) 0:02:46.359 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 29 November 2024 20:46:20 -0500 (0:00:00.173) 0:02:46.533 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 29 November 2024 20:46:20 -0500 (0:00:00.146) 0:02:46.680 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 29 November 2024 20:46:20 -0500 (0:00:00.194) 0:02:46.874 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 29 November 2024 20:46:20 -0500 (0:00:00.135) 0:02:47.010 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 29 November 2024 20:46:20 -0500 (0:00:00.144) 0:02:47.154 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 29 November 2024 20:46:21 -0500 (0:00:00.158) 0:02:47.313 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 29 November 2024 20:46:21 -0500 (0:00:00.240) 0:02:47.553 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 29 November 2024 20:46:21 -0500 (0:00:00.127) 0:02:47.680 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 29 November 2024 20:46:21 -0500 (0:00:00.134) 0:02:47.815 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 29 November 2024 20:46:21 -0500 (0:00:00.140) 0:02:47.956 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 29 November 2024 20:46:21 -0500 (0:00:00.203) 0:02:48.160 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 29 November 2024 20:46:22 -0500 (0:00:00.159) 0:02:48.319 ******* skipping: [managed-node1] => { "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 : Check if AD user exists] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 29 November 2024 20:46:22 -0500 (0:00:00.159) 0:02:48.478 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 29 November 2024 20:46:22 -0500 (0:00:00.146) 0:02:48.625 ******* skipping: [managed-node1] => { "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 : Ensure proper configuration on user] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 29 November 2024 20:46:22 -0500 (0:00:00.156) 0:02:48.781 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 29 November 2024 20:46:22 -0500 (0:00:00.139) 0:02:48.921 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 29 November 2024 20:46:22 -0500 (0:00:00.145) 0:02:49.066 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 29 November 2024 20:46:22 -0500 (0:00:00.120) 0:02:49.187 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 29 November 2024 20:46:23 -0500 (0:00:00.116) 0:02:49.303 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 29 November 2024 20:46:23 -0500 (0:00:00.154) 0:02:49.457 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 29 November 2024 20:46:23 -0500 (0:00:00.297) 0:02:49.755 ******* skipping: [managed-node1] => { "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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 29 November 2024 20:46:23 -0500 (0:00:00.167) 0:02:49.923 ******* skipping: [managed-node1] => { "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 : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 29 November 2024 20:46:23 -0500 (0:00:00.168) 0:02:50.092 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 29 November 2024 20:46:24 -0500 (0:00:00.154) 0:02:50.246 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 29 November 2024 20:46:24 -0500 (0:00:00.139) 0:02:50.386 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 29 November 2024 20:46:24 -0500 (0:00:00.260) 0:02:50.646 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 29 November 2024 20:46:24 -0500 (0:00:00.195) 0:02:50.842 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 29 November 2024 20:46:24 -0500 (0:00:00.160) 0:02:51.003 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 29 November 2024 20:46:24 -0500 (0:00:00.136) 0:02:51.139 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 29 November 2024 20:46:25 -0500 (0:00:00.149) 0:02:51.289 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 29 November 2024 20:46:25 -0500 (0:00:00.143) 0:02:51.432 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 29 November 2024 20:46:25 -0500 (0:00:00.220) 0:02:51.653 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 29 November 2024 20:46:25 -0500 (0:00:00.215) 0:02:51.868 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 29 November 2024 20:46:25 -0500 (0:00:00.193) 0:02:52.061 ******* skipping: [managed-node1] => (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: [managed-node1] => (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 : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 29 November 2024 20:46:26 -0500 (0:00:00.202) 0:02:52.263 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 29 November 2024 20:46:26 -0500 (0:00:00.136) 0:02:52.400 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 29 November 2024 20:46:26 -0500 (0:00:00.222) 0:02:52.623 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Get the current primary replica in SQL] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 29 November 2024 20:46:26 -0500 (0:00:00.264) 0:02:52.887 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 29 November 2024 20:46:26 -0500 (0:00:00.120) 0:02:53.008 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 29 November 2024 20:46:26 -0500 (0:00:00.090) 0:02:53.098 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 29 November 2024 20:46:26 -0500 (0:00:00.126) 0:02:53.225 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 29 November 2024 20:46:27 -0500 (0:00:00.248) 0:02:53.473 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 29 November 2024 20:46:27 -0500 (0:00:00.168) 0:02:53.642 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 29 November 2024 20:46:27 -0500 (0:00:00.137) 0:02:53.779 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 29 November 2024 20:46:27 -0500 (0:00:00.189) 0:02:53.969 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 29 November 2024 20:46:27 -0500 (0:00:00.109) 0:02:54.078 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 29 November 2024 20:46:27 -0500 (0:00:00.143) 0:02:54.222 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 29 November 2024 20:46:28 -0500 (0:00:00.116) 0:02:54.339 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 29 November 2024 20:46:28 -0500 (0:00:00.108) 0:02:54.447 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 29 November 2024 20:46:28 -0500 (0:00:00.088) 0:02:54.536 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 29 November 2024 20:46:28 -0500 (0:00:00.129) 0:02:54.665 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 29 November 2024 20:46:28 -0500 (0:00:00.143) 0:02:54.808 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 29 November 2024 20:46:28 -0500 (0:00:00.201) 0:02:55.010 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 29 November 2024 20:46:29 -0500 (0:00:00.310) 0:02:55.320 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 29 November 2024 20:46:29 -0500 (0:00:00.164) 0:02:55.485 ******* skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 29 November 2024 20:46:29 -0500 (0:00:00.144) 0:02:55.629 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 29 November 2024 20:46:29 -0500 (0:00:00.105) 0:02:55.734 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 29 November 2024 20:46:29 -0500 (0:00:00.160) 0:02:55.895 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 29 November 2024 20:46:29 -0500 (0:00:00.216) 0:02:56.111 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 29 November 2024 20:46:30 -0500 (0:00:00.266) 0:02:56.378 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 29 November 2024 20:46:30 -0500 (0:00:00.809) 0:02:57.188 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:45:21 EST", "ActiveEnterTimestampMonotonic": "1303139838", "ActiveExitTimestamp": "Fri 2024-11-29 20:45:21 EST", "ActiveExitTimestampMonotonic": "1302859285", "ActiveState": "active", "After": "-.mount network.target basic.target auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:45:21 EST", "AssertTimestampMonotonic": "1303138971", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:45:21 EST", "ConditionTimestampMonotonic": "1303138969", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1621", "ExecMainStartTimestamp": "Fri 2024-11-29 20:45:21 EST", "ExecMainStartTimestampMonotonic": "1303139745", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:45:21 EST", "InactiveEnterTimestampMonotonic": "1303137137", "InactiveExitTimestamp": "Fri 2024-11-29 20:45:21 EST", "InactiveExitTimestampMonotonic": "1303139838", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1621", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:45:21 EST", "WatchdogTimestampMonotonic": "1303139805", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 29 November 2024 20:46:32 -0500 (0:00:01.371) 0:02:58.559 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 29 November 2024 20:46:32 -0500 (0:00:00.164) 0:02:58.724 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 29 November 2024 20:46:32 -0500 (0:00:00.154) 0:02:58.878 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 29 November 2024 20:46:33 -0500 (0:00:00.536) 0:02:59.415 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 29 November 2024 20:46:33 -0500 (0:00:00.154) 0:02:59.569 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 29 November 2024 20:46:33 -0500 (0:00:00.137) 0:02:59.707 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 29 November 2024 20:46:33 -0500 (0:00:00.163) 0:02:59.870 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 29 November 2024 20:46:33 -0500 (0:00:00.179) 0:03:00.049 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 29 November 2024 20:46:33 -0500 (0:00:00.147) 0:03:00.197 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 29 November 2024 20:46:34 -0500 (0:00:00.152) 0:03:00.349 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 29 November 2024 20:46:34 -0500 (0:00:00.129) 0:03:00.479 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 29 November 2024 20:46:34 -0500 (0:00:00.194) 0:03:00.673 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 29 November 2024 20:46:34 -0500 (0:00:00.390) 0:03:01.064 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:46:31 EST", "ActiveEnterTimestampMonotonic": "1373187287", "ActiveExitTimestamp": "Fri 2024-11-29 20:46:31 EST", "ActiveExitTimestampMonotonic": "1372936645", "ActiveState": "active", "After": "-.mount network.target basic.target auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:46:31 EST", "AssertTimestampMonotonic": "1373186538", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:46:31 EST", "ConditionTimestampMonotonic": "1373186537", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3888", "ExecMainStartTimestamp": "Fri 2024-11-29 20:46:31 EST", "ExecMainStartTimestampMonotonic": "1373187195", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-29 20:46:31 EST] ; stop_time=[n/a] ; pid=3888 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:46:31 EST", "InactiveEnterTimestampMonotonic": "1373185271", "InactiveExitTimestamp": "Fri 2024-11-29 20:46:31 EST", "InactiveExitTimestampMonotonic": "1373187287", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3888", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:46:31 EST", "WatchdogTimestampMonotonic": "1373187253", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 29 November 2024 20:46:36 -0500 (0:00:01.680) 0:03:02.744 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003556", "end": "2024-11-29 20:46:36.934239", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:46:36.930683" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 29 November 2024 20:46:37 -0500 (0:00:00.573) 0:03:03.318 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003362", "end": "2024-11-29 20:46:37.411019", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:46:37.407657" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 29 November 2024 20:46:37 -0500 (0:00:00.540) 0:03:03.859 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 29 November 2024 20:46:37 -0500 (0:00:00.209) 0:03:04.068 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 29 November 2024 20:46:39 -0500 (0:00:01.692) 0:03:05.761 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025420", "end": "2024-11-29 20:46:39.896988", "rc": 0, "start": "2024-11-29 20:46:39.871568" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 29 November 2024 20:46:40 -0500 (0:00:00.614) 0:03:06.375 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 29 November 2024 20:46:40 -0500 (0:00:00.158) 0:03:06.534 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 29 November 2024 20:46:40 -0500 (0:00:00.165) 0:03:06.699 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 29 November 2024 20:46:40 -0500 (0:00:00.149) 0:03:06.849 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 29 November 2024 20:46:40 -0500 (0:00:00.134) 0:03:06.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 29 November 2024 20:46:40 -0500 (0:00:00.167) 0:03:07.151 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 29 November 2024 20:46:41 -0500 (0:00:00.158) 0:03:07.310 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 29 November 2024 20:46:41 -0500 (0:00:00.140) 0:03:07.451 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 29 November 2024 20:46:41 -0500 (0:00:00.356) 0:03:07.808 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:46:42 -0500 (0:00:00.432) 0:03:08.240 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004718", "end": "2024-11-29 20:46:42.445334", "rc": 0, "start": "2024-11-29 20:46:42.440616" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:46:42 -0500 (0:00:00.608) 0:03:08.849 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:46:42 -0500 (0:00:00.177) 0:03:09.026 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:46:42 -0500 (0:00:00.157) 0:03:09.184 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 29 November 2024 20:46:43 -0500 (0:00:00.155) 0:03:09.339 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:46:43 -0500 (0:00:00.267) 0:03:09.607 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004548", "end": "2024-11-29 20:46:43.719467", "rc": 0, "start": "2024-11-29 20:46:43.714919" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:46:43 -0500 (0:00:00.520) 0:03:10.127 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:46:44 -0500 (0:00:00.155) 0:03:10.283 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:46:44 -0500 (0:00:00.151) 0:03:10.434 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 29 November 2024 20:46:44 -0500 (0:00:00.095) 0:03:10.530 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:46:44 -0500 (0:00:00.169) 0:03:10.700 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004545", "end": "2024-11-29 20:46:44.754423", "rc": 0, "start": "2024-11-29 20:46:44.749878" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:46:44 -0500 (0:00:00.403) 0:03:11.104 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:46:45 -0500 (0:00:00.199) 0:03:11.304 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:46:45 -0500 (0:00:00.134) 0:03:11.438 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 29 November 2024 20:46:45 -0500 (0:00:00.174) 0:03:11.613 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:46:45 -0500 (0:00:00.285) 0:03:11.898 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004565", "end": "2024-11-29 20:46:45.995107", "rc": 0, "start": "2024-11-29 20:46:45.990542" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:46:46 -0500 (0:00:00.505) 0:03:12.404 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:46:46 -0500 (0:00:00.162) 0:03:12.566 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:46:46 -0500 (0:00:00.168) 0:03:12.735 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 29 November 2024 20:46:46 -0500 (0:00:00.145) 0:03:12.880 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 29 November 2024 20:46:46 -0500 (0:00:00.152) 0:03:13.033 ******* changed: [managed-node1] => (item=/etc/pki/tls/certs/ansible.Xxjx1X) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.Xxjx1X", "path": "/etc/pki/tls/certs/ansible.Xxjx1X", "state": "absent" } changed: [managed-node1] => (item=/etc/pki/tls/private/ansible.xd6YM5) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.xd6YM5", "path": "/etc/pki/tls/private/ansible.xd6YM5", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 29 November 2024 20:46:47 -0500 (0:00:01.133) 0:03:14.166 ******* ok: [managed-node1] => (item=/tmp/ansible.Xxjx1X) => { "ansible_loop_var": "item", "changed": false, "checksum": "136f497f2e392c024b6ae20389a1196594708ebc", "dest": "/tmp/ansible.Xxjx1X", "gid": 0, "group": "root", "item": "/tmp/ansible.Xxjx1X", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Xxjx1X", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed-node1] => (item=/tmp/ansible.xd6YM5) => { "ansible_loop_var": "item", "changed": false, "checksum": "d17e360ffe4000fad411d01258ae51f3abb5f900", "dest": "/tmp/ansible.xd6YM5", "gid": 0, "group": "root", "item": "/tmp/ansible.xd6YM5", "mode": "0600", "owner": "root", "path": "/tmp/ansible.xd6YM5", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 29 November 2024 20:46:49 -0500 (0:00:01.957) 0:03:16.124 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Xxjx1X", "mssql_tls_private_key": "ansible.xd6YM5" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 29 November 2024 20:46:50 -0500 (0:00:00.210) 0:03:16.334 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 29 November 2024 20:46:51 -0500 (0:00:01.651) 0:03:17.985 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 29 November 2024 20:46:52 -0500 (0:00:00.344) 0:03:18.330 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 29 November 2024 20:46:52 -0500 (0:00:00.225) 0:03:18.555 ******* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 29 November 2024 20:46:52 -0500 (0:00:00.213) 0:03:18.769 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 29 November 2024 20:46:52 -0500 (0:00:00.137) 0:03:18.907 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 29 November 2024 20:46:52 -0500 (0:00:00.139) 0:03:19.046 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 29 November 2024 20:46:52 -0500 (0:00:00.157) 0:03:19.204 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 29 November 2024 20:46:53 -0500 (0:00:00.202) 0:03:19.406 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 29 November 2024 20:46:53 -0500 (0:00:00.222) 0:03:19.629 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 29 November 2024 20:46:53 -0500 (0:00:00.155) 0:03:19.785 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 29 November 2024 20:46:53 -0500 (0:00:00.139) 0:03:19.924 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 29 November 2024 20:46:53 -0500 (0:00:00.153) 0:03:20.077 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 29 November 2024 20:46:54 -0500 (0:00:00.344) 0:03:20.422 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 29 November 2024 20:46:54 -0500 (0:00:00.207) 0:03:20.629 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 29 November 2024 20:46:54 -0500 (0:00:00.153) 0:03:20.783 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 29 November 2024 20:46:54 -0500 (0:00:00.155) 0:03:20.938 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 29 November 2024 20:46:54 -0500 (0:00:00.215) 0:03:21.154 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 29 November 2024 20:46:55 -0500 (0:00:00.176) 0:03:21.331 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 29 November 2024 20:46:55 -0500 (0:00:00.157) 0:03:21.489 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 29 November 2024 20:46:55 -0500 (0:00:00.217) 0:03:21.706 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 29 November 2024 20:46:55 -0500 (0:00:00.238) 0:03:21.945 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 29 November 2024 20:46:55 -0500 (0:00:00.256) 0:03:22.202 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 29 November 2024 20:46:56 -0500 (0:00:00.252) 0:03:22.454 ******* ok: [managed-node1] => { "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 : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 29 November 2024 20:46:58 -0500 (0:00:01.823) 0:03:24.278 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 29 November 2024 20:46:58 -0500 (0:00:00.470) 0:03:24.749 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 29 November 2024 20:46:58 -0500 (0:00:00.185) 0:03:24.934 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 29 November 2024 20:46:59 -0500 (0:00:00.454) 0:03:25.389 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 29 November 2024 20:46:59 -0500 (0:00:00.288) 0:03:25.677 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 29 November 2024 20:47:00 -0500 (0:00:00.756) 0:03:26.434 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 29 November 2024 20:47:00 -0500 (0:00:00.142) 0:03:26.577 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 29 November 2024 20:47:00 -0500 (0:00:00.159) 0:03:26.736 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 29 November 2024 20:47:00 -0500 (0:00:00.172) 0:03:26.909 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 29 November 2024 20:47:00 -0500 (0:00:00.305) 0:03:27.215 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 29 November 2024 20:47:01 -0500 (0:00:00.169) 0:03:27.384 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 29 November 2024 20:47:01 -0500 (0:00:00.154) 0:03:27.539 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 29 November 2024 20:47:01 -0500 (0:00:00.393) 0:03:27.932 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 29 November 2024 20:47:01 -0500 (0:00:00.161) 0:03:28.094 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 29 November 2024 20:47:02 -0500 (0:00:00.916) 0:03:29.010 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 29 November 2024 20:47:03 -0500 (0:00:00.795) 0:03:29.806 ******* ok: [managed-node1] => { "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.005936", "end": "2024-11-29 20:47:03.934745", "rc": 0, "start": "2024-11-29 20:47:03.928809" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 29 November 2024 20:47:04 -0500 (0:00:00.713) 0:03:30.520 ******* ok: [managed-node1] => { "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 : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 29 November 2024 20:47:06 -0500 (0:00:01.751) 0:03:32.271 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 29 November 2024 20:47:06 -0500 (0:00:00.288) 0:03:32.559 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 29 November 2024 20:47:06 -0500 (0:00:00.222) 0:03:32.782 ******* skipping: [managed-node1] => { "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 : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 29 November 2024 20:47:06 -0500 (0:00:00.141) 0:03:32.924 ******* skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 29 November 2024 20:47:06 -0500 (0:00:00.176) 0:03:33.100 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 29 November 2024 20:47:07 -0500 (0:00:00.230) 0:03:33.330 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 29 November 2024 20:47:07 -0500 (0:00:00.142) 0:03:33.472 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 29 November 2024 20:47:08 -0500 (0:00:00.948) 0:03:34.421 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:23:49 EST", "ActiveEnterTimestampMonotonic": "10790189", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-sysctl.service system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:23:48 EST", "AssertTimestampMonotonic": "9790725", "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": "Fri 2024-11-29 20:23:48 EST", "ConditionTimestampMonotonic": "9790723", "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": "845", "ExecMainStartTimestamp": "Fri 2024-11-29 20:23:48 EST", "ExecMainStartTimestampMonotonic": "9791433", "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": "Fri 2024-11-29 20:23:48 EST", "InactiveExitTimestampMonotonic": "9791472", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice 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": "Fri 2024-11-29 20:23:49 EST", "WatchdogTimestampMonotonic": "10790091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 29 November 2024 20:47:08 -0500 (0:00:00.804) 0:03:35.225 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.098494", "end": "2024-11-29 20:47:09.469269", "rc": 0, "start": "2024-11-29 20:47:09.370775" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 29 November 2024 20:47:09 -0500 (0:00:00.626) 0:03:35.852 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 29 November 2024 20:47:09 -0500 (0:00:00.097) 0:03:35.950 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 29 November 2024 20:47:09 -0500 (0:00:00.111) 0:03:36.062 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 29 November 2024 20:47:09 -0500 (0:00:00.139) 0:03:36.202 ******* ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 29 November 2024 20:47:10 -0500 (0:00:00.490) 0:03:36.692 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 29 November 2024 20:47:10 -0500 (0:00:00.358) 0:03:37.051 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 29 November 2024 20:47:11 -0500 (0:00:00.740) 0:03:37.791 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 29 November 2024 20:47:11 -0500 (0:00:00.152) 0:03:37.944 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 29 November 2024 20:47:11 -0500 (0:00:00.149) 0:03:38.093 ******* changed: [managed-node1] => (item=/tmp/ansible.Xxjx1X) => { "ansible_loop_var": "item", "changed": true, "checksum": "136f497f2e392c024b6ae20389a1196594708ebc", "dest": "/etc/pki/tls/certs/ansible.Xxjx1X", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Xxjx1X", "md5sum": "163c251cdea49a86c1064ed66cc444cb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.Xxjx1X", "state": "file", "uid": 996 } changed: [managed-node1] => (item=/tmp/ansible.xd6YM5) => { "ansible_loop_var": "item", "changed": true, "checksum": "d17e360ffe4000fad411d01258ae51f3abb5f900", "dest": "/etc/pki/tls/private/ansible.xd6YM5", "gid": 994, "group": "mssql", "item": "/tmp/ansible.xd6YM5", "md5sum": "6d08a3ae036b562c30681dcfe1f96cbb", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.xd6YM5", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 29 November 2024 20:47:13 -0500 (0:00:01.246) 0:03:39.340 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:47:13 -0500 (0:00:00.269) 0:03:39.609 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003520", "end": "2024-11-29 20:47:13.725113", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:47:13.721593" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:47:13 -0500 (0:00:00.524) 0:03:40.134 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.Xxjx1X" ], "delta": "0:00:00.136419", "end": "2024-11-29 20:47:14.442011", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:47:14.305592" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:47:14 -0500 (0:00:00.769) 0:03:40.904 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 29 November 2024 20:47:14 -0500 (0:00:00.124) 0:03:41.028 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:47:14 -0500 (0:00:00.200) 0:03:41.229 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003448", "end": "2024-11-29 20:47:15.288049", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:47:15.284601" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:47:15 -0500 (0:00:00.434) 0:03:41.664 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.xd6YM5" ], "delta": "0:00:00.136343", "end": "2024-11-29 20:47:16.075278", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:47:15.938935" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:47:16 -0500 (0:00:01.042) 0:03:42.706 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 29 November 2024 20:47:16 -0500 (0:00:00.177) 0:03:42.883 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:47:16 -0500 (0:00:00.312) 0:03:43.196 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003507", "end": "2024-11-29 20:47:17.305201", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:47:17.301694" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:47:17 -0500 (0:00:00.517) 0:03:43.713 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.134635", "end": "2024-11-29 20:47:17.986728", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:47:17.852093" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:47:18 -0500 (0:00:00.700) 0:03:44.413 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 29 November 2024 20:47:18 -0500 (0:00:00.150) 0:03:44.563 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:47:18 -0500 (0:00:00.297) 0:03:44.861 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003530", "end": "2024-11-29 20:47:18.989563", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:47:18.986033" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:47:19 -0500 (0:00:00.542) 0:03:45.404 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.135965", "end": "2024-11-29 20:47:19.658562", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:47:19.522597" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:47:19 -0500 (0:00:00.674) 0:03:46.078 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 29 November 2024 20:47:20 -0500 (0:00:00.161) 0:03:46.239 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005536", "end": "2024-11-29 20:47:20.366022", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:47:20.360486" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 29 November 2024 20:47:20 -0500 (0:00:00.531) 0:03:46.771 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 29 November 2024 20:47:20 -0500 (0:00:00.147) 0:03:46.918 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 29 November 2024 20:47:20 -0500 (0:00:00.301) 0:03:47.220 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 29 November 2024 20:47:21 -0500 (0:00:00.148) 0:03:47.369 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 29 November 2024 20:47:21 -0500 (0:00:00.145) 0:03:47.514 ******* skipping: [managed-node1] => { "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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 29 November 2024 20:47:21 -0500 (0:00:00.139) 0:03:47.654 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 29 November 2024 20:47:21 -0500 (0:00:00.142) 0:03:47.796 ******* skipping: [managed-node1] => { "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 : Change the password of sa user] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 29 November 2024 20:47:21 -0500 (0:00:00.148) 0:03:47.945 ******* skipping: [managed-node1] => { "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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 29 November 2024 20:47:21 -0500 (0:00:00.145) 0:03:48.090 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 29 November 2024 20:47:22 -0500 (0:00:00.156) 0:03:48.246 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 29 November 2024 20:47:22 -0500 (0:00:00.138) 0:03:48.385 ******* ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005809", "end": "2024-11-29 20:47:22.498784", "rc": 0, "start": "2024-11-29 20:47:22.492975" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 29 November 2024 20:47:22 -0500 (0:00:00.512) 0:03:48.897 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 29 November 2024 20:47:22 -0500 (0:00:00.150) 0:03:49.047 ******* ok: [managed-node1] => { "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 : Change the edition of MSSQL] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 29 November 2024 20:47:24 -0500 (0:00:01.784) 0:03:50.831 ******* skipping: [managed-node1] => { "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 : Configure the IP address setting] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 29 November 2024 20:47:24 -0500 (0:00:00.337) 0:03:51.168 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 29 November 2024 20:47:25 -0500 (0:00:00.166) 0:03:51.335 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 29 November 2024 20:47:25 -0500 (0:00:00.188) 0:03:51.523 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 29 November 2024 20:47:25 -0500 (0:00:00.142) 0:03:51.666 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:47:25 -0500 (0:00:00.256) 0:03:51.923 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003629", "end": "2024-11-29 20:47:26.204485", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:47:26.200856" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:47:26 -0500 (0:00:00.722) 0:03:52.646 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.135049", "end": "2024-11-29 20:47:26.983405", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:47:26.848356" } 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 setting network tcpport] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:47:27 -0500 (0:00:00.773) 0:03:53.419 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 29 November 2024 20:47:27 -0500 (0:00:00.133) 0:03:53.553 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 29 November 2024 20:47:27 -0500 (0:00:00.154) 0:03:53.707 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 29 November 2024 20:47:27 -0500 (0:00:00.144) 0:03:53.851 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 29 November 2024 20:47:27 -0500 (0:00:00.138) 0:03:53.990 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 29 November 2024 20:47:27 -0500 (0:00:00.140) 0:03:54.130 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 29 November 2024 20:47:28 -0500 (0:00:00.138) 0:03:54.269 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 29 November 2024 20:47:28 -0500 (0:00:00.145) 0:03:54.414 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 29 November 2024 20:47:28 -0500 (0:00:00.137) 0:03:54.552 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 29 November 2024 20:47:28 -0500 (0:00:00.117) 0:03:54.670 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 29 November 2024 20:47:28 -0500 (0:00:00.215) 0:03:54.885 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 29 November 2024 20:47:28 -0500 (0:00:00.091) 0:03:54.976 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 29 November 2024 20:47:28 -0500 (0:00:00.092) 0:03:55.069 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 29 November 2024 20:47:28 -0500 (0:00:00.121) 0:03:55.190 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 29 November 2024 20:47:29 -0500 (0:00:00.146) 0:03:55.336 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 29 November 2024 20:47:29 -0500 (0:00:00.118) 0:03:55.455 ******* skipping: [managed-node1] => { "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 : Check if AD user exists] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 29 November 2024 20:47:29 -0500 (0:00:00.114) 0:03:55.569 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 29 November 2024 20:47:29 -0500 (0:00:00.092) 0:03:55.661 ******* skipping: [managed-node1] => { "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 : Ensure proper configuration on user] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 29 November 2024 20:47:29 -0500 (0:00:00.088) 0:03:55.750 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 29 November 2024 20:47:29 -0500 (0:00:00.116) 0:03:55.866 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 29 November 2024 20:47:29 -0500 (0:00:00.138) 0:03:56.004 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 29 November 2024 20:47:29 -0500 (0:00:00.121) 0:03:56.126 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 29 November 2024 20:47:29 -0500 (0:00:00.110) 0:03:56.236 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 29 November 2024 20:47:30 -0500 (0:00:00.094) 0:03:56.331 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 29 November 2024 20:47:30 -0500 (0:00:00.111) 0:03:56.442 ******* skipping: [managed-node1] => { "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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 29 November 2024 20:47:30 -0500 (0:00:00.138) 0:03:56.581 ******* skipping: [managed-node1] => { "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 : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 29 November 2024 20:47:30 -0500 (0:00:00.116) 0:03:56.697 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 29 November 2024 20:47:30 -0500 (0:00:00.113) 0:03:56.811 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 29 November 2024 20:47:30 -0500 (0:00:00.101) 0:03:56.912 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 29 November 2024 20:47:30 -0500 (0:00:00.089) 0:03:57.001 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 29 November 2024 20:47:30 -0500 (0:00:00.178) 0:03:57.180 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 29 November 2024 20:47:31 -0500 (0:00:00.096) 0:03:57.276 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 29 November 2024 20:47:31 -0500 (0:00:00.087) 0:03:57.364 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 29 November 2024 20:47:31 -0500 (0:00:00.116) 0:03:57.481 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 29 November 2024 20:47:31 -0500 (0:00:00.145) 0:03:57.626 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 29 November 2024 20:47:31 -0500 (0:00:00.145) 0:03:57.771 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 29 November 2024 20:47:31 -0500 (0:00:00.162) 0:03:57.933 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 29 November 2024 20:47:31 -0500 (0:00:00.137) 0:03:58.071 ******* skipping: [managed-node1] => (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: [managed-node1] => (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 : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 29 November 2024 20:47:32 -0500 (0:00:00.171) 0:03:58.242 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 29 November 2024 20:47:32 -0500 (0:00:00.133) 0:03:58.376 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 29 November 2024 20:47:32 -0500 (0:00:00.142) 0:03:58.519 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Get the current primary replica in SQL] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 29 November 2024 20:47:32 -0500 (0:00:00.173) 0:03:58.692 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 29 November 2024 20:47:32 -0500 (0:00:00.142) 0:03:58.835 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 29 November 2024 20:47:32 -0500 (0:00:00.156) 0:03:58.992 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 29 November 2024 20:47:32 -0500 (0:00:00.120) 0:03:59.112 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 29 November 2024 20:47:32 -0500 (0:00:00.109) 0:03:59.222 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 29 November 2024 20:47:33 -0500 (0:00:00.091) 0:03:59.314 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 29 November 2024 20:47:33 -0500 (0:00:00.089) 0:03:59.404 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 29 November 2024 20:47:33 -0500 (0:00:00.094) 0:03:59.499 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 29 November 2024 20:47:33 -0500 (0:00:00.315) 0:03:59.815 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 29 November 2024 20:47:33 -0500 (0:00:00.149) 0:03:59.964 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 29 November 2024 20:47:33 -0500 (0:00:00.181) 0:04:00.145 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 29 November 2024 20:47:34 -0500 (0:00:00.154) 0:04:00.300 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 29 November 2024 20:47:34 -0500 (0:00:00.113) 0:04:00.413 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 29 November 2024 20:47:34 -0500 (0:00:00.177) 0:04:00.591 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 29 November 2024 20:47:34 -0500 (0:00:00.178) 0:04:00.770 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 29 November 2024 20:47:34 -0500 (0:00:00.172) 0:04:00.942 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 29 November 2024 20:47:34 -0500 (0:00:00.125) 0:04:01.068 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 29 November 2024 20:47:34 -0500 (0:00:00.112) 0:04:01.181 ******* skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 29 November 2024 20:47:35 -0500 (0:00:00.166) 0:04:01.347 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 29 November 2024 20:47:35 -0500 (0:00:00.161) 0:04:01.509 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 29 November 2024 20:47:35 -0500 (0:00:00.186) 0:04:01.695 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 29 November 2024 20:47:35 -0500 (0:00:00.148) 0:04:01.843 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 29 November 2024 20:47:35 -0500 (0:00:00.223) 0:04:02.067 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 29 November 2024 20:47:36 -0500 (0:00:00.872) 0:04:02.939 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:46:31 EST", "ActiveEnterTimestampMonotonic": "1373187287", "ActiveExitTimestamp": "Fri 2024-11-29 20:46:31 EST", "ActiveExitTimestampMonotonic": "1372936645", "ActiveState": "active", "After": "-.mount network.target basic.target auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:46:31 EST", "AssertTimestampMonotonic": "1373186538", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:46:31 EST", "ConditionTimestampMonotonic": "1373186537", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3888", "ExecMainStartTimestamp": "Fri 2024-11-29 20:46:31 EST", "ExecMainStartTimestampMonotonic": "1373187195", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-29 20:46:31 EST] ; stop_time=[n/a] ; pid=3888 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:46:31 EST", "InactiveEnterTimestampMonotonic": "1373185271", "InactiveExitTimestamp": "Fri 2024-11-29 20:46:31 EST", "InactiveExitTimestampMonotonic": "1373187287", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3888", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:46:31 EST", "WatchdogTimestampMonotonic": "1373187253", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 29 November 2024 20:47:38 -0500 (0:00:01.353) 0:04:04.293 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 29 November 2024 20:47:38 -0500 (0:00:00.224) 0:04:04.517 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 29 November 2024 20:47:38 -0500 (0:00:00.144) 0:04:04.662 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 29 November 2024 20:47:39 -0500 (0:00:00.956) 0:04:05.618 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 29 November 2024 20:47:39 -0500 (0:00:00.140) 0:04:05.759 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 29 November 2024 20:47:39 -0500 (0:00:00.144) 0:04:05.903 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 29 November 2024 20:47:39 -0500 (0:00:00.138) 0:04:06.042 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 29 November 2024 20:47:39 -0500 (0:00:00.114) 0:04:06.156 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 29 November 2024 20:47:40 -0500 (0:00:00.113) 0:04:06.270 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 29 November 2024 20:47:40 -0500 (0:00:00.167) 0:04:06.437 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 29 November 2024 20:47:40 -0500 (0:00:00.259) 0:04:06.697 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 29 November 2024 20:47:40 -0500 (0:00:00.286) 0:04:06.984 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 29 November 2024 20:47:41 -0500 (0:00:00.360) 0:04:07.345 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:47:37 EST", "ActiveEnterTimestampMonotonic": "1438970342", "ActiveExitTimestamp": "Fri 2024-11-29 20:47:37 EST", "ActiveExitTimestampMonotonic": "1438715697", "ActiveState": "active", "After": "-.mount network.target basic.target auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:47:37 EST", "AssertTimestampMonotonic": "1438968725", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:47:37 EST", "ConditionTimestampMonotonic": "1438968723", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6330", "ExecMainStartTimestamp": "Fri 2024-11-29 20:47:37 EST", "ExecMainStartTimestampMonotonic": "1438969611", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-29 20:47:37 EST] ; stop_time=[n/a] ; pid=6330 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:47:37 EST", "InactiveEnterTimestampMonotonic": "1438967338", "InactiveExitTimestamp": "Fri 2024-11-29 20:47:37 EST", "InactiveExitTimestampMonotonic": "1438970342", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "6330", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:47:37 EST", "WatchdogTimestampMonotonic": "1438970305", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 29 November 2024 20:47:42 -0500 (0:00:01.270) 0:04:08.615 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003487", "end": "2024-11-29 20:47:42.819951", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:47:42.816464" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 29 November 2024 20:47:43 -0500 (0:00:00.655) 0:04:09.271 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003555", "end": "2024-11-29 20:47:43.370757", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:47:43.367202" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 29 November 2024 20:47:43 -0500 (0:00:00.508) 0:04:09.779 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 29 November 2024 20:47:43 -0500 (0:00:00.156) 0:04:09.935 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 29 November 2024 20:47:45 -0500 (0:00:01.570) 0:04:11.506 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026384", "end": "2024-11-29 20:47:45.678812", "rc": 0, "start": "2024-11-29 20:47:45.652428" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 29 November 2024 20:47:45 -0500 (0:00:00.625) 0:04:12.132 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 29 November 2024 20:47:46 -0500 (0:00:00.177) 0:04:12.309 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 29 November 2024 20:47:46 -0500 (0:00:00.188) 0:04:12.497 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 29 November 2024 20:47:46 -0500 (0:00:00.218) 0:04:12.716 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 29 November 2024 20:47:46 -0500 (0:00:00.163) 0:04:12.879 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 29 November 2024 20:47:46 -0500 (0:00:00.169) 0:04:13.049 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 29 November 2024 20:47:46 -0500 (0:00:00.161) 0:04:13.210 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 29 November 2024 20:47:47 -0500 (0:00:00.138) 0:04:13.349 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 29 November 2024 20:47:47 -0500 (0:00:00.307) 0:04:13.657 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:47:47 -0500 (0:00:00.258) 0:04:13.916 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004775", "end": "2024-11-29 20:47:48.228181", "rc": 0, "start": "2024-11-29 20:47:48.223406" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Xxjx1X TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:47:48 -0500 (0:00:00.776) 0:04:14.693 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:47:48 -0500 (0:00:00.203) 0:04:14.896 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Xxjx1X] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:47:48 -0500 (0:00:00.230) 0:04:15.127 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 29 November 2024 20:47:49 -0500 (0:00:00.245) 0:04:15.372 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:47:49 -0500 (0:00:00.289) 0:04:15.662 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004731", "end": "2024-11-29 20:47:49.865039", "rc": 0, "start": "2024-11-29 20:47:49.860308" } STDOUT: tlskey = /etc/pki/tls/private/ansible.xd6YM5 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:47:50 -0500 (0:00:00.713) 0:04:16.376 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:47:50 -0500 (0:00:00.300) 0:04:16.676 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.xd6YM5] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:47:50 -0500 (0:00:00.256) 0:04:16.933 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 29 November 2024 20:47:50 -0500 (0:00:00.297) 0:04:17.231 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:47:51 -0500 (0:00:00.509) 0:04:17.740 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004793", "end": "2024-11-29 20:47:52.164323", "rc": 0, "start": "2024-11-29 20:47:52.159530" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:47:52 -0500 (0:00:01.018) 0:04:18.759 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:47:52 -0500 (0:00:00.255) 0:04:19.014 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:47:53 -0500 (0:00:00.532) 0:04:19.547 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 29 November 2024 20:47:53 -0500 (0:00:00.223) 0:04:19.770 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:47:53 -0500 (0:00:00.281) 0:04:20.051 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005031", "end": "2024-11-29 20:47:54.371670", "rc": 0, "start": "2024-11-29 20:47:54.366639" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:47:54 -0500 (0:00:00.819) 0:04:20.871 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:47:54 -0500 (0:00:00.220) 0:04:21.092 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:47:55 -0500 (0:00:00.339) 0:04:21.431 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 29 November 2024 20:47:55 -0500 (0:00:00.327) 0:04:21.758 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 29 November 2024 20:47:55 -0500 (0:00:00.280) 0:04:22.039 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node1 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 29 November 2024 20:47:57 -0500 (0:00:01.241) 0:04:23.280 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003610", "end": "2024-11-29 20:47:58.011125", "rc": 0, "start": "2024-11-29 20:47:58.007515" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tlscert = /etc/pki/tls/certs/ansible.Xxjx1X tlskey = /etc/pki/tls/private/ansible.xd6YM5 tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 29 November 2024 20:47:58 -0500 (0:00:01.232) 0:04:24.513 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 29 November 2024 20:48:00 -0500 (0:00:02.299) 0:04:26.812 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 29 November 2024 20:48:00 -0500 (0:00:00.387) 0:04:27.199 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 29 November 2024 20:48:01 -0500 (0:00:00.212) 0:04:27.412 ******* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 29 November 2024 20:48:01 -0500 (0:00:00.285) 0:04:27.697 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 29 November 2024 20:48:01 -0500 (0:00:00.171) 0:04:27.868 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 29 November 2024 20:48:01 -0500 (0:00:00.192) 0:04:28.061 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 29 November 2024 20:48:01 -0500 (0:00:00.148) 0:04:28.209 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 29 November 2024 20:48:02 -0500 (0:00:00.149) 0:04:28.358 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 29 November 2024 20:48:02 -0500 (0:00:00.189) 0:04:28.548 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 29 November 2024 20:48:02 -0500 (0:00:00.167) 0:04:28.715 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 29 November 2024 20:48:02 -0500 (0:00:00.143) 0:04:28.858 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 29 November 2024 20:48:03 -0500 (0:00:00.476) 0:04:29.335 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 29 November 2024 20:48:03 -0500 (0:00:00.283) 0:04:29.618 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 29 November 2024 20:48:03 -0500 (0:00:00.261) 0:04:29.880 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 29 November 2024 20:48:03 -0500 (0:00:00.283) 0:04:30.163 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 29 November 2024 20:48:04 -0500 (0:00:00.301) 0:04:30.465 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 29 November 2024 20:48:04 -0500 (0:00:00.159) 0:04:30.625 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 29 November 2024 20:48:04 -0500 (0:00:00.173) 0:04:30.798 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 29 November 2024 20:48:04 -0500 (0:00:00.146) 0:04:30.944 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 29 November 2024 20:48:04 -0500 (0:00:00.144) 0:04:31.088 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 29 November 2024 20:48:04 -0500 (0:00:00.141) 0:04:31.230 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 29 November 2024 20:48:05 -0500 (0:00:00.281) 0:04:31.511 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 29 November 2024 20:48:05 -0500 (0:00:00.289) 0:04:31.801 ******* ok: [managed-node1] => { "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 : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 29 November 2024 20:48:07 -0500 (0:00:02.346) 0:04:34.147 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 29 November 2024 20:48:08 -0500 (0:00:00.759) 0:04:34.907 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 29 November 2024 20:48:08 -0500 (0:00:00.276) 0:04:35.183 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 29 November 2024 20:48:09 -0500 (0:00:00.578) 0:04:35.762 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 29 November 2024 20:48:10 -0500 (0:00:00.507) 0:04:36.269 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 29 November 2024 20:48:11 -0500 (0:00:01.075) 0:04:37.345 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 29 November 2024 20:48:11 -0500 (0:00:00.157) 0:04:37.502 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 29 November 2024 20:48:11 -0500 (0:00:00.133) 0:04:37.636 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 29 November 2024 20:48:11 -0500 (0:00:00.121) 0:04:37.757 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 29 November 2024 20:48:11 -0500 (0:00:00.094) 0:04:37.852 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 29 November 2024 20:48:11 -0500 (0:00:00.122) 0:04:37.974 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 29 November 2024 20:48:11 -0500 (0:00:00.138) 0:04:38.112 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 29 November 2024 20:48:12 -0500 (0:00:00.198) 0:04:38.311 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 29 November 2024 20:48:12 -0500 (0:00:00.142) 0:04:38.454 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 29 November 2024 20:48:13 -0500 (0:00:01.193) 0:04:39.647 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 29 November 2024 20:48:14 -0500 (0:00:00.896) 0:04:40.543 ******* ok: [managed-node1] => { "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.005958", "end": "2024-11-29 20:48:14.775368", "rc": 0, "start": "2024-11-29 20:48:14.769410" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 29 November 2024 20:48:15 -0500 (0:00:00.713) 0:04:41.257 ******* ok: [managed-node1] => { "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 : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 29 November 2024 20:48:16 -0500 (0:00:01.457) 0:04:42.714 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 29 November 2024 20:48:16 -0500 (0:00:00.208) 0:04:42.923 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 29 November 2024 20:48:16 -0500 (0:00:00.180) 0:04:43.104 ******* skipping: [managed-node1] => { "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 : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 29 November 2024 20:48:17 -0500 (0:00:00.140) 0:04:43.245 ******* skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 29 November 2024 20:48:17 -0500 (0:00:00.169) 0:04:43.414 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 29 November 2024 20:48:17 -0500 (0:00:00.106) 0:04:43.520 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 29 November 2024 20:48:17 -0500 (0:00:00.091) 0:04:43.612 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 29 November 2024 20:48:18 -0500 (0:00:00.865) 0:04:44.477 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:23:49 EST", "ActiveEnterTimestampMonotonic": "10790189", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-sysctl.service system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:23:48 EST", "AssertTimestampMonotonic": "9790725", "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": "Fri 2024-11-29 20:23:48 EST", "ConditionTimestampMonotonic": "9790723", "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": "845", "ExecMainStartTimestamp": "Fri 2024-11-29 20:23:48 EST", "ExecMainStartTimestampMonotonic": "9791433", "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": "Fri 2024-11-29 20:23:48 EST", "InactiveExitTimestampMonotonic": "9791472", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice 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": "Fri 2024-11-29 20:23:49 EST", "WatchdogTimestampMonotonic": "10790091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 29 November 2024 20:48:18 -0500 (0:00:00.582) 0:04:45.060 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.099709", "end": "2024-11-29 20:48:19.270328", "rc": 0, "start": "2024-11-29 20:48:19.170619" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 29 November 2024 20:48:19 -0500 (0:00:00.717) 0:04:45.778 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 29 November 2024 20:48:19 -0500 (0:00:00.181) 0:04:45.959 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 29 November 2024 20:48:19 -0500 (0:00:00.255) 0:04:46.215 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 29 November 2024 20:48:20 -0500 (0:00:00.207) 0:04:46.422 ******* ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 29 November 2024 20:48:20 -0500 (0:00:00.799) 0:04:47.222 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 29 November 2024 20:48:21 -0500 (0:00:00.118) 0:04:47.341 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 29 November 2024 20:48:22 -0500 (0:00:01.194) 0:04:48.536 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 29 November 2024 20:48:22 -0500 (0:00:00.162) 0:04:48.698 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 29 November 2024 20:48:22 -0500 (0:00:00.167) 0:04:48.865 ******* skipping: [managed-node1] => (item=/tmp/ansible.Xxjx1X) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Xxjx1X", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.xd6YM5) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.xd6YM5", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 29 November 2024 20:48:22 -0500 (0:00:00.243) 0:04:49.109 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:48:23 -0500 (0:00:00.244) 0:04:49.354 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003579", "end": "2024-11-29 20:48:23.544868", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:23.541289" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Xxjx1X TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:48:23 -0500 (0:00:00.748) 0:04:50.103 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:48:24 -0500 (0:00:00.238) 0:04:50.341 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.135155", "end": "2024-11-29 20:48:24.634178", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:24.499023" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 29 November 2024 20:48:24 -0500 (0:00:00.887) 0:04:51.229 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:48:25 -0500 (0:00:00.300) 0:04:51.530 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003641", "end": "2024-11-29 20:48:25.647645", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:25.644004" } STDOUT: tlskey = /etc/pki/tls/private/ansible.xd6YM5 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:48:25 -0500 (0:00:00.489) 0:04:52.019 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:48:25 -0500 (0:00:00.175) 0:04:52.195 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.140658", "end": "2024-11-29 20:48:26.659450", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:26.518792" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 29 November 2024 20:48:26 -0500 (0:00:00.914) 0:04:53.110 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:48:27 -0500 (0:00:00.482) 0:04:53.592 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003694", "end": "2024-11-29 20:48:27.775685", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:27.771991" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:48:28 -0500 (0:00:00.708) 0:04:54.301 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:48:28 -0500 (0:00:00.243) 0:04:54.545 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.136192", "end": "2024-11-29 20:48:28.857814", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:28.721622" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 29 November 2024 20:48:29 -0500 (0:00:00.735) 0:04:55.280 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:48:29 -0500 (0:00:00.267) 0:04:55.548 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003639", "end": "2024-11-29 20:48:29.664879", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:29.661240" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:48:29 -0500 (0:00:00.656) 0:04:56.205 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:48:30 -0500 (0:00:00.237) 0:04:56.442 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.138339", "end": "2024-11-29 20:48:30.833859", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:30.695520" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 29 November 2024 20:48:31 -0500 (0:00:00.854) 0:04:57.297 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005486", "end": "2024-11-29 20:48:31.408751", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:48:31.403265" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 29 November 2024 20:48:31 -0500 (0:00:00.513) 0:04:57.811 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 29 November 2024 20:48:31 -0500 (0:00:00.158) 0:04:57.969 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 29 November 2024 20:48:31 -0500 (0:00:00.164) 0:04:58.134 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 29 November 2024 20:48:32 -0500 (0:00:00.149) 0:04:58.284 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 29 November 2024 20:48:32 -0500 (0:00:00.127) 0:04:58.411 ******* skipping: [managed-node1] => { "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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 29 November 2024 20:48:32 -0500 (0:00:00.120) 0:04:58.532 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 29 November 2024 20:48:32 -0500 (0:00:00.303) 0:04:58.836 ******* skipping: [managed-node1] => { "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 : Change the password of sa user] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 29 November 2024 20:48:32 -0500 (0:00:00.178) 0:04:59.014 ******* skipping: [managed-node1] => { "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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 29 November 2024 20:48:32 -0500 (0:00:00.174) 0:04:59.189 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 29 November 2024 20:48:33 -0500 (0:00:00.103) 0:04:59.293 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 29 November 2024 20:48:33 -0500 (0:00:00.181) 0:04:59.474 ******* ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005577", "end": "2024-11-29 20:48:33.662900", "rc": 0, "start": "2024-11-29 20:48:33.657323" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 29 November 2024 20:48:33 -0500 (0:00:00.568) 0:05:00.043 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 29 November 2024 20:48:33 -0500 (0:00:00.190) 0:05:00.233 ******* ok: [managed-node1] => { "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 : Change the edition of MSSQL] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 29 November 2024 20:48:35 -0500 (0:00:01.818) 0:05:02.051 ******* skipping: [managed-node1] => { "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 : Configure the IP address setting] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 29 November 2024 20:48:35 -0500 (0:00:00.172) 0:05:02.224 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 29 November 2024 20:48:36 -0500 (0:00:00.159) 0:05:02.384 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 29 November 2024 20:48:36 -0500 (0:00:00.121) 0:05:02.506 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 29 November 2024 20:48:36 -0500 (0:00:00.259) 0:05:02.765 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:48:36 -0500 (0:00:00.248) 0:05:03.014 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003583", "end": "2024-11-29 20:48:37.094130", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:48:37.090547" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:48:37 -0500 (0:00:00.443) 0:05:03.457 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.138916", "end": "2024-11-29 20:48:37.669743", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:48:37.530827" } 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 setting network tcpport] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:48:37 -0500 (0:00:00.628) 0:05:04.085 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 29 November 2024 20:48:37 -0500 (0:00:00.148) 0:05:04.234 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 29 November 2024 20:48:38 -0500 (0:00:00.152) 0:05:04.386 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 29 November 2024 20:48:38 -0500 (0:00:00.151) 0:05:04.538 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 29 November 2024 20:48:38 -0500 (0:00:00.151) 0:05:04.689 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 29 November 2024 20:48:38 -0500 (0:00:00.153) 0:05:04.843 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 29 November 2024 20:48:38 -0500 (0:00:00.144) 0:05:04.988 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 29 November 2024 20:48:38 -0500 (0:00:00.118) 0:05:05.106 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 29 November 2024 20:48:38 -0500 (0:00:00.109) 0:05:05.215 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 29 November 2024 20:48:39 -0500 (0:00:00.108) 0:05:05.323 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 29 November 2024 20:48:39 -0500 (0:00:00.148) 0:05:05.472 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 29 November 2024 20:48:39 -0500 (0:00:00.175) 0:05:05.648 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 29 November 2024 20:48:39 -0500 (0:00:00.250) 0:05:05.898 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 29 November 2024 20:48:39 -0500 (0:00:00.093) 0:05:05.992 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 29 November 2024 20:48:39 -0500 (0:00:00.101) 0:05:06.093 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 29 November 2024 20:48:39 -0500 (0:00:00.097) 0:05:06.191 ******* skipping: [managed-node1] => { "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 : Check if AD user exists] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 29 November 2024 20:48:40 -0500 (0:00:00.096) 0:05:06.288 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 29 November 2024 20:48:40 -0500 (0:00:00.120) 0:05:06.408 ******* skipping: [managed-node1] => { "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 : Ensure proper configuration on user] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 29 November 2024 20:48:40 -0500 (0:00:00.150) 0:05:06.559 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 29 November 2024 20:48:40 -0500 (0:00:00.213) 0:05:06.773 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 29 November 2024 20:48:40 -0500 (0:00:00.178) 0:05:06.951 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 29 November 2024 20:48:40 -0500 (0:00:00.191) 0:05:07.143 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 29 November 2024 20:48:41 -0500 (0:00:00.229) 0:05:07.372 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 29 November 2024 20:48:41 -0500 (0:00:00.268) 0:05:07.641 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 29 November 2024 20:48:41 -0500 (0:00:00.293) 0:05:07.934 ******* skipping: [managed-node1] => { "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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 29 November 2024 20:48:41 -0500 (0:00:00.181) 0:05:08.115 ******* skipping: [managed-node1] => { "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 : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 29 November 2024 20:48:42 -0500 (0:00:00.166) 0:05:08.282 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 29 November 2024 20:48:42 -0500 (0:00:00.156) 0:05:08.438 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 29 November 2024 20:48:42 -0500 (0:00:00.148) 0:05:08.587 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 29 November 2024 20:48:42 -0500 (0:00:00.165) 0:05:08.752 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 29 November 2024 20:48:42 -0500 (0:00:00.232) 0:05:08.985 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 29 November 2024 20:48:43 -0500 (0:00:00.304) 0:05:09.289 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 29 November 2024 20:48:43 -0500 (0:00:00.249) 0:05:09.539 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 29 November 2024 20:48:43 -0500 (0:00:00.254) 0:05:09.794 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 29 November 2024 20:48:43 -0500 (0:00:00.247) 0:05:10.042 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 29 November 2024 20:48:43 -0500 (0:00:00.176) 0:05:10.218 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 29 November 2024 20:48:44 -0500 (0:00:00.146) 0:05:10.365 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 29 November 2024 20:48:44 -0500 (0:00:00.137) 0:05:10.502 ******* skipping: [managed-node1] => (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: [managed-node1] => (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 : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 29 November 2024 20:48:44 -0500 (0:00:00.201) 0:05:10.704 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 29 November 2024 20:48:44 -0500 (0:00:00.191) 0:05:10.895 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 29 November 2024 20:48:44 -0500 (0:00:00.214) 0:05:11.110 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Get the current primary replica in SQL] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 29 November 2024 20:48:45 -0500 (0:00:00.176) 0:05:11.287 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 29 November 2024 20:48:45 -0500 (0:00:00.198) 0:05:11.485 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 29 November 2024 20:48:45 -0500 (0:00:00.187) 0:05:11.673 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 29 November 2024 20:48:45 -0500 (0:00:00.265) 0:05:11.938 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 29 November 2024 20:48:45 -0500 (0:00:00.193) 0:05:12.132 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 29 November 2024 20:48:46 -0500 (0:00:00.150) 0:05:12.283 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 29 November 2024 20:48:46 -0500 (0:00:00.149) 0:05:12.432 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 29 November 2024 20:48:46 -0500 (0:00:00.229) 0:05:12.662 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 29 November 2024 20:48:46 -0500 (0:00:00.251) 0:05:12.914 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 29 November 2024 20:48:46 -0500 (0:00:00.231) 0:05:13.146 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 29 November 2024 20:48:47 -0500 (0:00:00.346) 0:05:13.492 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 29 November 2024 20:48:47 -0500 (0:00:00.141) 0:05:13.634 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 29 November 2024 20:48:47 -0500 (0:00:00.149) 0:05:13.783 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 29 November 2024 20:48:47 -0500 (0:00:00.200) 0:05:13.984 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 29 November 2024 20:48:48 -0500 (0:00:00.298) 0:05:14.283 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 29 November 2024 20:48:48 -0500 (0:00:00.171) 0:05:14.454 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 29 November 2024 20:48:48 -0500 (0:00:00.187) 0:05:14.641 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 29 November 2024 20:48:48 -0500 (0:00:00.152) 0:05:14.793 ******* skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 29 November 2024 20:48:48 -0500 (0:00:00.182) 0:05:14.976 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 29 November 2024 20:48:48 -0500 (0:00:00.153) 0:05:15.130 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 29 November 2024 20:48:49 -0500 (0:00:00.222) 0:05:15.352 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 29 November 2024 20:48:49 -0500 (0:00:00.208) 0:05:15.560 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 29 November 2024 20:48:49 -0500 (0:00:00.179) 0:05:15.739 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 29 November 2024 20:48:50 -0500 (0:00:01.157) 0:05:16.897 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:47:37 EST", "ActiveEnterTimestampMonotonic": "1438970342", "ActiveExitTimestamp": "Fri 2024-11-29 20:47:37 EST", "ActiveExitTimestampMonotonic": "1438715697", "ActiveState": "active", "After": "-.mount network.target basic.target auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:47:37 EST", "AssertTimestampMonotonic": "1438968725", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:47:37 EST", "ConditionTimestampMonotonic": "1438968723", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6330", "ExecMainStartTimestamp": "Fri 2024-11-29 20:47:37 EST", "ExecMainStartTimestampMonotonic": "1438969611", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-29 20:47:37 EST] ; stop_time=[n/a] ; pid=6330 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:47:37 EST", "InactiveEnterTimestampMonotonic": "1438967338", "InactiveExitTimestamp": "Fri 2024-11-29 20:47:37 EST", "InactiveExitTimestampMonotonic": "1438970342", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "6330", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:47:37 EST", "WatchdogTimestampMonotonic": "1438970305", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 29 November 2024 20:48:51 -0500 (0:00:01.308) 0:05:18.205 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 29 November 2024 20:48:52 -0500 (0:00:00.176) 0:05:18.382 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 29 November 2024 20:48:52 -0500 (0:00:00.169) 0:05:18.552 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 29 November 2024 20:48:54 -0500 (0:00:01.864) 0:05:20.416 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 29 November 2024 20:48:54 -0500 (0:00:00.211) 0:05:20.628 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 29 November 2024 20:48:54 -0500 (0:00:00.153) 0:05:20.782 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 29 November 2024 20:48:54 -0500 (0:00:00.297) 0:05:21.079 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 29 November 2024 20:48:55 -0500 (0:00:00.268) 0:05:21.347 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 29 November 2024 20:48:55 -0500 (0:00:00.164) 0:05:21.512 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 29 November 2024 20:48:55 -0500 (0:00:00.259) 0:05:21.771 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 29 November 2024 20:48:55 -0500 (0:00:00.274) 0:05:22.046 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 29 November 2024 20:48:56 -0500 (0:00:00.223) 0:05:22.269 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 29 November 2024 20:48:56 -0500 (0:00:00.510) 0:05:22.780 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:48:51 EST", "ActiveEnterTimestampMonotonic": "1513021751", "ActiveExitTimestamp": "Fri 2024-11-29 20:48:51 EST", "ActiveExitTimestampMonotonic": "1512773627", "ActiveState": "active", "After": "-.mount network.target basic.target auditd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:48:51 EST", "AssertTimestampMonotonic": "1513020780", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:48:51 EST", "ConditionTimestampMonotonic": "1513020778", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8478", "ExecMainStartTimestamp": "Fri 2024-11-29 20:48:51 EST", "ExecMainStartTimestampMonotonic": "1513021663", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-29 20:48:51 EST] ; stop_time=[n/a] ; pid=8478 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:48:51 EST", "InactiveEnterTimestampMonotonic": "1513019387", "InactiveExitTimestamp": "Fri 2024-11-29 20:48:51 EST", "InactiveExitTimestampMonotonic": "1513021751", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8478", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:48:51 EST", "WatchdogTimestampMonotonic": "1513021717", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 29 November 2024 20:48:57 -0500 (0:00:01.096) 0:05:23.876 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003494", "end": "2024-11-29 20:48:58.176148", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:48:58.172654" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 29 November 2024 20:48:58 -0500 (0:00:00.802) 0:05:24.679 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003472", "end": "2024-11-29 20:48:59.121564", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:48:59.118092" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 29 November 2024 20:48:59 -0500 (0:00:00.972) 0:05:25.651 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 29 November 2024 20:48:59 -0500 (0:00:00.369) 0:05:26.021 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 29 November 2024 20:49:01 -0500 (0:00:01.930) 0:05:27.952 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026136", "end": "2024-11-29 20:49:02.231812", "rc": 0, "start": "2024-11-29 20:49:02.205676" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 29 November 2024 20:49:02 -0500 (0:00:00.745) 0:05:28.697 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 29 November 2024 20:49:02 -0500 (0:00:00.299) 0:05:28.996 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 29 November 2024 20:49:03 -0500 (0:00:00.301) 0:05:29.298 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 29 November 2024 20:49:03 -0500 (0:00:00.201) 0:05:29.499 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 29 November 2024 20:49:03 -0500 (0:00:00.170) 0:05:29.669 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 29 November 2024 20:49:03 -0500 (0:00:00.190) 0:05:29.860 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 29 November 2024 20:49:03 -0500 (0:00:00.161) 0:05:30.021 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 29 November 2024 20:49:03 -0500 (0:00:00.148) 0:05:30.170 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 29 November 2024 20:49:04 -0500 (0:00:00.150) 0:05:30.321 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:49:04 -0500 (0:00:00.270) 0:05:30.591 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004754", "end": "2024-11-29 20:49:04.853629", "rc": 0, "start": "2024-11-29 20:49:04.848875" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:49:05 -0500 (0:00:00.809) 0:05:31.400 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:49:05 -0500 (0:00:00.354) 0:05:31.755 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:49:05 -0500 (0:00:00.460) 0:05:32.215 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 29 November 2024 20:49:06 -0500 (0:00:00.154) 0:05:32.370 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:49:06 -0500 (0:00:00.344) 0:05:32.714 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004766", "end": "2024-11-29 20:49:06.988681", "rc": 0, "start": "2024-11-29 20:49:06.983915" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:49:07 -0500 (0:00:00.838) 0:05:33.552 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:49:07 -0500 (0:00:00.199) 0:05:33.751 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:49:07 -0500 (0:00:00.225) 0:05:33.977 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 29 November 2024 20:49:07 -0500 (0:00:00.180) 0:05:34.157 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:49:08 -0500 (0:00:00.333) 0:05:34.491 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004692", "end": "2024-11-29 20:49:08.654831", "rc": 0, "start": "2024-11-29 20:49:08.650139" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:49:08 -0500 (0:00:00.631) 0:05:35.122 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:49:09 -0500 (0:00:00.210) 0:05:35.333 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:49:09 -0500 (0:00:00.161) 0:05:35.495 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 29 November 2024 20:49:09 -0500 (0:00:00.149) 0:05:35.644 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:49:09 -0500 (0:00:00.320) 0:05:35.965 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004748", "end": "2024-11-29 20:49:10.073647", "rc": 0, "start": "2024-11-29 20:49:10.068899" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:49:10 -0500 (0:00:00.685) 0:05:36.650 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:49:10 -0500 (0:00:00.381) 0:05:37.032 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:49:10 -0500 (0:00:00.190) 0:05:37.223 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 29 November 2024 20:49:11 -0500 (0:00:00.273) 0:05:37.497 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 29 November 2024 20:49:11 -0500 (0:00:00.176) 0:05:37.674 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 29 November 2024 20:49:14 -0500 (0:00:03.036) 0:05:40.710 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 29 November 2024 20:49:14 -0500 (0:00:00.331) 0:05:41.041 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 29 November 2024 20:49:15 -0500 (0:00:00.218) 0:05:41.260 ******* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 29 November 2024 20:49:15 -0500 (0:00:00.285) 0:05:41.545 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 29 November 2024 20:49:15 -0500 (0:00:00.271) 0:05:41.816 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 29 November 2024 20:49:15 -0500 (0:00:00.319) 0:05:42.136 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 29 November 2024 20:49:16 -0500 (0:00:00.285) 0:05:42.421 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 29 November 2024 20:49:16 -0500 (0:00:00.287) 0:05:42.708 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 29 November 2024 20:49:16 -0500 (0:00:00.303) 0:05:43.012 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 29 November 2024 20:49:17 -0500 (0:00:00.280) 0:05:43.293 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 29 November 2024 20:49:17 -0500 (0:00:00.172) 0:05:43.466 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 29 November 2024 20:49:17 -0500 (0:00:00.160) 0:05:43.626 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 29 November 2024 20:49:17 -0500 (0:00:00.148) 0:05:43.774 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 29 November 2024 20:49:17 -0500 (0:00:00.275) 0:05:44.050 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 29 November 2024 20:49:18 -0500 (0:00:00.252) 0:05:44.303 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 29 November 2024 20:49:18 -0500 (0:00:00.201) 0:05:44.505 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 29 November 2024 20:49:18 -0500 (0:00:00.176) 0:05:44.681 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 29 November 2024 20:49:18 -0500 (0:00:00.179) 0:05:44.861 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 29 November 2024 20:49:19 -0500 (0:00:00.458) 0:05:45.319 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 29 November 2024 20:49:19 -0500 (0:00:00.310) 0:05:45.630 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 29 November 2024 20:49:19 -0500 (0:00:00.252) 0:05:45.883 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 29 November 2024 20:49:19 -0500 (0:00:00.164) 0:05:46.047 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 29 November 2024 20:49:19 -0500 (0:00:00.166) 0:05:46.214 ******* ok: [managed-node1] => { "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 : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 29 November 2024 20:49:21 -0500 (0:00:01.846) 0:05:48.061 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 29 November 2024 20:49:22 -0500 (0:00:00.560) 0:05:48.621 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 29 November 2024 20:49:22 -0500 (0:00:00.148) 0:05:48.770 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 29 November 2024 20:49:22 -0500 (0:00:00.161) 0:05:48.932 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 29 November 2024 20:49:22 -0500 (0:00:00.288) 0:05:49.221 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 29 November 2024 20:49:23 -0500 (0:00:00.826) 0:05:50.047 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 29 November 2024 20:49:24 -0500 (0:00:00.363) 0:05:50.410 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 29 November 2024 20:49:24 -0500 (0:00:00.250) 0:05:50.661 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 29 November 2024 20:49:24 -0500 (0:00:00.161) 0:05:50.823 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 29 November 2024 20:49:24 -0500 (0:00:00.155) 0:05:50.979 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 29 November 2024 20:49:24 -0500 (0:00:00.185) 0:05:51.164 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 29 November 2024 20:49:25 -0500 (0:00:00.187) 0:05:51.352 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 29 November 2024 20:49:25 -0500 (0:00:00.369) 0:05:51.721 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 29 November 2024 20:49:25 -0500 (0:00:00.160) 0:05:51.882 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 29 November 2024 20:49:26 -0500 (0:00:00.764) 0:05:52.646 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 29 November 2024 20:49:27 -0500 (0:00:00.798) 0:05:53.445 ******* ok: [managed-node1] => { "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.005871", "end": "2024-11-29 20:49:27.838224", "rc": 0, "start": "2024-11-29 20:49:27.832353" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 29 November 2024 20:49:28 -0500 (0:00:00.890) 0:05:54.336 ******* ok: [managed-node1] => { "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 : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 29 November 2024 20:49:29 -0500 (0:00:01.326) 0:05:55.662 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 29 November 2024 20:49:29 -0500 (0:00:00.241) 0:05:55.904 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 29 November 2024 20:49:29 -0500 (0:00:00.204) 0:05:56.108 ******* skipping: [managed-node1] => { "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 : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 29 November 2024 20:49:30 -0500 (0:00:00.561) 0:05:56.670 ******* skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 29 November 2024 20:49:30 -0500 (0:00:00.196) 0:05:56.867 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 29 November 2024 20:49:30 -0500 (0:00:00.117) 0:05:56.984 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 29 November 2024 20:49:30 -0500 (0:00:00.181) 0:05:57.166 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 29 November 2024 20:49:32 -0500 (0:00:01.080) 0:05:58.247 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:23:49 EST", "ActiveEnterTimestampMonotonic": "10790189", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-sysctl.service system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:23:48 EST", "AssertTimestampMonotonic": "9790725", "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": "Fri 2024-11-29 20:23:48 EST", "ConditionTimestampMonotonic": "9790723", "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": "845", "ExecMainStartTimestamp": "Fri 2024-11-29 20:23:48 EST", "ExecMainStartTimestampMonotonic": "9791433", "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": "Fri 2024-11-29 20:23:48 EST", "InactiveExitTimestampMonotonic": "9791472", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice 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": "Fri 2024-11-29 20:23:49 EST", "WatchdogTimestampMonotonic": "10790091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 29 November 2024 20:49:32 -0500 (0:00:00.709) 0:05:58.956 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.096880", "end": "2024-11-29 20:49:33.459796", "rc": 0, "start": "2024-11-29 20:49:33.362916" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 29 November 2024 20:49:33 -0500 (0:00:00.915) 0:05:59.872 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 29 November 2024 20:49:33 -0500 (0:00:00.276) 0:06:00.148 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 29 November 2024 20:49:34 -0500 (0:00:00.285) 0:06:00.434 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 29 November 2024 20:49:34 -0500 (0:00:00.256) 0:06:00.691 ******* ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 29 November 2024 20:49:35 -0500 (0:00:00.638) 0:06:01.330 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 29 November 2024 20:49:35 -0500 (0:00:00.160) 0:06:01.490 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 29 November 2024 20:49:36 -0500 (0:00:00.959) 0:06:02.450 ******* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 29 November 2024 20:49:36 -0500 (0:00:00.676) 0:06:03.126 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 29 November 2024 20:49:37 -0500 (0:00:00.558) 0:06:03.685 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 29 November 2024 20:49:37 -0500 (0:00:00.343) 0:06:04.028 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 29 November 2024 20:49:38 -0500 (0:00:00.580) 0:06:04.608 ******* ok: [managed-node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 29 November 2024 20:49:38 -0500 (0:00:00.201) 0:06:04.810 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 29 November 2024 20:49:39 -0500 (0:00:00.493) 0:06:05.303 ******* changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.6 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 29 November 2024 20:49:44 -0500 (0:00:05.167) 0:06:10.471 ******* changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.3 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 29 November 2024 20:49:49 -0500 (0:00:05.093) 0:06:15.564 ******* changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 29 November 2024 20:49:49 -0500 (0:00:00.570) 0:06:16.134 ******* changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 29 November 2024 20:49:50 -0500 (0:00:00.659) 0:06:16.793 ******* changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket dbus.service network.target syslog.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; 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/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 29 November 2024 20:49:51 -0500 (0:00:01.253) 0:06:18.047 ******* changed: [managed-node1] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.10.50', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.10.50", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 29 November 2024 20:49:53 -0500 (0:00:01.822) 0:06:19.869 ******* skipping: [managed-node1] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.10.50', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.10.50", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.10.50', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.10.50", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.10.50', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.10.50", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 29 November 2024 20:49:53 -0500 (0:00:00.180) 0:06:20.050 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 29 November 2024 20:49:53 -0500 (0:00:00.107) 0:06:20.158 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 29 November 2024 20:49:54 -0500 (0:00:00.109) 0:06:20.267 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 29 November 2024 20:49:54 -0500 (0:00:00.117) 0:06:20.385 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 29 November 2024 20:49:54 -0500 (0:00:00.162) 0:06:20.548 ******* skipping: [managed-node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 29 November 2024 20:49:54 -0500 (0:00:00.398) 0:06:20.946 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:49:55 -0500 (0:00:00.292) 0:06:21.238 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004143", "end": "2024-11-29 20:49:55.376440", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:49:55.372297" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:49:55 -0500 (0:00:00.542) 0:06:21.781 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.130448", "end": "2024-11-29 20:49:56.097001", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:49:55.966553" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:49:56 -0500 (0:00:00.686) 0:06:22.468 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 29 November 2024 20:49:56 -0500 (0:00:00.102) 0:06:22.570 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:49:56 -0500 (0:00:00.247) 0:06:22.818 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003348", "end": "2024-11-29 20:49:56.914849", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:49:56.911501" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:49:57 -0500 (0:00:00.495) 0:06:23.313 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.130871", "end": "2024-11-29 20:49:57.569887", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:49:57.439016" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:49:57 -0500 (0:00:00.623) 0:06:23.937 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 29 November 2024 20:49:57 -0500 (0:00:00.100) 0:06:24.037 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:49:57 -0500 (0:00:00.198) 0:06:24.236 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003472", "end": "2024-11-29 20:49:58.308699", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:49:58.305227" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:49:58 -0500 (0:00:00.675) 0:06:24.911 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.130416", "end": "2024-11-29 20:49:59.397881", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:49:59.267465" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:49:59 -0500 (0:00:00.917) 0:06:25.829 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 29 November 2024 20:49:59 -0500 (0:00:00.156) 0:06:25.986 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:50:00 -0500 (0:00:00.274) 0:06:26.260 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003379", "end": "2024-11-29 20:50:00.355482", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:50:00.352103" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:50:00 -0500 (0:00:00.451) 0:06:26.712 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.129470", "end": "2024-11-29 20:50:00.918869", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:00.789399" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:50:01 -0500 (0:00:00.575) 0:06:27.288 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 29 November 2024 20:50:01 -0500 (0:00:00.112) 0:06:27.401 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005454", "end": "2024-11-29 20:50:01.516186", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:01.510732" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 29 November 2024 20:50:01 -0500 (0:00:00.529) 0:06:27.930 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 29 November 2024 20:50:01 -0500 (0:00:00.113) 0:06:28.043 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 29 November 2024 20:50:01 -0500 (0:00:00.104) 0:06:28.148 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 29 November 2024 20:50:02 -0500 (0:00:00.089) 0:06:28.238 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 29 November 2024 20:50:02 -0500 (0:00:00.092) 0:06:28.330 ******* skipping: [managed-node1] => { "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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 29 November 2024 20:50:02 -0500 (0:00:00.141) 0:06:28.471 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 29 November 2024 20:50:02 -0500 (0:00:00.355) 0:06:28.827 ******* skipping: [managed-node1] => { "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 : Change the password of sa user] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 29 November 2024 20:50:02 -0500 (0:00:00.168) 0:06:28.996 ******* skipping: [managed-node1] => { "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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 29 November 2024 20:50:02 -0500 (0:00:00.158) 0:06:29.154 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 29 November 2024 20:50:03 -0500 (0:00:00.163) 0:06:29.318 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 29 November 2024 20:50:03 -0500 (0:00:00.175) 0:06:29.493 ******* ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005746", "end": "2024-11-29 20:50:03.628787", "rc": 0, "start": "2024-11-29 20:50:03.623041" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 29 November 2024 20:50:03 -0500 (0:00:00.542) 0:06:30.036 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 29 November 2024 20:50:03 -0500 (0:00:00.139) 0:06:30.175 ******* ok: [managed-node1] => { "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 : Change the edition of MSSQL] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 29 November 2024 20:50:05 -0500 (0:00:01.659) 0:06:31.835 ******* skipping: [managed-node1] => { "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 : Configure the IP address setting] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 29 November 2024 20:50:05 -0500 (0:00:00.174) 0:06:32.010 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 29 November 2024 20:50:05 -0500 (0:00:00.155) 0:06:32.165 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 29 November 2024 20:50:06 -0500 (0:00:00.162) 0:06:32.328 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 29 November 2024 20:50:06 -0500 (0:00:00.149) 0:06:32.478 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:50:06 -0500 (0:00:00.550) 0:06:33.028 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003474", "end": "2024-11-29 20:50:07.231440", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:50:07.227966" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:50:07 -0500 (0:00:00.664) 0:06:33.693 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.134480", "end": "2024-11-29 20:50:07.955809", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:07.821329" } 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 setting network tcpport] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:50:08 -0500 (0:00:00.639) 0:06:34.333 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 29 November 2024 20:50:08 -0500 (0:00:00.097) 0:06:34.430 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 29 November 2024 20:50:08 -0500 (0:00:00.098) 0:06:34.529 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 29 November 2024 20:50:08 -0500 (0:00:00.100) 0:06:34.630 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 29 November 2024 20:50:08 -0500 (0:00:00.112) 0:06:34.742 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 29 November 2024 20:50:08 -0500 (0:00:00.097) 0:06:34.840 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 29 November 2024 20:50:08 -0500 (0:00:00.095) 0:06:34.935 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 29 November 2024 20:50:08 -0500 (0:00:00.124) 0:06:35.060 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 29 November 2024 20:50:08 -0500 (0:00:00.141) 0:06:35.201 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 29 November 2024 20:50:09 -0500 (0:00:00.197) 0:06:35.399 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 29 November 2024 20:50:09 -0500 (0:00:00.333) 0:06:35.733 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 29 November 2024 20:50:09 -0500 (0:00:00.212) 0:06:35.946 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 29 November 2024 20:50:09 -0500 (0:00:00.207) 0:06:36.154 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 29 November 2024 20:50:10 -0500 (0:00:00.168) 0:06:36.322 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 29 November 2024 20:50:10 -0500 (0:00:00.519) 0:06:36.842 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 29 November 2024 20:50:10 -0500 (0:00:00.172) 0:06:37.014 ******* skipping: [managed-node1] => { "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 : Check if AD user exists] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 29 November 2024 20:50:10 -0500 (0:00:00.193) 0:06:37.208 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 29 November 2024 20:50:11 -0500 (0:00:00.174) 0:06:37.383 ******* skipping: [managed-node1] => { "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 : Ensure proper configuration on user] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 29 November 2024 20:50:11 -0500 (0:00:00.176) 0:06:37.560 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 29 November 2024 20:50:11 -0500 (0:00:00.193) 0:06:37.753 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 29 November 2024 20:50:11 -0500 (0:00:00.303) 0:06:38.056 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 29 November 2024 20:50:12 -0500 (0:00:00.277) 0:06:38.334 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 29 November 2024 20:50:12 -0500 (0:00:00.224) 0:06:38.559 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 29 November 2024 20:50:12 -0500 (0:00:00.214) 0:06:38.773 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 29 November 2024 20:50:12 -0500 (0:00:00.163) 0:06:38.937 ******* skipping: [managed-node1] => { "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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 29 November 2024 20:50:12 -0500 (0:00:00.145) 0:06:39.082 ******* skipping: [managed-node1] => { "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 : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 29 November 2024 20:50:13 -0500 (0:00:00.159) 0:06:39.241 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 29 November 2024 20:50:13 -0500 (0:00:00.183) 0:06:39.424 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 29 November 2024 20:50:13 -0500 (0:00:00.167) 0:06:39.592 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 29 November 2024 20:50:13 -0500 (0:00:00.152) 0:06:39.745 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 29 November 2024 20:50:13 -0500 (0:00:00.150) 0:06:39.896 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 29 November 2024 20:50:13 -0500 (0:00:00.230) 0:06:40.126 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 29 November 2024 20:50:14 -0500 (0:00:00.234) 0:06:40.361 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 29 November 2024 20:50:14 -0500 (0:00:00.469) 0:06:40.830 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 29 November 2024 20:50:14 -0500 (0:00:00.161) 0:06:40.992 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 29 November 2024 20:50:14 -0500 (0:00:00.183) 0:06:41.175 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 29 November 2024 20:50:15 -0500 (0:00:00.192) 0:06:41.367 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 29 November 2024 20:50:15 -0500 (0:00:00.189) 0:06:41.556 ******* skipping: [managed-node1] => (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: [managed-node1] => (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 : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 29 November 2024 20:50:15 -0500 (0:00:00.199) 0:06:41.756 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 29 November 2024 20:50:15 -0500 (0:00:00.153) 0:06:41.910 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 29 November 2024 20:50:15 -0500 (0:00:00.146) 0:06:42.057 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Get the current primary replica in SQL] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 29 November 2024 20:50:16 -0500 (0:00:00.210) 0:06:42.268 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 29 November 2024 20:50:16 -0500 (0:00:00.149) 0:06:42.417 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 29 November 2024 20:50:16 -0500 (0:00:00.156) 0:06:42.574 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 29 November 2024 20:50:16 -0500 (0:00:00.147) 0:06:42.721 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 29 November 2024 20:50:16 -0500 (0:00:00.156) 0:06:42.878 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 29 November 2024 20:50:16 -0500 (0:00:00.159) 0:06:43.037 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 29 November 2024 20:50:16 -0500 (0:00:00.154) 0:06:43.192 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 29 November 2024 20:50:17 -0500 (0:00:00.172) 0:06:43.364 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 29 November 2024 20:50:17 -0500 (0:00:00.154) 0:06:43.519 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 29 November 2024 20:50:17 -0500 (0:00:00.149) 0:06:43.668 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 29 November 2024 20:50:17 -0500 (0:00:00.154) 0:06:43.823 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 29 November 2024 20:50:17 -0500 (0:00:00.356) 0:06:44.179 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 29 November 2024 20:50:18 -0500 (0:00:00.170) 0:06:44.349 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 29 November 2024 20:50:18 -0500 (0:00:00.213) 0:06:44.563 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 29 November 2024 20:50:18 -0500 (0:00:00.159) 0:06:44.723 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 29 November 2024 20:50:18 -0500 (0:00:00.156) 0:06:44.880 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 29 November 2024 20:50:18 -0500 (0:00:00.159) 0:06:45.040 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 29 November 2024 20:50:18 -0500 (0:00:00.159) 0:06:45.199 ******* skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 29 November 2024 20:50:19 -0500 (0:00:00.179) 0:06:45.379 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 29 November 2024 20:50:19 -0500 (0:00:00.195) 0:06:45.574 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 29 November 2024 20:50:19 -0500 (0:00:00.125) 0:06:45.700 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 29 November 2024 20:50:19 -0500 (0:00:00.160) 0:06:45.860 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 29 November 2024 20:50:19 -0500 (0:00:00.152) 0:06:46.013 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 29 November 2024 20:50:20 -0500 (0:00:00.605) 0:06:46.618 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:48:51 EST", "ActiveEnterTimestampMonotonic": "1513021751", "ActiveExitTimestamp": "Fri 2024-11-29 20:48:51 EST", "ActiveExitTimestampMonotonic": "1512773627", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:48:51 EST", "AssertTimestampMonotonic": "1513020780", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:48:51 EST", "ConditionTimestampMonotonic": "1513020778", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8478", "ExecMainStartTimestamp": "Fri 2024-11-29 20:48:51 EST", "ExecMainStartTimestampMonotonic": "1513021663", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:48:51 EST", "InactiveEnterTimestampMonotonic": "1513019387", "InactiveExitTimestamp": "Fri 2024-11-29 20:48:51 EST", "InactiveExitTimestampMonotonic": "1513021751", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8478", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:48:51 EST", "WatchdogTimestampMonotonic": "1513021717", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 29 November 2024 20:50:21 -0500 (0:00:01.163) 0:06:47.782 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 29 November 2024 20:50:21 -0500 (0:00:00.332) 0:06:48.115 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 29 November 2024 20:50:22 -0500 (0:00:00.150) 0:06:48.265 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 29 November 2024 20:50:23 -0500 (0:00:01.397) 0:06:49.663 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 29 November 2024 20:50:23 -0500 (0:00:00.130) 0:06:49.794 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 29 November 2024 20:50:23 -0500 (0:00:00.152) 0:06:49.946 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 29 November 2024 20:50:23 -0500 (0:00:00.111) 0:06:50.057 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 29 November 2024 20:50:23 -0500 (0:00:00.097) 0:06:50.155 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 29 November 2024 20:50:24 -0500 (0:00:00.144) 0:06:50.300 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 29 November 2024 20:50:24 -0500 (0:00:00.150) 0:06:50.451 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 29 November 2024 20:50:24 -0500 (0:00:00.122) 0:06:50.574 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 29 November 2024 20:50:24 -0500 (0:00:00.144) 0:06:50.719 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 29 November 2024 20:50:24 -0500 (0:00:00.412) 0:06:51.131 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:50:21 EST", "ActiveEnterTimestampMonotonic": "1602722427", "ActiveExitTimestamp": "Fri 2024-11-29 20:50:20 EST", "ActiveExitTimestampMonotonic": "1602241280", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:50:21 EST", "AssertTimestampMonotonic": "1602720938", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:50:21 EST", "ConditionTimestampMonotonic": "1602720936", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11134", "ExecMainStartTimestamp": "Fri 2024-11-29 20:50:21 EST", "ExecMainStartTimestampMonotonic": "1602722336", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-29 20:50:21 EST] ; stop_time=[n/a] ; pid=11134 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:50:21 EST", "InactiveEnterTimestampMonotonic": "1602719570", "InactiveExitTimestamp": "Fri 2024-11-29 20:50:21 EST", "InactiveExitTimestampMonotonic": "1602722427", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11134", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:50:21 EST", "WatchdogTimestampMonotonic": "1602722394", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 29 November 2024 20:50:25 -0500 (0:00:00.934) 0:06:52.065 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005419", "end": "2024-11-29 20:50:26.198256", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:50:26.192837" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 29 November 2024 20:50:26 -0500 (0:00:00.486) 0:06:52.552 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003424", "end": "2024-11-29 20:50:26.610169", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:50:26.606745" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 29 November 2024 20:50:26 -0500 (0:00:00.407) 0:06:52.960 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 29 November 2024 20:50:26 -0500 (0:00:00.117) 0:06:53.078 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7360, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 29 November 2024 20:50:28 -0500 (0:00:01.413) 0:06:54.491 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026653", "end": "2024-11-29 20:50:28.570859", "rc": 0, "start": "2024-11-29 20:50:28.544206" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 29 November 2024 20:50:28 -0500 (0:00:00.454) 0:06:54.946 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 29 November 2024 20:50:28 -0500 (0:00:00.098) 0:06:55.045 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 29 November 2024 20:50:28 -0500 (0:00:00.094) 0:06:55.139 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 29 November 2024 20:50:28 -0500 (0:00:00.089) 0:06:55.229 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 29 November 2024 20:50:29 -0500 (0:00:00.091) 0:06:55.320 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 29 November 2024 20:50:29 -0500 (0:00:00.092) 0:06:55.413 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 29 November 2024 20:50:29 -0500 (0:00:00.090) 0:06:55.503 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 29 November 2024 20:50:29 -0500 (0:00:00.255) 0:06:55.759 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 29 November 2024 20:50:29 -0500 (0:00:00.094) 0:06:55.853 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:50:29 -0500 (0:00:00.184) 0:06:56.038 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004643", "end": "2024-11-29 20:50:30.101147", "rc": 0, "start": "2024-11-29 20:50:30.096504" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:50:30 -0500 (0:00:00.416) 0:06:56.455 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:50:30 -0500 (0:00:00.121) 0:06:56.577 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:50:30 -0500 (0:00:00.107) 0:06:56.685 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 29 November 2024 20:50:30 -0500 (0:00:00.095) 0:06:56.780 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:50:30 -0500 (0:00:00.173) 0:06:56.954 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004576", "end": "2024-11-29 20:50:31.023944", "rc": 0, "start": "2024-11-29 20:50:31.019368" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:50:31 -0500 (0:00:00.425) 0:06:57.379 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:50:31 -0500 (0:00:00.123) 0:06:57.503 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:50:31 -0500 (0:00:00.104) 0:06:57.607 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 29 November 2024 20:50:31 -0500 (0:00:00.096) 0:06:57.704 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:50:31 -0500 (0:00:00.171) 0:06:57.876 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004657", "end": "2024-11-29 20:50:31.944837", "rc": 0, "start": "2024-11-29 20:50:31.940180" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:50:32 -0500 (0:00:00.555) 0:06:58.431 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:50:32 -0500 (0:00:00.121) 0:06:58.552 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:50:32 -0500 (0:00:00.102) 0:06:58.655 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 29 November 2024 20:50:32 -0500 (0:00:00.099) 0:06:58.754 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 29 November 2024 20:50:32 -0500 (0:00:00.181) 0:06:58.936 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004565", "end": "2024-11-29 20:50:33.002922", "rc": 0, "start": "2024-11-29 20:50:32.998357" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 29 November 2024 20:50:33 -0500 (0:00:00.424) 0:06:59.360 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 29 November 2024 20:50:33 -0500 (0:00:00.098) 0:06:59.459 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 29 November 2024 20:50:33 -0500 (0:00:00.123) 0:06:59.582 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 29 November 2024 20:50:33 -0500 (0:00:00.094) 0:06:59.677 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 29 November 2024 20:50:33 -0500 (0:00:00.092) 0:06:59.770 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 29 November 2024 20:50:35 -0500 (0:00:02.000) 0:07:01.770 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 29 November 2024 20:50:35 -0500 (0:00:00.153) 0:07:01.924 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 29 November 2024 20:50:35 -0500 (0:00:00.127) 0:07:02.051 ******* ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 29 November 2024 20:50:35 -0500 (0:00:00.156) 0:07:02.207 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 29 November 2024 20:50:36 -0500 (0:00:00.093) 0:07:02.301 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 29 November 2024 20:50:36 -0500 (0:00:00.091) 0:07:02.392 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 29 November 2024 20:50:36 -0500 (0:00:00.090) 0:07:02.483 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 29 November 2024 20:50:36 -0500 (0:00:00.277) 0:07:02.760 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 29 November 2024 20:50:36 -0500 (0:00:00.095) 0:07:02.856 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 29 November 2024 20:50:36 -0500 (0:00:00.097) 0:07:02.954 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 29 November 2024 20:50:36 -0500 (0:00:00.093) 0:07:03.048 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 29 November 2024 20:50:36 -0500 (0:00:00.095) 0:07:03.143 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 29 November 2024 20:50:37 -0500 (0:00:00.108) 0:07:03.252 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 29 November 2024 20:50:37 -0500 (0:00:00.096) 0:07:03.349 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 29 November 2024 20:50:37 -0500 (0:00:00.097) 0:07:03.446 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 29 November 2024 20:50:37 -0500 (0:00:00.097) 0:07:03.543 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 29 November 2024 20:50:37 -0500 (0:00:00.111) 0:07:03.654 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 29 November 2024 20:50:37 -0500 (0:00:00.093) 0:07:03.748 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 29 November 2024 20:50:37 -0500 (0:00:00.095) 0:07:03.843 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 29 November 2024 20:50:37 -0500 (0:00:00.095) 0:07:03.939 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 29 November 2024 20:50:37 -0500 (0:00:00.091) 0:07:04.030 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 29 November 2024 20:50:37 -0500 (0:00:00.096) 0:07:04.127 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 29 November 2024 20:50:37 -0500 (0:00:00.090) 0:07:04.217 ******* ok: [managed-node1] => { "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 : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 29 November 2024 20:50:39 -0500 (0:00:01.807) 0:07:06.025 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 29 November 2024 20:50:40 -0500 (0:00:00.264) 0:07:06.290 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 29 November 2024 20:50:40 -0500 (0:00:00.110) 0:07:06.400 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 29 November 2024 20:50:40 -0500 (0:00:00.102) 0:07:06.503 ******* skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 29 November 2024 20:50:40 -0500 (0:00:00.187) 0:07:06.690 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 29 November 2024 20:50:41 -0500 (0:00:00.602) 0:07:07.293 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 29 November 2024 20:50:41 -0500 (0:00:00.115) 0:07:07.408 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 29 November 2024 20:50:41 -0500 (0:00:00.101) 0:07:07.510 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 29 November 2024 20:50:41 -0500 (0:00:00.096) 0:07:07.607 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 29 November 2024 20:50:41 -0500 (0:00:00.098) 0:07:07.705 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 29 November 2024 20:50:41 -0500 (0:00:00.096) 0:07:07.802 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 29 November 2024 20:50:41 -0500 (0:00:00.098) 0:07:07.901 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 29 November 2024 20:50:41 -0500 (0:00:00.137) 0:07:08.038 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 29 November 2024 20:50:41 -0500 (0:00:00.092) 0:07:08.130 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 29 November 2024 20:50:42 -0500 (0:00:00.694) 0:07:08.824 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 29 November 2024 20:50:43 -0500 (0:00:00.842) 0:07:09.667 ******* ok: [managed-node1] => { "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.005749", "end": "2024-11-29 20:50:43.724353", "rc": 0, "start": "2024-11-29 20:50:43.718604" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 29 November 2024 20:50:43 -0500 (0:00:00.414) 0:07:10.082 ******* ok: [managed-node1] => { "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 : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 29 November 2024 20:50:44 -0500 (0:00:01.052) 0:07:11.134 ******* ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 29 November 2024 20:50:45 -0500 (0:00:00.135) 0:07:11.270 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 29 November 2024 20:50:45 -0500 (0:00:00.094) 0:07:11.364 ******* skipping: [managed-node1] => { "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 : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 29 November 2024 20:50:45 -0500 (0:00:00.097) 0:07:11.461 ******* skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 29 November 2024 20:50:45 -0500 (0:00:00.134) 0:07:11.596 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 29 November 2024 20:50:45 -0500 (0:00:00.092) 0:07:11.688 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 29 November 2024 20:50:45 -0500 (0:00:00.096) 0:07:11.784 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 29 November 2024 20:50:46 -0500 (0:00:00.645) 0:07:12.430 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:23:49 EST", "ActiveEnterTimestampMonotonic": "10790189", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:23:48 EST", "AssertTimestampMonotonic": "9790725", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:23:48 EST", "ConditionTimestampMonotonic": "9790723", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "845", "ExecMainStartTimestamp": "Fri 2024-11-29 20:23:48 EST", "ExecMainStartTimestampMonotonic": "9791433", "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": "Fri 2024-11-29 20:23:48 EST", "InactiveExitTimestampMonotonic": "9791472", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "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": "Fri 2024-11-29 20:23:49 EST", "WatchdogTimestampMonotonic": "10790091", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 29 November 2024 20:50:46 -0500 (0:00:00.538) 0:07:12.968 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.095490", "end": "2024-11-29 20:50:47.119793", "rc": 0, "start": "2024-11-29 20:50:47.024303" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 29 November 2024 20:50:47 -0500 (0:00:00.505) 0:07:13.474 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 29 November 2024 20:50:47 -0500 (0:00:00.101) 0:07:13.575 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 29 November 2024 20:50:47 -0500 (0:00:00.103) 0:07:13.679 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 29 November 2024 20:50:47 -0500 (0:00:00.271) 0:07:13.950 ******* ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 29 November 2024 20:50:48 -0500 (0:00:00.421) 0:07:14.372 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 29 November 2024 20:50:48 -0500 (0:00:00.096) 0:07:14.468 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 29 November 2024 20:50:48 -0500 (0:00:00.675) 0:07:15.143 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 29 November 2024 20:50:49 -0500 (0:00:00.098) 0:07:15.241 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 29 November 2024 20:50:49 -0500 (0:00:00.102) 0:07:15.344 ******* skipping: [managed-node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 29 November 2024 20:50:49 -0500 (0:00:00.120) 0:07:15.464 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:50:49 -0500 (0:00:00.175) 0:07:15.640 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004058", "end": "2024-11-29 20:50:49.714389", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:49.710331" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:50:49 -0500 (0:00:00.433) 0:07:16.073 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:50:49 -0500 (0:00:00.111) 0:07:16.185 ******* NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.130715", "end": "2024-11-29 20:50:50.388182", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:50.257467" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 29 November 2024 20:50:50 -0500 (0:00:00.575) 0:07:16.761 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:50:50 -0500 (0:00:00.173) 0:07:16.935 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003511", "end": "2024-11-29 20:50:51.001471", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:50.997960" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:50:51 -0500 (0:00:00.603) 0:07:17.538 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:50:51 -0500 (0:00:00.112) 0:07:17.651 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.131034", "end": "2024-11-29 20:50:51.857990", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:51.726956" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 29 November 2024 20:50:51 -0500 (0:00:00.566) 0:07:18.218 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:50:52 -0500 (0:00:00.184) 0:07:18.402 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003528", "end": "2024-11-29 20:50:52.471011", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:52.467483" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:50:52 -0500 (0:00:00.444) 0:07:18.847 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:50:52 -0500 (0:00:00.110) 0:07:18.958 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.131946", "end": "2024-11-29 20:50:53.161858", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:53.029912" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 29 November 2024 20:50:53 -0500 (0:00:00.563) 0:07:19.521 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:50:53 -0500 (0:00:00.185) 0:07:19.707 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003501", "end": "2024-11-29 20:50:53.800159", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:53.796658" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:50:53 -0500 (0:00:00.522) 0:07:20.229 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:50:54 -0500 (0:00:00.123) 0:07:20.352 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.132002", "end": "2024-11-29 20:50:54.586988", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:50:54.454986" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 29 November 2024 20:50:54 -0500 (0:00:00.631) 0:07:20.984 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005202", "end": "2024-11-29 20:50:55.054886", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:50:55.049684" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 29 November 2024 20:50:55 -0500 (0:00:00.423) 0:07:21.408 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 29 November 2024 20:50:55 -0500 (0:00:00.102) 0:07:21.511 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 29 November 2024 20:50:55 -0500 (0:00:00.111) 0:07:21.622 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 29 November 2024 20:50:55 -0500 (0:00:00.147) 0:07:21.770 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 29 November 2024 20:50:55 -0500 (0:00:00.179) 0:07:21.950 ******* skipping: [managed-node1] => { "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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 29 November 2024 20:50:56 -0500 (0:00:00.369) 0:07:22.320 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 29 November 2024 20:50:56 -0500 (0:00:00.106) 0:07:22.426 ******* skipping: [managed-node1] => { "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 : Change the password of sa user] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 29 November 2024 20:50:56 -0500 (0:00:00.100) 0:07:22.527 ******* skipping: [managed-node1] => { "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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 29 November 2024 20:50:56 -0500 (0:00:00.103) 0:07:22.630 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 29 November 2024 20:50:56 -0500 (0:00:00.094) 0:07:22.725 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 29 November 2024 20:50:56 -0500 (0:00:00.096) 0:07:22.821 ******* ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005403", "end": "2024-11-29 20:50:56.901499", "rc": 0, "start": "2024-11-29 20:50:56.896096" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 29 November 2024 20:50:57 -0500 (0:00:00.432) 0:07:23.254 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 29 November 2024 20:50:57 -0500 (0:00:00.101) 0:07:23.355 ******* ok: [managed-node1] => { "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 : Change the edition of MSSQL] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 29 November 2024 20:50:58 -0500 (0:00:01.416) 0:07:24.772 ******* skipping: [managed-node1] => { "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 : Configure the IP address setting] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 29 November 2024 20:50:58 -0500 (0:00:00.103) 0:07:24.875 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 29 November 2024 20:50:58 -0500 (0:00:00.092) 0:07:24.967 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 29 November 2024 20:50:58 -0500 (0:00:00.113) 0:07:25.081 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 29 November 2024 20:50:58 -0500 (0:00:00.097) 0:07:25.179 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 29 November 2024 20:50:59 -0500 (0:00:00.341) 0:07:25.520 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003362", "end": "2024-11-29 20:50:59.578457", "failed_when_result": false, "rc": 1, "start": "2024-11-29 20:50:59.575095" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 29 November 2024 20:50:59 -0500 (0:00:00.416) 0:07:25.937 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.132436", "end": "2024-11-29 20:51:00.149805", "failed_when_result": false, "rc": 0, "start": "2024-11-29 20:51:00.017369" } 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 setting network tcpport] ***** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 29 November 2024 20:51:00 -0500 (0:00:00.585) 0:07:26.522 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 29 November 2024 20:51:00 -0500 (0:00:00.095) 0:07:26.617 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 29 November 2024 20:51:00 -0500 (0:00:00.099) 0:07:26.717 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 29 November 2024 20:51:00 -0500 (0:00:00.097) 0:07:26.814 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 29 November 2024 20:51:00 -0500 (0:00:00.099) 0:07:26.914 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 29 November 2024 20:51:00 -0500 (0:00:00.092) 0:07:27.007 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 29 November 2024 20:51:00 -0500 (0:00:00.112) 0:07:27.119 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 29 November 2024 20:51:01 -0500 (0:00:00.155) 0:07:27.275 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 29 November 2024 20:51:01 -0500 (0:00:00.148) 0:07:27.424 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 29 November 2024 20:51:01 -0500 (0:00:00.154) 0:07:27.578 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 29 November 2024 20:51:01 -0500 (0:00:00.150) 0:07:27.728 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 29 November 2024 20:51:01 -0500 (0:00:00.140) 0:07:27.869 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 29 November 2024 20:51:01 -0500 (0:00:00.119) 0:07:27.988 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 29 November 2024 20:51:01 -0500 (0:00:00.097) 0:07:28.085 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 29 November 2024 20:51:02 -0500 (0:00:00.282) 0:07:28.368 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 29 November 2024 20:51:02 -0500 (0:00:00.099) 0:07:28.468 ******* skipping: [managed-node1] => { "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 : Check if AD user exists] *************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 29 November 2024 20:51:02 -0500 (0:00:00.105) 0:07:28.574 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 29 November 2024 20:51:02 -0500 (0:00:00.138) 0:07:28.712 ******* skipping: [managed-node1] => { "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 : Ensure proper configuration on user] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 29 November 2024 20:51:02 -0500 (0:00:00.138) 0:07:28.851 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 29 November 2024 20:51:02 -0500 (0:00:00.152) 0:07:29.003 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 29 November 2024 20:51:02 -0500 (0:00:00.154) 0:07:29.158 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 29 November 2024 20:51:03 -0500 (0:00:00.153) 0:07:29.312 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 29 November 2024 20:51:03 -0500 (0:00:00.128) 0:07:29.440 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 29 November 2024 20:51:03 -0500 (0:00:00.104) 0:07:29.545 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 29 November 2024 20:51:03 -0500 (0:00:00.093) 0:07:29.638 ******* skipping: [managed-node1] => { "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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 29 November 2024 20:51:03 -0500 (0:00:00.096) 0:07:29.734 ******* skipping: [managed-node1] => { "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 : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 29 November 2024 20:51:03 -0500 (0:00:00.105) 0:07:29.840 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 29 November 2024 20:51:03 -0500 (0:00:00.160) 0:07:30.001 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 29 November 2024 20:51:03 -0500 (0:00:00.161) 0:07:30.162 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 29 November 2024 20:51:04 -0500 (0:00:00.164) 0:07:30.327 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 29 November 2024 20:51:04 -0500 (0:00:00.167) 0:07:30.494 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 29 November 2024 20:51:04 -0500 (0:00:00.138) 0:07:30.632 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 29 November 2024 20:51:04 -0500 (0:00:00.096) 0:07:30.729 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 29 November 2024 20:51:04 -0500 (0:00:00.452) 0:07:31.181 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 29 November 2024 20:51:05 -0500 (0:00:00.322) 0:07:31.504 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 29 November 2024 20:51:05 -0500 (0:00:00.175) 0:07:31.679 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 29 November 2024 20:51:05 -0500 (0:00:00.114) 0:07:31.794 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 29 November 2024 20:51:05 -0500 (0:00:00.106) 0:07:31.900 ******* skipping: [managed-node1] => (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: [managed-node1] => (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 : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 29 November 2024 20:51:05 -0500 (0:00:00.183) 0:07:32.083 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 29 November 2024 20:51:05 -0500 (0:00:00.149) 0:07:32.233 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 29 November 2024 20:51:06 -0500 (0:00:00.125) 0:07:32.358 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Get the current primary replica in SQL] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 29 November 2024 20:51:06 -0500 (0:00:00.198) 0:07:32.557 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 29 November 2024 20:51:06 -0500 (0:00:00.165) 0:07:32.722 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 29 November 2024 20:51:06 -0500 (0:00:00.151) 0:07:32.874 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 29 November 2024 20:51:06 -0500 (0:00:00.148) 0:07:33.022 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 29 November 2024 20:51:06 -0500 (0:00:00.125) 0:07:33.148 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 29 November 2024 20:51:07 -0500 (0:00:00.115) 0:07:33.263 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 29 November 2024 20:51:07 -0500 (0:00:00.095) 0:07:33.358 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 29 November 2024 20:51:07 -0500 (0:00:00.115) 0:07:33.474 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 29 November 2024 20:51:07 -0500 (0:00:00.105) 0:07:33.579 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 29 November 2024 20:51:07 -0500 (0:00:00.106) 0:07:33.685 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 29 November 2024 20:51:07 -0500 (0:00:00.095) 0:07:33.780 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 29 November 2024 20:51:07 -0500 (0:00:00.268) 0:07:34.049 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 29 November 2024 20:51:07 -0500 (0:00:00.095) 0:07:34.144 ******* skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/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: [managed-node1] => (item={u'key': u'key', u'value': u'/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 : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 29 November 2024 20:51:08 -0500 (0:00:00.152) 0:07:34.297 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 29 November 2024 20:51:08 -0500 (0:00:00.094) 0:07:34.391 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 29 November 2024 20:51:08 -0500 (0:00:00.097) 0:07:34.488 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 29 November 2024 20:51:08 -0500 (0:00:00.098) 0:07:34.587 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 29 November 2024 20:51:08 -0500 (0:00:00.096) 0:07:34.684 ******* skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 29 November 2024 20:51:08 -0500 (0:00:00.125) 0:07:34.810 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 29 November 2024 20:51:08 -0500 (0:00:00.093) 0:07:34.903 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 29 November 2024 20:51:08 -0500 (0:00:00.096) 0:07:34.999 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 29 November 2024 20:51:08 -0500 (0:00:00.094) 0:07:35.094 ******* skipping: [managed-node1] => { "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/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 29 November 2024 20:51:08 -0500 (0:00:00.096) 0:07:35.191 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 29 November 2024 20:51:09 -0500 (0:00:00.572) 0:07:35.763 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:50:21 EST", "ActiveEnterTimestampMonotonic": "1602722427", "ActiveExitTimestamp": "Fri 2024-11-29 20:50:20 EST", "ActiveExitTimestampMonotonic": "1602241280", "ActiveState": "active", "After": "network.target systemd-journald.socket basic.target system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:50:21 EST", "AssertTimestampMonotonic": "1602720938", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:50:21 EST", "ConditionTimestampMonotonic": "1602720936", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/mssql-server.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11134", "ExecMainStartTimestamp": "Fri 2024-11-29 20:50:21 EST", "ExecMainStartTimestampMonotonic": "1602722336", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-29 20:50:21 EST] ; stop_time=[n/a] ; pid=11134 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-29 20:50:21 EST", "InactiveEnterTimestampMonotonic": "1602719570", "InactiveExitTimestamp": "Fri 2024-11-29 20:50:21 EST", "InactiveExitTimestampMonotonic": "1602722427", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11134", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-29 20:50:21 EST", "WatchdogTimestampMonotonic": "1602722394", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 29 November 2024 20:51:10 -0500 (0:00:00.899) 0:07:36.663 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 29 November 2024 20:51:10 -0500 (0:00:00.091) 0:07:36.755 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:27 Friday 29 November 2024 20:51:10 -0500 (0:00:00.110) 0:07:36.865 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 29 November 2024 20:51:11 -0500 (0:00:00.461) 0:07:37.326 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 29 November 2024 20:51:13 -0500 (0:00:02.586) 0:07:39.913 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 29 November 2024 20:51:13 -0500 (0:00:00.257) 0:07:40.171 ******* ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 29 November 2024 20:51:14 -0500 (0:00:00.169) 0:07:40.340 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 29 November 2024 20:51:14 -0500 (0:00:00.332) 0:07:40.673 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 29 November 2024 20:51:14 -0500 (0:00:00.273) 0:07:40.946 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 29 November 2024 20:51:14 -0500 (0:00:00.244) 0:07:41.191 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 29 November 2024 20:51:15 -0500 (0:00:00.803) 0:07:41.994 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 29 November 2024 20:51:15 -0500 (0:00:00.165) 0:07:42.160 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 29 November 2024 20:51:16 -0500 (0:00:00.878) 0:07:43.039 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 29 November 2024 20:51:16 -0500 (0:00:00.164) 0:07:43.203 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 29 November 2024 20:51:17 -0500 (0:00:00.760) 0:07:43.963 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 29 November 2024 20:51:17 -0500 (0:00:00.124) 0:07:44.088 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 29 November 2024 20:51:17 -0500 (0:00:00.103) 0:07:44.192 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 29 November 2024 20:51:18 -0500 (0:00:00.133) 0:07:44.325 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 29 November 2024 20:51:18 -0500 (0:00:00.173) 0:07:44.498 ******* skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 29 November 2024 20:51:18 -0500 (0:00:00.196) 0:07:44.694 ******* ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:35:50 EST", "ActiveEnterTimestampMonotonic": "732236710", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:35:50 EST", "AssertTimestampMonotonic": "731909608", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:35:50 EST", "ConditionTimestampMonotonic": "731909606", "Conflicts": "iptables.service ip6tables.service shutdown.target ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20842", "ExecMainStartTimestamp": "Fri 2024-11-29 20:35:50 EST", "ExecMainStartTimestampMonotonic": "731911030", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-29 20:35:50 EST", "InactiveExitTimestampMonotonic": "731911971", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20842", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "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", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-11-29 20:35:50 EST", "WatchdogTimestampMonotonic": "732236544", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 29 November 2024 20:51:19 -0500 (0:00:00.629) 0:07:45.324 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-29 20:35:50 EST", "ActiveEnterTimestampMonotonic": "732236710", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-29 20:35:50 EST", "AssertTimestampMonotonic": "731909608", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-29 20:35:50 EST", "ConditionTimestampMonotonic": "731909606", "Conflicts": "iptables.service ip6tables.service shutdown.target ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20842", "ExecMainStartTimestamp": "Fri 2024-11-29 20:35:50 EST", "ExecMainStartTimestampMonotonic": "731911030", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; 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/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-29 20:35:50 EST", "InactiveExitTimestampMonotonic": "731911971", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20842", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "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", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-11-29 20:35:50 EST", "WatchdogTimestampMonotonic": "732236544", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 29 November 2024 20:51:19 -0500 (0:00:00.683) 0:07:46.007 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 29 November 2024 20:51:19 -0500 (0:00:00.117) 0:07:46.125 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.10.50 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 29 November 2024 20:51:20 -0500 (0:00:00.455) 0:07:46.581 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 29 November 2024 20:51:20 -0500 (0:00:00.143) 0:07:46.725 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 29 November 2024 20:51:20 -0500 (0:00:00.131) 0:07:46.856 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 29 November 2024 20:51:20 -0500 (0:00:00.274) 0:07:47.131 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 29 November 2024 20:51:20 -0500 (0:00:00.104) 0:07:47.235 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 29 November 2024 20:51:21 -0500 (0:00:00.097) 0:07:47.334 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 29 November 2024 20:51:21 -0500 (0:00:00.094) 0:07:47.428 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.10.50 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 29 November 2024 20:51:21 -0500 (0:00:00.674) 0:07:48.102 ******* ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 29 November 2024 20:51:22 -0500 (0:00:00.195) 0:07:48.297 ******* skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 29 November 2024 20:51:22 -0500 (0:00:00.186) 0:07:48.484 ******* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 29 November 2024 20:51:22 -0500 (0:00:00.434) 0:07:48.919 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 29 November 2024 20:51:23 -0500 (0:00:00.359) 0:07:49.279 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 29 November 2024 20:51:23 -0500 (0:00:00.221) 0:07:49.500 ******* included: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 29 November 2024 20:51:23 -0500 (0:00:00.292) 0:07:49.793 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 29 November 2024 20:51:24 -0500 (0:00:00.603) 0:07:50.396 ******* ok: [managed-node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 29 November 2024 20:51:24 -0500 (0:00:00.196) 0:07:50.593 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 29 November 2024 20:51:25 -0500 (0:00:01.012) 0:07:51.605 ******* ok: [managed-node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 29 November 2024 20:51:25 -0500 (0:00:00.197) 0:07:51.803 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 29 November 2024 20:51:26 -0500 (0:00:01.066) 0:07:52.870 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 29 November 2024 20:51:26 -0500 (0:00:00.206) 0:07:53.076 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 29 November 2024 20:51:26 -0500 (0:00:00.145) 0:07:53.221 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 29 November 2024 20:51:27 -0500 (0:00:00.196) 0:07:53.418 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 29 November 2024 20:51:27 -0500 (0:00:00.170) 0:07:53.589 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 29 November 2024 20:51:27 -0500 (0:00:00.129) 0:07:53.719 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 29 November 2024 20:51:27 -0500 (0:00:00.168) 0:07:53.887 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 29 November 2024 20:51:28 -0500 (0:00:00.943) 0:07:54.831 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 29 November 2024 20:51:28 -0500 (0:00:00.174) 0:07:55.005 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 29 November 2024 20:51:28 -0500 (0:00:00.200) 0:07:55.206 ******* ok: [managed-node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 29 November 2024 20:51:29 -0500 (0:00:00.301) 0:07:55.508 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 29 November 2024 20:51:29 -0500 (0:00:00.148) 0:07:55.656 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 29 November 2024 20:51:29 -0500 (0:00:00.166) 0:07:55.823 ******* NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.389375", "end": "2024-11-29 20:51:30.348277", "rc": 0, "start": "2024-11-29 20:51:29.958902" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 29 November 2024 20:51:30 -0500 (0:00:00.947) 0:07:56.770 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 29 November 2024 20:51:30 -0500 (0:00:00.355) 0:07:57.126 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 29 November 2024 20:51:31 -0500 (0:00:00.169) 0:07:57.295 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 29 November 2024 20:51:31 -0500 (0:00:00.146) 0:07:57.441 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 29 November 2024 20:51:31 -0500 (0:00:00.160) 0:07:57.602 ******* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 29 November 2024 20:51:31 -0500 (0:00:00.150) 0:07:57.753 ******* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 29 November 2024 20:51:31 -0500 (0:00:00.157) 0:07:57.910 ******* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 29 November 2024 20:51:31 -0500 (0:00:00.153) 0:07:58.063 ******* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 29 November 2024 20:51:31 -0500 (0:00:00.157) 0:07:58.221 ******* ok: [managed-node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 29 November 2024 20:51:36 -0500 (0:00:04.187) 0:08:02.408 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 29 November 2024 20:51:36 -0500 (0:00:00.176) 0:08:02.585 ******* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 29 November 2024 20:51:36 -0500 (0:00:00.195) 0:08:02.780 ******* TASK [Leave realm] ************************************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 29 November 2024 20:51:36 -0500 (0:00:00.393) 0:08:03.174 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 29 November 2024 20:51:37 -0500 (0:00:00.262) 0:08:03.437 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 29 November 2024 20:51:37 -0500 (0:00:00.288) 0:08:03.725 ******* changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools*", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql18 to be removed - no longer needed by mssql-tools18\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 718 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : mssql-tools18-18.4.1.1-1.x86_64 2/17 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/17 \nODBC Driver 18 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 4/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 5/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 6/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 7/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 8/17 \n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 3/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 4/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 5/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/17 \n Verifying : lsof-4.87-6.el7.x86_64 7/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 9/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 12/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 13/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 14/17 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 15/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 16/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools18.x86_64 0:18.4.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\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.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql18.x86_64 0:18.4.1.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Friday 29 November 2024 20:51:42 -0500 (0:00:04.558) 0:08:08.284 ******* [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed-node1] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.010697", "end": "2024-11-29 20:51:42.373578", "rc": 0, "start": "2024-11-29 20:51:42.362881" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/1abd7627-1d7c-46fd-84dd-8c03149cbe12’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774047945910000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133774047952440000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774048603970000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774046792210000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133774046801270000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774050240830000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774050736880000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/system_health_0_133774050743810000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/system_health_0_133774048610670000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133774050247080000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133774047252910000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133774049351940000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774049345280000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774046850220000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133774046857400000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133774047246940000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools18’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Friday 29 November 2024 20:51:42 -0500 (0:00:00.593) 0:08:08.878 ******* ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.409862", "end": "2024-11-29 20:51:43.401489", "rc": 0, "start": "2024-11-29 20:51:42.991627" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 29 November 2024 20:51:43 -0500 (0:00:00.828) 0:08:09.707 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.693257", "end": "2024-11-29 20:51:45.625916", "rc": 0, "start": "2024-11-29 20:51:43.932659" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=396 changed=62 unreachable=0 failed=0 skipped=902 rescued=0 ignored=0 Friday 29 November 2024 20:51:45 -0500 (0:00:02.237) 0:08:11.945 ******* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 48.55s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 6.51s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 6.02s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 5.17s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 5.09s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Remove related packages ------------------------------------------------- 4.56s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 4.19s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Test with certs created by the certificate role ------------------------- 3.04s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Gather package facts ---------------------------------------------------- 2.59s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Disable TLS encryption -------------------------------------------------- 2.30s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.24s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wait for mssql-server to prepare for client connections ----------------- 2.09s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Disable TLS encryption -------------------------------------------------- 2.00s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Copy certificates to hosts ---------------------------------------------- 1.96s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Wait for mssql-server to prepare for client connections ----------------- 1.93s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Verify connectivity and settings ---------------------------------------- 1.86s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.85s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.82s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.82s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.81s /tmp/collections-Zfg/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162