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_2017.yml *************************************************** 2 plays in /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:5 Wednesday 20 November 2024 06:28:14 -0500 (0:00:00.031) 0:00:00.031 **** 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-u1m/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:9 Wednesday 20 November 2024 06:28:14 -0500 (0:00:00.022) 0:00:00.054 **** ok: [managed-node1] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:24 Wednesday 20 November 2024 06:28:15 -0500 (0:00:01.148) 0:00:01.202 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Wednesday 20 November 2024 06:28:16 -0500 (0:00:00.138) 0:00:01.341 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 20 November 2024 06:28:16 -0500 (0:00:00.051) 0:00:01.392 **** ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Wednesday 20 November 2024 06:28:16 -0500 (0:00:00.360) 0:00:01.752 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Wednesday 20 November 2024 06:28:16 -0500 (0:00:00.024) 0:00:01.777 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Wednesday 20 November 2024 06:28:16 -0500 (0:00:00.024) 0:00:01.802 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Wednesday 20 November 2024 06:28:17 -0500 (0:00:00.757) 0:00:02.559 **** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.tlbVmB", "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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Wednesday 20 November 2024 06:28:17 -0500 (0:00:00.466) 0:00:03.026 **** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.x7w7Tm", "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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Wednesday 20 November 2024 06:28:18 -0500 (0:00:00.317) 0:00:03.344 **** changed: [managed-node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.11.187", "-out", "/tmp/ansible.tlbVmB", "-keyout", "/tmp/ansible.x7w7Tm", "-days", "365" ], "delta": "0:00:00.020134", "end": "2024-11-20 06:28:18.485795", "rc": 0, "start": "2024-11-20 06:28:18.465661" } STDERR: Generating a 2048 bit RSA private key .+++ .......+++ writing new private key to '/tmp/ansible.x7w7Tm' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Wednesday 20 November 2024 06:28:18 -0500 (0:00:00.441) 0:00:03.785 **** changed: [managed-node1] => (item=/tmp/ansible.tlbVmB) => { "ansible_loop_var": "item", "changed": true, "checksum": "f689014cbdd8ef79a7412a1422dbabe0f87e5471", "dest": "/tmp/ansible.tlbVmB", "item": "/tmp/ansible.tlbVmB", "md5sum": "1cdf9c321782fd38e4014da90c036068", "remote_checksum": "f689014cbdd8ef79a7412a1422dbabe0f87e5471", "remote_md5sum": null } changed: [managed-node1] => (item=/tmp/ansible.x7w7Tm) => { "ansible_loop_var": "item", "changed": true, "checksum": "bd1fcaf14ed201495e0291d82189f2d2f48ed648", "dest": "/tmp/ansible.x7w7Tm", "item": "/tmp/ansible.x7w7Tm", "md5sum": "019d2ab32fa25c895e932503bbeac566", "remote_checksum": "bd1fcaf14ed201495e0291d82189f2d2f48ed648", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Wednesday 20 November 2024 06:28:19 -0500 (0:00:00.799) 0:00:04.584 **** changed: [managed-node1 -> localhost] => { "changed": true, "checksum": "bd1fcaf14ed201495e0291d82189f2d2f48ed648", "dest": "./ansible.x7w7Tm", "gid": 0, "group": "root", "md5sum": "019d2ab32fa25c895e932503bbeac566", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1732102099.37-23096-216189939113811/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Wednesday 20 November 2024 06:28:19 -0500 (0:00:00.550) 0:00:05.135 **** ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.tlbVmB", "mssql_tls_private_key": "ansible.x7w7Tm" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Wednesday 20 November 2024 06:28:19 -0500 (0:00:00.037) 0:00:05.173 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.479) 0:00:05.652 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.030) 0:00:05.682 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.025) 0:00:05.708 **** 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-qgV/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-qgV/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 : Temporary debug] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.061) 0:00:05.770 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.051) 0:00:05.821 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:05.844 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:05.866 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.025) 0:00:05.891 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:05.914 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.021) 0:00:05.935 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:05.958 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.023) 0:00:05.982 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.021) 0:00:06.004 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:06.027 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.024) 0:00:06.051 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.029) 0:00:06.080 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:06.103 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:06.125 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.023) 0:00:06.149 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.022) 0:00:06.171 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.024) 0:00:06.196 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 06:28:20 -0500 (0:00:00.020) 0:00:06.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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 06:28:22 -0500 (0:00:01.639) 0:00:07.857 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 06:28:22 -0500 (0:00:00.124) 0:00:07.981 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 06:28:22 -0500 (0:00:00.064) 0:00:08.046 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 06:28:22 -0500 (0:00:00.100) 0:00:08.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" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 06:28:23 -0500 (0:00:00.145) 0:00:08.292 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 06:28:23 -0500 (0:00:00.762) 0:00:09.055 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 06:28:23 -0500 (0:00:00.063) 0:00:09.118 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 06:28:23 -0500 (0:00:00.060) 0:00:09.178 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 06:28:24 -0500 (0:00:00.064) 0:00:09.243 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 06:28:24 -0500 (0:00:00.072) 0:00:09.316 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 06:28:24 -0500 (0:00:00.085) 0:00:09.401 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 06:28:24 -0500 (0:00:00.100) 0:00:09.502 **** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 06:28:24 -0500 (0:00:00.655) 0:00:10.157 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 06:28:24 -0500 (0:00:00.072) 0:00:10.230 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 06:28:25 -0500 (0:00:00.600) 0:00:10.830 **** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "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 mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-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--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 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\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 37 MB/s | 203 MB 00:05 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-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\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 06:29:05 -0500 (0:00:39.719) 0:00:50.549 **** 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.005813", "end": "2024-11-20 06:29:05.632413", "rc": 0, "start": "2024-11-20 06:29:05.626600" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 06:29:05 -0500 (0:00:00.415) 0:00:50.964 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 06:29:06 -0500 (0:00:01.190) 0:00:52.155 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 06:29:07 -0500 (0:00:00.156) 0:00:52.311 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 06:29:07 -0500 (0:00:00.130) 0:00:52.442 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 06:29:12 -0500 (0:00:05.088) 0:00:57.531 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 06:29:12 -0500 (0:00:00.078) 0:00:57.609 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 06:29:12 -0500 (0:00:00.067) 0:00:57.677 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 06:29:12 -0500 (0:00:00.068) 0:00:57.745 **** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 06:29:13 -0500 (0:00:00.786) 0:00:58.532 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:17:06 EST", "ActiveEnterTimestampMonotonic": "14989300", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target dbus.service basic.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:17:05 EST", "AssertTimestampMonotonic": "13893881", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:17:05 EST", "ConditionTimestampMonotonic": "13893880", "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": "850", "ExecMainStartTimestamp": "Wed 2024-11-20 06:17:05 EST", "ExecMainStartTimestampMonotonic": "13895404", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-11-20 06:17:05 EST", "InactiveExitTimestampMonotonic": "13895442", "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": "850", "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 polkit.service dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:17:06 EST", "WatchdogTimestampMonotonic": "14989036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 06:29:14 -0500 (0:00:01.154) 0:00:59.687 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.155033", "end": "2024-11-20 06:29:14.968291", "rc": 0, "start": "2024-11-20 06:29:14.813258" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 06:29:15 -0500 (0:00:00.675) 0:01:00.362 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 06:29:15 -0500 (0:00:00.090) 0:01:00.453 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 06:29:15 -0500 (0:00:00.078) 0:01:00.532 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 06:29:15 -0500 (0:00:00.081) 0:01:00.613 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 06:29:15 -0500 (0:00:00.580) 0:01:01.194 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 06:29:16 -0500 (0:00:00.101) 0:01:01.296 **** 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.8 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 06:29:20 -0500 (0:00:04.593) 0:01:05.889 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 06:29:20 -0500 (0:00:00.109) 0:01:05.998 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 06:29:20 -0500 (0:00:00.113) 0:01:06.112 **** changed: [managed-node1] => (item=/tmp/ansible.tlbVmB) => { "ansible_loop_var": "item", "changed": true, "checksum": "f689014cbdd8ef79a7412a1422dbabe0f87e5471", "dest": "/etc/pki/tls/certs/ansible.tlbVmB", "gid": 994, "group": "mssql", "item": "/tmp/ansible.tlbVmB", "md5sum": "1cdf9c321782fd38e4014da90c036068", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1732102160.94-24954-222625990526356/source", "state": "file", "uid": 996 } changed: [managed-node1] => (item=ansible.x7w7Tm) => { "ansible_loop_var": "item", "changed": true, "checksum": "bd1fcaf14ed201495e0291d82189f2d2f48ed648", "dest": "/etc/pki/tls/private/ansible.x7w7Tm", "gid": 994, "group": "mssql", "item": "ansible.x7w7Tm", "md5sum": "019d2ab32fa25c895e932503bbeac566", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1732102161.53-24954-171062274467269/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 06:29:22 -0500 (0:00:01.265) 0:01:07.378 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:29:22 -0500 (0:00:00.134) 0:01:07.512 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004040", "end": "2024-11-20 06:29:22.550554", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:29:22.546514" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:29:22 -0500 (0:00:00.382) 0:01:07.895 **** 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.tlbVmB" ], "delta": "0:00:00.045296", "end": "2024-11-20 06:29:22.985218", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:29:22.939922" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:29:23 -0500 (0:00:00.458) 0:01:08.354 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 06:29:23 -0500 (0:00:00.119) 0:01:08.474 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:29:23 -0500 (0:00:00.257) 0:01:08.731 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003073", "end": "2024-11-20 06:29:23.790188", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:29:23.787115" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:29:23 -0500 (0:00:00.394) 0:01:09.126 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.x7w7Tm" ], "delta": "0:00:00.045115", "end": "2024-11-20 06:29:24.185309", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:29:24.140194" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:29:24 -0500 (0:00:00.402) 0:01:09.528 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 06:29:24 -0500 (0:00:00.073) 0:01:09.602 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:29:24 -0500 (0:00:00.136) 0:01:09.738 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003628", "end": "2024-11-20 06:29:24.747729", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:29:24.744101" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:29:24 -0500 (0:00:00.352) 0:01:10.091 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.045550", "end": "2024-11-20 06:29:25.178904", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:29:25.133354" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:29:25 -0500 (0:00:00.442) 0:01:10.534 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 06:29:25 -0500 (0:00:00.108) 0:01:10.642 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:29:25 -0500 (0:00:00.182) 0:01:10.824 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003105", "end": "2024-11-20 06:29:25.843726", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:29:25.840621" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:29:25 -0500 (0:00:00.352) 0:01:11.177 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.046930", "end": "2024-11-20 06:29:26.239449", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:29:26.192519" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:29:26 -0500 (0:00:00.486) 0:01:11.663 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 06:29:26 -0500 (0:00:00.070) 0:01:11.734 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005059", "end": "2024-11-20 06:29:26.736264", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:29:26.731205" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 06:29:26 -0500 (0:00:00.335) 0:01:12.069 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 06:29:26 -0500 (0:00:00.071) 0:01:12.141 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 06:29:26 -0500 (0:00:00.084) 0:01:12.225 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.069) 0:01:12.294 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.069) 0:01:12.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 that the mssql-server service is stopped] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.085) 0:01:12.450 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.095) 0:01:12.546 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.108) 0:01:12.654 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.105) 0:01:12.760 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.091) 0:01:12.851 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.084) 0:01:12.935 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.092) 0:01:13.027 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.067) 0:01:13.095 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.069) 0:01:13.165 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 06:29:27 -0500 (0:00:00.069) 0:01:13.234 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 06:29:28 -0500 (0:00:00.068) 0:01:13.303 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 06:29:28 -0500 (0:00:00.068) 0:01:13.371 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 06:29:28 -0500 (0:00:00.131) 0:01:13.503 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:29:28 -0500 (0:00:00.123) 0:01:13.626 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003439", "end": "2024-11-20 06:29:28.625220", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:29:28.621781" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:29:28 -0500 (0:00:00.334) 0:01:13.960 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046656", "end": "2024-11-20 06:29:29.017871", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:29:28.971215" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.406) 0:01:14.367 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.068) 0:01:14.436 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.067) 0:01:14.503 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.070) 0:01:14.574 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.071) 0:01:14.645 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.066) 0:01:14.712 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.070) 0:01:14.782 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.066) 0:01:14.849 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.069) 0:01:14.919 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.068) 0:01:14.987 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.084) 0:01:15.071 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.068) 0:01:15.139 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 06:29:29 -0500 (0:00:00.068) 0:01:15.208 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.069) 0:01:15.278 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.128) 0:01:15.407 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.071) 0:01:15.478 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.066) 0:01:15.545 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.071) 0:01:15.617 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.067) 0:01:15.685 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.070) 0:01:15.755 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.070) 0:01:15.826 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.065) 0:01:15.892 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.070) 0:01:15.962 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.066) 0:01:16.029 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.082) 0:01:16.112 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 06:29:30 -0500 (0:00:00.066) 0:01:16.178 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.067) 0:01:16.246 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.067) 0:01:16.313 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.070) 0:01:16.383 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.068) 0:01:16.452 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.067) 0:01:16.519 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.101) 0:01:16.620 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.103) 0:01:16.724 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.179) 0:01:16.904 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.105) 0:01:17.010 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.109) 0:01:17.119 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 06:29:31 -0500 (0:00:00.109) 0:01:17.229 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.107) 0:01:17.337 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.127) 0:01:17.465 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.108) 0:01:17.574 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.104) 0:01:17.679 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.132) 0:01:17.811 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.104) 0:01:17.915 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.101) 0:01:18.017 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.081) 0:01:18.099 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 06:29:32 -0500 (0:00:00.086) 0:01:18.186 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.084) 0:01:18.270 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.091) 0:01:18.362 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.100) 0:01:18.462 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.086) 0:01:18.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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.084) 0:01:18.634 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.067) 0:01:18.702 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.076) 0:01:18.778 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.111) 0:01:18.889 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 06:29:33 -0500 (0:00:00.294) 0:01:19.184 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.124) 0:01:19.309 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.120) 0:01:19.429 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.104) 0:01:19.534 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.107) 0:01:19.641 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.125) 0:01:19.767 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.105) 0:01:19.872 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.104) 0:01:19.977 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.111) 0:01:20.088 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 06:29:34 -0500 (0:00:00.106) 0:01:20.195 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 06:29:35 -0500 (0:00:00.812) 0:01:21.007 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:29:12 EST", "ActiveEnterTimestampMonotonic": "740287543", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service basic.target -.mount system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:29:12 EST", "AssertTimestampMonotonic": "740286160", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:29:12 EST", "ConditionTimestampMonotonic": "740286158", "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": "22215", "ExecMainStartTimestamp": "Wed 2024-11-20 06:29:12 EST", "ExecMainStartTimestampMonotonic": "740287485", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-11-20 06:29:12 EST", "InactiveExitTimestampMonotonic": "740287543", "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": "22215", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice 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": "Wed 2024-11-20 06:29:12 EST", "WatchdogTimestampMonotonic": "740287523", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 06:29:37 -0500 (0:00:01.693) 0:01:22.701 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 06:29:37 -0500 (0:00:00.104) 0:01:22.806 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Wednesday 20 November 2024 06:29:37 -0500 (0:00:00.105) 0:01:22.912 **** changed: [managed-node1 -> localhost] => { "changed": true, "path": "ansible.x7w7Tm", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Wednesday 20 November 2024 06:29:38 -0500 (0:00:00.623) 0:01:23.535 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 20 November 2024 06:29:38 -0500 (0:00:00.191) 0:01:23.727 **** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 20 November 2024 06:29:39 -0500 (0:00:00.747) 0:01:24.474 **** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 20 November 2024 06:29:39 -0500 (0:00:00.521) 0:01:24.995 **** ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Wednesday 20 November 2024 06:29:40 -0500 (0:00:01.112) 0:01:26.108 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.206) 0:01:26.314 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.105) 0:01:26.419 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.102) 0:01:26.522 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.106) 0:01:26.628 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.123) 0:01:26.751 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.179) 0:01:26.931 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.108) 0:01:27.039 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 20 November 2024 06:29:41 -0500 (0:00:00.105) 0:01:27.145 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 20 November 2024 06:29:42 -0500 (0:00:00.104) 0:01:27.249 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 06:29:42 -0500 (0:00:00.213) 0:01:27.462 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:29:37 EST", "ActiveEnterTimestampMonotonic": "765582640", "ActiveExitTimestamp": "Wed 2024-11-20 06:29:36 EST", "ActiveExitTimestampMonotonic": "764507129", "ActiveState": "active", "After": "auditd.service -.mount network.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:29:37 EST", "AssertTimestampMonotonic": "765582020", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:29:37 EST", "ConditionTimestampMonotonic": "765581999", "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": "23541", "ExecMainStartTimestamp": "Wed 2024-11-20 06:29:37 EST", "ExecMainStartTimestampMonotonic": "765582583", "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": "Wed 2024-11-20 06:29:37 EST", "InactiveEnterTimestampMonotonic": "765581020", "InactiveExitTimestamp": "Wed 2024-11-20 06:29:37 EST", "InactiveExitTimestampMonotonic": "765582640", "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": "23541", "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": "Wed 2024-11-20 06:29:37 EST", "WatchdogTimestampMonotonic": "765582621", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 06:29:42 -0500 (0:00:00.525) 0:01:27.987 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003030", "end": "2024-11-20 06:29:43.037263", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:29:43.034233" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 06:29:43 -0500 (0:00:00.402) 0:01:28.390 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003482", "end": "2024-11-20 06:29:43.397158", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:29:43.393676" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 06:29:43 -0500 (0:00:00.339) 0:01:28.730 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 20 November 2024 06:29:43 -0500 (0:00:00.104) 0:01:28.834 **** 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": 6353, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 20 November 2024 06:29:45 -0500 (0:00:01.568) 0:01:30.402 **** 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.023404", "end": "2024-11-20 06:29:45.423427", "rc": 0, "start": "2024-11-20 06:29:45.400023" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 20 November 2024 06:29:45 -0500 (0:00:00.363) 0:01:30.765 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 20 November 2024 06:29:45 -0500 (0:00:00.128) 0:01:30.894 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 20 November 2024 06:29:45 -0500 (0:00:00.075) 0:01:30.970 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 20 November 2024 06:29:45 -0500 (0:00:00.066) 0:01:31.037 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 20 November 2024 06:29:45 -0500 (0:00:00.069) 0:01:31.107 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 20 November 2024 06:29:45 -0500 (0:00:00.068) 0:01:31.175 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 20 November 2024 06:29:46 -0500 (0:00:00.068) 0:01:31.244 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 20 November 2024 06:29:46 -0500 (0:00:00.073) 0:01:31.318 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 20 November 2024 06:29:46 -0500 (0:00:00.109) 0:01:31.428 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:29:46 -0500 (0:00:00.156) 0:01:31.584 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004345", "end": "2024-11-20 06:29:46.592685", "rc": 0, "start": "2024-11-20 06:29:46.588340" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tlbVmB TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:29:46 -0500 (0:00:00.397) 0:01:31.982 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:29:46 -0500 (0:00:00.132) 0:01:32.115 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.tlbVmB] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:29:46 -0500 (0:00:00.113) 0:01:32.228 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 20 November 2024 06:29:47 -0500 (0:00:00.107) 0:01:32.336 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:29:47 -0500 (0:00:00.198) 0:01:32.535 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004159", "end": "2024-11-20 06:29:47.579276", "rc": 0, "start": "2024-11-20 06:29:47.575117" } STDOUT: tlskey = /etc/pki/tls/private/ansible.x7w7Tm TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:29:47 -0500 (0:00:00.424) 0:01:32.959 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:29:47 -0500 (0:00:00.233) 0:01:33.193 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.x7w7Tm] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:29:48 -0500 (0:00:00.125) 0:01:33.319 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 20 November 2024 06:29:48 -0500 (0:00:00.115) 0:01:33.435 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:29:48 -0500 (0:00:00.216) 0:01:33.651 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004934", "end": "2024-11-20 06:29:48.699245", "rc": 0, "start": "2024-11-20 06:29:48.694311" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:29:48 -0500 (0:00:00.405) 0:01:34.057 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:29:48 -0500 (0:00:00.097) 0:01:34.154 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:29:49 -0500 (0:00:00.092) 0:01:34.247 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 20 November 2024 06:29:49 -0500 (0:00:00.100) 0:01:34.348 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:29:49 -0500 (0:00:00.132) 0:01:34.481 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004887", "end": "2024-11-20 06:29:49.495835", "rc": 0, "start": "2024-11-20 06:29:49.490948" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:29:49 -0500 (0:00:00.354) 0:01:34.835 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:29:49 -0500 (0:00:00.103) 0:01:34.939 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:29:49 -0500 (0:00:00.123) 0:01:35.062 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 20 November 2024 06:29:49 -0500 (0:00:00.116) 0:01:35.178 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Wednesday 20 November 2024 06:29:50 -0500 (0:00:00.104) 0:01:35.282 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 06:29:50 -0500 (0:00:00.631) 0:01:35.914 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 06:29:50 -0500 (0:00:00.191) 0:01:36.106 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.152) 0:01:36.258 **** 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-qgV/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-qgV/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 : Temporary debug] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.182) 0:01:36.441 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -C", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.156) 0:01:36.598 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.108) 0:01:36.707 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.110) 0:01:36.817 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.097) 0:01:36.915 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.113) 0:01:37.029 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 06:29:51 -0500 (0:00:00.107) 0:01:37.136 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 06:29:52 -0500 (0:00:00.110) 0:01:37.246 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 06:29:52 -0500 (0:00:00.121) 0:01:37.367 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 06:29:52 -0500 (0:00:00.111) 0:01:37.479 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 06:29:52 -0500 (0:00:00.111) 0:01:37.591 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 06:29:52 -0500 (0:00:00.126) 0:01:37.718 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 06:29:52 -0500 (0:00:00.125) 0:01:37.844 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 06:29:52 -0500 (0:00:00.264) 0:01:38.108 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 06:29:53 -0500 (0:00:00.206) 0:01:38.314 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 06:29:53 -0500 (0:00:00.181) 0:01:38.496 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 06:29:53 -0500 (0:00:00.106) 0:01:38.602 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 06:29:53 -0500 (0:00:00.123) 0:01:38.725 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 06:29:53 -0500 (0:00:00.109) 0:01:38.834 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 06:29:55 -0500 (0:00:01.663) 0:01:40.497 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 06:29:55 -0500 (0:00:00.268) 0:01:40.766 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 06:29:55 -0500 (0:00:00.072) 0:01:40.838 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 06:29:55 -0500 (0:00:00.082) 0:01:40.921 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 06:29:55 -0500 (0:00:00.183) 0:01:41.105 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 06:29:56 -0500 (0:00:00.689) 0:01:41.795 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 06:29:56 -0500 (0:00:00.171) 0:01:41.967 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 06:29:56 -0500 (0:00:00.087) 0:01:42.054 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 06:29:56 -0500 (0:00:00.075) 0:01:42.130 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 06:29:56 -0500 (0:00:00.071) 0:01:42.202 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 06:29:57 -0500 (0:00:00.072) 0:01:42.275 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 06:29:57 -0500 (0:00:00.091) 0:01:42.366 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 06:29:57 -0500 (0:00:00.137) 0:01:42.504 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 06:29:57 -0500 (0:00:00.115) 0:01:42.620 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 06:29:58 -0500 (0:00:00.691) 0:01:43.311 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 06:29:58 -0500 (0:00:00.592) 0:01:43.904 **** 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.005134", "end": "2024-11-20 06:29:58.936014", "rc": 0, "start": "2024-11-20 06:29:58.930880" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 06:29:59 -0500 (0:00:00.374) 0:01:44.278 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 06:29:59 -0500 (0:00:00.911) 0:01:45.190 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 06:30:00 -0500 (0:00:00.155) 0:01:45.346 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 06:30:00 -0500 (0:00:00.072) 0:01:45.418 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 06:30:00 -0500 (0:00:00.067) 0:01:45.486 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 06:30:00 -0500 (0:00:00.084) 0:01:45.571 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 06:30:00 -0500 (0:00:00.069) 0:01:45.641 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 06:30:00 -0500 (0:00:00.075) 0:01:45.716 **** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 06:30:01 -0500 (0:00:00.711) 0:01:46.427 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:17:06 EST", "ActiveEnterTimestampMonotonic": "14989300", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target system.slice systemd-sysctl.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:17:05 EST", "AssertTimestampMonotonic": "13893881", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:17:05 EST", "ConditionTimestampMonotonic": "13893880", "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": "850", "ExecMainStartTimestamp": "Wed 2024-11-20 06:17:05 EST", "ExecMainStartTimestampMonotonic": "13895404", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-11-20 06:17:05 EST", "InactiveExitTimestampMonotonic": "13895442", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:17:06 EST", "WatchdogTimestampMonotonic": "14989036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 06:30:01 -0500 (0:00:00.668) 0:01:47.096 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085172", "end": "2024-11-20 06:30:02.185639", "rc": 0, "start": "2024-11-20 06:30:02.100467" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 06:30:02 -0500 (0:00:00.451) 0:01:47.547 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 06:30:02 -0500 (0:00:00.098) 0:01:47.646 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 06:30:02 -0500 (0:00:00.078) 0:01:47.724 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 06:30:02 -0500 (0:00:00.082) 0:01:47.806 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 06:30:03 -0500 (0:00:00.555) 0:01:48.362 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 06:30:03 -0500 (0:00:00.121) 0:01:48.484 **** 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 06:30:03 -0500 (0:00:00.721) 0:01:49.205 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 06:30:04 -0500 (0:00:00.165) 0:01:49.371 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 06:30:04 -0500 (0:00:00.113) 0:01:49.485 **** skipping: [managed-node1] => (item=/tmp/ansible.tlbVmB) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.tlbVmB", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.x7w7Tm) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.x7w7Tm", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 06:30:04 -0500 (0:00:00.155) 0:01:49.641 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:30:04 -0500 (0:00:00.196) 0:01:49.837 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003442", "end": "2024-11-20 06:30:04.851956", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:04.848514" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tlbVmB TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:30:04 -0500 (0:00:00.381) 0:01:50.219 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:30:05 -0500 (0:00:00.141) 0:01:50.361 **** 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.044860", "end": "2024-11-20 06:30:05.668953", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:05.624093" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 06:30:05 -0500 (0:00:00.715) 0:01:51.076 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:30:06 -0500 (0:00:00.224) 0:01:51.301 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003542", "end": "2024-11-20 06:30:06.388635", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:06.385093" } STDOUT: tlskey = /etc/pki/tls/private/ansible.x7w7Tm TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:30:06 -0500 (0:00:00.453) 0:01:51.754 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:30:06 -0500 (0:00:00.120) 0:01:51.875 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.045868", "end": "2024-11-20 06:30:06.991296", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:06.945428" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 06:30:07 -0500 (0:00:00.505) 0:01:52.380 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:30:07 -0500 (0:00:00.215) 0:01:52.595 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003155", "end": "2024-11-20 06:30:07.638209", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:07.635054" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:30:07 -0500 (0:00:00.471) 0:01:53.066 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:30:07 -0500 (0:00:00.150) 0:01:53.217 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.046468", "end": "2024-11-20 06:30:08.326425", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:08.279957" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 06:30:08 -0500 (0:00:00.477) 0:01:53.695 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:30:08 -0500 (0:00:00.156) 0:01:53.851 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003198", "end": "2024-11-20 06:30:08.891266", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:08.888068" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:30:09 -0500 (0:00:00.392) 0:01:54.243 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:30:09 -0500 (0:00:00.082) 0:01:54.327 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.045709", "end": "2024-11-20 06:30:09.422338", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:09.376629" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 06:30:09 -0500 (0:00:00.484) 0:01:54.811 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004688", "end": "2024-11-20 06:30:09.858886", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:30:09.854198" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 06:30:09 -0500 (0:00:00.392) 0:01:55.204 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.137) 0:01:55.341 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.113) 0:01:55.455 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.113) 0:01:55.568 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.112) 0:01:55.681 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.104) 0:01:55.785 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.113) 0:01:55.898 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.208) 0:01:56.107 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 06:30:10 -0500 (0:00:00.129) 0:01:56.237 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 06:30:11 -0500 (0:00:00.184) 0:01:56.421 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 06:30:11 -0500 (0:00:00.170) 0:01:56.592 **** 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.004763", "end": "2024-11-20 06:30:11.799034", "rc": 0, "start": "2024-11-20 06:30:11.794271" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 06:30:12 -0500 (0:00:00.739) 0:01:57.332 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 06:30:12 -0500 (0:00:00.226) 0:01:57.558 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 06:30:13 -0500 (0:00:01.633) 0:01:59.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 : Configure the IP address setting] ****** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 06:30:14 -0500 (0:00:00.136) 0:01:59.328 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 06:30:14 -0500 (0:00:00.179) 0:01:59.508 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 06:30:14 -0500 (0:00:00.174) 0:01:59.682 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 06:30:14 -0500 (0:00:00.226) 0:01:59.908 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:30:14 -0500 (0:00:00.211) 0:02:00.119 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003049", "end": "2024-11-20 06:30:15.391958", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:30:15.388909" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:30:15 -0500 (0:00:00.780) 0:02:00.900 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047634", "end": "2024-11-20 06:30:16.018391", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:30:15.970757" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:30:16 -0500 (0:00:00.635) 0:02:01.536 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 06:30:16 -0500 (0:00:00.112) 0:02:01.649 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 06:30:16 -0500 (0:00:00.123) 0:02:01.772 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 06:30:16 -0500 (0:00:00.131) 0:02:01.904 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 06:30:16 -0500 (0:00:00.122) 0:02:02.026 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 06:30:16 -0500 (0:00:00.107) 0:02:02.133 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 06:30:17 -0500 (0:00:00.117) 0:02:02.250 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 06:30:17 -0500 (0:00:00.119) 0:02:02.370 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 06:30:17 -0500 (0:00:00.107) 0:02:02.477 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 06:30:17 -0500 (0:00:00.163) 0:02:02.641 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 06:30:17 -0500 (0:00:00.122) 0:02:02.764 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 06:30:17 -0500 (0:00:00.210) 0:02:02.974 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 06:30:17 -0500 (0:00:00.133) 0:02:03.108 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 06:30:18 -0500 (0:00:00.164) 0:02:03.272 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 06:30:18 -0500 (0:00:00.196) 0:02:03.469 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 06:30:18 -0500 (0:00:00.168) 0:02:03.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 : Check if AD user exists] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 06:30:18 -0500 (0:00:00.194) 0:02:03.832 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 06:30:18 -0500 (0:00:00.133) 0:02:03.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 : Ensure proper configuration on user] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 06:30:18 -0500 (0:00:00.138) 0:02:04.105 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 06:30:19 -0500 (0:00:00.228) 0:02:04.333 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 06:30:19 -0500 (0:00:00.160) 0:02:04.494 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 06:30:19 -0500 (0:00:00.233) 0:02:04.727 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 06:30:19 -0500 (0:00:00.175) 0:02:04.903 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 06:30:19 -0500 (0:00:00.150) 0:02:05.053 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 06:30:19 -0500 (0:00:00.172) 0:02:05.226 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 06:30:20 -0500 (0:00:00.112) 0:02:05.338 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 06:30:20 -0500 (0:00:00.180) 0:02:05.518 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 06:30:20 -0500 (0:00:00.156) 0:02:05.675 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 06:30:20 -0500 (0:00:00.200) 0:02:05.875 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 06:30:20 -0500 (0:00:00.220) 0:02:06.095 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 06:30:20 -0500 (0:00:00.108) 0:02:06.204 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 06:30:21 -0500 (0:00:00.144) 0:02:06.349 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 06:30:21 -0500 (0:00:00.126) 0:02:06.475 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 06:30:21 -0500 (0:00:00.124) 0:02:06.599 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 06:30:21 -0500 (0:00:00.110) 0:02:06.710 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 06:30:21 -0500 (0:00:00.220) 0:02:06.931 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 06:30:21 -0500 (0:00:00.112) 0:02:07.043 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 06:30:21 -0500 (0:00:00.144) 0:02:07.187 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.133) 0:02:07.321 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.208) 0:02:07.529 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.109) 0:02:07.639 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.131) 0:02:07.770 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.116) 0:02:07.887 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.117) 0:02:08.004 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.116) 0:02:08.121 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 06:30:22 -0500 (0:00:00.112) 0:02:08.234 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 06:30:23 -0500 (0:00:00.128) 0:02:08.362 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 06:30:23 -0500 (0:00:00.136) 0:02:08.499 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 06:30:23 -0500 (0:00:00.112) 0:02:08.612 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 06:30:23 -0500 (0:00:00.114) 0:02:08.727 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 06:30:23 -0500 (0:00:00.110) 0:02:08.837 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 06:30:23 -0500 (0:00:00.218) 0:02:09.055 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 06:30:24 -0500 (0:00:00.201) 0:02:09.257 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 06:30:24 -0500 (0:00:00.176) 0:02:09.434 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 06:30:24 -0500 (0:00:00.199) 0:02:09.633 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 06:30:24 -0500 (0:00:00.232) 0:02:09.866 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 06:30:24 -0500 (0:00:00.138) 0:02:10.004 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 06:30:24 -0500 (0:00:00.221) 0:02:10.226 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 06:30:25 -0500 (0:00:00.376) 0:02:10.603 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 06:30:25 -0500 (0:00:00.248) 0:02:10.852 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 06:30:25 -0500 (0:00:00.250) 0:02:11.102 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 06:30:26 -0500 (0:00:00.232) 0:02:11.335 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 06:30:26 -0500 (0:00:00.190) 0:02:11.526 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 06:30:26 -0500 (0:00:00.115) 0:02:11.641 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 06:30:27 -0500 (0:00:00.804) 0:02:12.446 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:29:37 EST", "ActiveEnterTimestampMonotonic": "765582640", "ActiveExitTimestamp": "Wed 2024-11-20 06:29:36 EST", "ActiveExitTimestampMonotonic": "764507129", "ActiveState": "active", "After": "auditd.service -.mount network.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:29:37 EST", "AssertTimestampMonotonic": "765582020", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:29:37 EST", "ConditionTimestampMonotonic": "765581999", "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": "23541", "ExecMainStartTimestamp": "Wed 2024-11-20 06:29:37 EST", "ExecMainStartTimestampMonotonic": "765582583", "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": "Wed 2024-11-20 06:29:37 EST", "InactiveEnterTimestampMonotonic": "765581020", "InactiveExitTimestamp": "Wed 2024-11-20 06:29:37 EST", "InactiveExitTimestampMonotonic": "765582640", "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": "23541", "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": "Wed 2024-11-20 06:29:37 EST", "WatchdogTimestampMonotonic": "765582621", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 06:30:29 -0500 (0:00:02.054) 0:02:14.500 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 06:30:29 -0500 (0:00:00.138) 0:02:14.639 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Wednesday 20 November 2024 06:30:29 -0500 (0:00:00.143) 0:02:14.783 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 20 November 2024 06:30:30 -0500 (0:00:00.619) 0:02:15.402 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 20 November 2024 06:30:30 -0500 (0:00:00.124) 0:02:15.526 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 20 November 2024 06:30:30 -0500 (0:00:00.109) 0:02:15.636 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 20 November 2024 06:30:30 -0500 (0:00:00.140) 0:02:15.777 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 20 November 2024 06:30:30 -0500 (0:00:00.113) 0:02:15.890 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 20 November 2024 06:30:30 -0500 (0:00:00.192) 0:02:16.082 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 20 November 2024 06:30:30 -0500 (0:00:00.109) 0:02:16.192 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 20 November 2024 06:30:31 -0500 (0:00:00.115) 0:02:16.307 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 20 November 2024 06:30:31 -0500 (0:00:00.114) 0:02:16.422 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 06:30:31 -0500 (0:00:00.199) 0:02:16.621 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:30:28 EST", "ActiveEnterTimestampMonotonic": "817242081", "ActiveExitTimestamp": "Wed 2024-11-20 06:30:27 EST", "ActiveExitTimestampMonotonic": "816070496", "ActiveState": "active", "After": "auditd.service -.mount network.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:30:28 EST", "AssertTimestampMonotonic": "817241345", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:30:28 EST", "ConditionTimestampMonotonic": "817241343", "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": "25779", "ExecMainStartTimestamp": "Wed 2024-11-20 06:30:28 EST", "ExecMainStartTimestampMonotonic": "817241997", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 06:30:28 EST] ; stop_time=[n/a] ; pid=25779 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-11-20 06:30:28 EST", "InactiveEnterTimestampMonotonic": "817239657", "InactiveExitTimestamp": "Wed 2024-11-20 06:30:28 EST", "InactiveExitTimestampMonotonic": "817242081", "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": "25779", "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": "Wed 2024-11-20 06:30:28 EST", "WatchdogTimestampMonotonic": "817242061", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 06:30:32 -0500 (0:00:01.103) 0:02:17.725 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003374", "end": "2024-11-20 06:30:32.742829", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:30:32.739455" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 06:30:32 -0500 (0:00:00.352) 0:02:18.078 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003401", "end": "2024-11-20 06:30:33.205464", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:30:33.202063" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 06:30:33 -0500 (0:00:00.646) 0:02:18.724 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 20 November 2024 06:30:33 -0500 (0:00:00.203) 0:02:18.928 **** 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": 6263, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 20 November 2024 06:30:35 -0500 (0:00:01.671) 0:02:20.600 **** 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.022801", "end": "2024-11-20 06:30:35.633571", "rc": 0, "start": "2024-11-20 06:30:35.610770" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 20 November 2024 06:30:35 -0500 (0:00:00.518) 0:02:21.118 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 20 November 2024 06:30:35 -0500 (0:00:00.113) 0:02:21.232 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 20 November 2024 06:30:36 -0500 (0:00:00.251) 0:02:21.484 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 20 November 2024 06:30:36 -0500 (0:00:00.157) 0:02:21.642 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 20 November 2024 06:30:36 -0500 (0:00:00.163) 0:02:21.805 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 20 November 2024 06:30:36 -0500 (0:00:00.167) 0:02:21.973 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 20 November 2024 06:30:36 -0500 (0:00:00.130) 0:02:22.103 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 20 November 2024 06:30:36 -0500 (0:00:00.113) 0:02:22.217 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 20 November 2024 06:30:37 -0500 (0:00:00.118) 0:02:22.336 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:30:37 -0500 (0:00:00.183) 0:02:22.519 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004935", "end": "2024-11-20 06:30:37.579523", "rc": 0, "start": "2024-11-20 06:30:37.574588" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:30:37 -0500 (0:00:00.401) 0:02:22.921 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:30:37 -0500 (0:00:00.136) 0:02:23.057 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:30:38 -0500 (0:00:00.210) 0:02:23.274 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 20 November 2024 06:30:38 -0500 (0:00:00.136) 0:02:23.410 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:30:38 -0500 (0:00:00.203) 0:02:23.614 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004743", "end": "2024-11-20 06:30:38.791042", "rc": 0, "start": "2024-11-20 06:30:38.786299" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:30:38 -0500 (0:00:00.583) 0:02:24.198 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:30:39 -0500 (0:00:00.144) 0:02:24.342 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:30:39 -0500 (0:00:00.121) 0:02:24.464 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 20 November 2024 06:30:39 -0500 (0:00:00.174) 0:02:24.638 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:30:39 -0500 (0:00:00.165) 0:02:24.804 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004764", "end": "2024-11-20 06:30:39.872022", "rc": 0, "start": "2024-11-20 06:30:39.867258" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:30:40 -0500 (0:00:00.495) 0:02:25.300 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:30:40 -0500 (0:00:00.165) 0:02:25.465 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:30:40 -0500 (0:00:00.125) 0:02:25.590 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 20 November 2024 06:30:40 -0500 (0:00:00.117) 0:02:25.707 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:30:40 -0500 (0:00:00.238) 0:02:25.946 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004618", "end": "2024-11-20 06:30:40.981545", "rc": 0, "start": "2024-11-20 06:30:40.976927" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:30:41 -0500 (0:00:00.437) 0:02:26.383 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:30:41 -0500 (0:00:00.154) 0:02:26.538 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:30:41 -0500 (0:00:00.172) 0:02:26.710 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 20 November 2024 06:30:41 -0500 (0:00:00.120) 0:02:26.830 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Wednesday 20 November 2024 06:30:41 -0500 (0:00:00.118) 0:02:26.949 **** changed: [managed-node1] => (item=/etc/pki/tls/certs/ansible.tlbVmB) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.tlbVmB", "path": "/etc/pki/tls/certs/ansible.tlbVmB", "state": "absent" } changed: [managed-node1] => (item=/etc/pki/tls/private/ansible.x7w7Tm) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.x7w7Tm", "path": "/etc/pki/tls/private/ansible.x7w7Tm", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Wednesday 20 November 2024 06:30:42 -0500 (0:00:00.862) 0:02:27.812 **** ok: [managed-node1] => (item=/tmp/ansible.tlbVmB) => { "ansible_loop_var": "item", "changed": false, "checksum": "f689014cbdd8ef79a7412a1422dbabe0f87e5471", "dest": "/tmp/ansible.tlbVmB", "gid": 0, "group": "root", "item": "/tmp/ansible.tlbVmB", "mode": "0600", "owner": "root", "path": "/tmp/ansible.tlbVmB", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [managed-node1] => (item=/tmp/ansible.x7w7Tm) => { "ansible_loop_var": "item", "changed": false, "checksum": "bd1fcaf14ed201495e0291d82189f2d2f48ed648", "dest": "/tmp/ansible.x7w7Tm", "gid": 0, "group": "root", "item": "/tmp/ansible.x7w7Tm", "mode": "0600", "owner": "root", "path": "/tmp/ansible.x7w7Tm", "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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Wednesday 20 November 2024 06:30:44 -0500 (0:00:01.733) 0:02:29.545 **** ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.tlbVmB", "mssql_tls_private_key": "ansible.x7w7Tm" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Wednesday 20 November 2024 06:30:44 -0500 (0:00:00.143) 0:02:29.689 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 06:30:45 -0500 (0:00:01.168) 0:02:30.857 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 06:30:45 -0500 (0:00:00.206) 0:02:31.064 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 06:30:45 -0500 (0:00:00.165) 0:02:31.229 **** 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-qgV/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-qgV/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 : Temporary debug] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 06:30:46 -0500 (0:00:00.150) 0:02:31.380 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -C -No", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 06:30:46 -0500 (0:00:00.136) 0:02:31.517 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 06:30:46 -0500 (0:00:00.117) 0:02:31.634 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 06:30:46 -0500 (0:00:00.128) 0:02:31.763 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 06:30:46 -0500 (0:00:00.248) 0:02:32.012 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 06:30:46 -0500 (0:00:00.094) 0:02:32.106 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 06:30:46 -0500 (0:00:00.121) 0:02:32.228 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 06:30:47 -0500 (0:00:00.103) 0:02:32.331 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 06:30:47 -0500 (0:00:00.101) 0:02:32.432 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 06:30:47 -0500 (0:00:00.135) 0:02:32.568 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 06:30:47 -0500 (0:00:00.118) 0:02:32.686 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 06:30:47 -0500 (0:00:00.167) 0:02:32.854 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 06:30:47 -0500 (0:00:00.180) 0:02:33.034 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 06:30:47 -0500 (0:00:00.139) 0:02:33.174 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 06:30:48 -0500 (0:00:00.135) 0:02:33.309 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 06:30:48 -0500 (0:00:00.144) 0:02:33.454 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 06:30:48 -0500 (0:00:00.112) 0:02:33.566 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 06:30:48 -0500 (0:00:00.117) 0:02:33.684 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 06:30:48 -0500 (0:00:00.087) 0:02:33.772 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 06:30:50 -0500 (0:00:01.497) 0:02:35.270 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 06:30:50 -0500 (0:00:00.380) 0:02:35.650 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 06:30:50 -0500 (0:00:00.164) 0:02:35.815 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 06:30:50 -0500 (0:00:00.123) 0:02:35.938 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 06:30:50 -0500 (0:00:00.188) 0:02:36.127 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 06:30:51 -0500 (0:00:00.606) 0:02:36.734 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 06:30:51 -0500 (0:00:00.096) 0:02:36.830 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 06:30:51 -0500 (0:00:00.122) 0:02:36.952 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 06:30:51 -0500 (0:00:00.123) 0:02:37.076 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 06:30:51 -0500 (0:00:00.121) 0:02:37.198 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 06:30:52 -0500 (0:00:00.120) 0:02:37.318 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 06:30:52 -0500 (0:00:00.121) 0:02:37.440 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 06:30:52 -0500 (0:00:00.151) 0:02:37.592 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 06:30:52 -0500 (0:00:00.149) 0:02:37.742 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 06:30:53 -0500 (0:00:00.844) 0:02:38.586 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 06:30:53 -0500 (0:00:00.566) 0:02:39.153 **** 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.005696", "end": "2024-11-20 06:30:54.164047", "rc": 0, "start": "2024-11-20 06:30:54.158351" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 06:30:54 -0500 (0:00:00.350) 0:02:39.503 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 06:30:55 -0500 (0:00:00.895) 0:02:40.399 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 06:30:55 -0500 (0:00:00.099) 0:02:40.498 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 06:30:55 -0500 (0:00:00.075) 0:02:40.574 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 06:30:55 -0500 (0:00:00.072) 0:02:40.647 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 06:30:55 -0500 (0:00:00.134) 0:02:40.781 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 06:30:55 -0500 (0:00:00.119) 0:02:40.901 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 06:30:55 -0500 (0:00:00.110) 0:02:41.011 **** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 06:30:56 -0500 (0:00:00.646) 0:02:41.658 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:17:06 EST", "ActiveEnterTimestampMonotonic": "14989300", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target system.slice systemd-sysctl.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:17:05 EST", "AssertTimestampMonotonic": "13893881", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:17:05 EST", "ConditionTimestampMonotonic": "13893880", "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": "850", "ExecMainStartTimestamp": "Wed 2024-11-20 06:17:05 EST", "ExecMainStartTimestampMonotonic": "13895404", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-11-20 06:17:05 EST", "InactiveExitTimestampMonotonic": "13895442", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:17:06 EST", "WatchdogTimestampMonotonic": "14989036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 06:30:57 -0500 (0:00:00.927) 0:02:42.586 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083771", "end": "2024-11-20 06:30:57.712567", "rc": 0, "start": "2024-11-20 06:30:57.628796" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 06:30:57 -0500 (0:00:00.511) 0:02:43.097 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 06:30:57 -0500 (0:00:00.120) 0:02:43.218 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 06:30:58 -0500 (0:00:00.108) 0:02:43.327 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 06:30:58 -0500 (0:00:00.096) 0:02:43.423 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 06:30:58 -0500 (0:00:00.408) 0:02:43.832 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 06:30:58 -0500 (0:00:00.125) 0:02:43.957 **** 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 06:30:59 -0500 (0:00:00.658) 0:02:44.616 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 06:30:59 -0500 (0:00:00.121) 0:02:44.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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 06:30:59 -0500 (0:00:00.116) 0:02:44.854 **** changed: [managed-node1] => (item=/tmp/ansible.tlbVmB) => { "ansible_loop_var": "item", "changed": true, "checksum": "f689014cbdd8ef79a7412a1422dbabe0f87e5471", "dest": "/etc/pki/tls/certs/ansible.tlbVmB", "gid": 994, "group": "mssql", "item": "/tmp/ansible.tlbVmB", "md5sum": "1cdf9c321782fd38e4014da90c036068", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.tlbVmB", "state": "file", "uid": 996 } changed: [managed-node1] => (item=/tmp/ansible.x7w7Tm) => { "ansible_loop_var": "item", "changed": true, "checksum": "bd1fcaf14ed201495e0291d82189f2d2f48ed648", "dest": "/etc/pki/tls/private/ansible.x7w7Tm", "gid": 994, "group": "mssql", "item": "/tmp/ansible.x7w7Tm", "md5sum": "019d2ab32fa25c895e932503bbeac566", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.x7w7Tm", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 06:31:00 -0500 (0:00:00.822) 0:02:45.677 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:00 -0500 (0:00:00.238) 0:02:45.916 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.003574", "end": "2024-11-20 06:31:02.041429", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:01.037855" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:02 -0500 (0:00:01.602) 0:02:47.519 **** 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.tlbVmB" ], "delta": "0:00:00.045696", "end": "2024-11-20 06:31:02.834136", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:02.788440" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:02 -0500 (0:00:00.716) 0:02:48.235 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 06:31:03 -0500 (0:00:00.118) 0:02:48.354 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:03 -0500 (0:00:00.219) 0:02:48.573 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004568", "end": "2024-11-20 06:31:04.630751", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:03.626183" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:04 -0500 (0:00:01.456) 0:02:50.029 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.x7w7Tm" ], "delta": "0:00:00.046041", "end": "2024-11-20 06:31:05.227520", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:05.181479" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:05 -0500 (0:00:00.591) 0:02:50.621 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 06:31:05 -0500 (0:00:00.129) 0:02:50.751 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:05 -0500 (0:00:00.196) 0:02:50.947 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003091", "end": "2024-11-20 06:31:05.967521", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:05.964430" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:06 -0500 (0:00:00.414) 0:02:51.362 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.045494", "end": "2024-11-20 06:31:06.496142", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:06.450648" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:06 -0500 (0:00:00.796) 0:02:52.159 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 06:31:07 -0500 (0:00:00.276) 0:02:52.435 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:07 -0500 (0:00:00.359) 0:02:52.795 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003465", "end": "2024-11-20 06:31:07.880089", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:07.876624" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:08 -0500 (0:00:00.470) 0:02:53.266 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.044838", "end": "2024-11-20 06:31:08.560471", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:08.515633" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:08 -0500 (0:00:00.690) 0:02:53.956 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 06:31:08 -0500 (0:00:00.128) 0:02:54.085 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005127", "end": "2024-11-20 06:31:09.315457", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:09.310330" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 06:31:09 -0500 (0:00:00.742) 0:02:54.827 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 06:31:09 -0500 (0:00:00.226) 0:02:55.054 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 06:31:09 -0500 (0:00:00.155) 0:02:55.210 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 06:31:10 -0500 (0:00:00.126) 0:02:55.336 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 06:31:10 -0500 (0:00:00.159) 0:02:55.495 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 06:31:10 -0500 (0:00:00.128) 0:02:55.623 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 06:31:10 -0500 (0:00:00.133) 0:02:55.757 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 06:31:10 -0500 (0:00:00.124) 0:02:55.881 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 06:31:10 -0500 (0:00:00.112) 0:02:55.994 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 06:31:10 -0500 (0:00:00.108) 0:02:56.103 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 06:31:11 -0500 (0:00:00.278) 0:02:56.381 **** 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.005204", "end": "2024-11-20 06:31:11.483195", "rc": 0, "start": "2024-11-20 06:31:11.477991" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 06:31:11 -0500 (0:00:00.474) 0:02:56.855 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 06:31:11 -0500 (0:00:00.093) 0:02:56.949 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 06:31:13 -0500 (0:00:01.317) 0:02:58.267 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 06:31:13 -0500 (0:00:00.119) 0:02:58.386 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 06:31:13 -0500 (0:00:00.093) 0:02:58.480 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 06:31:13 -0500 (0:00:00.084) 0:02:58.565 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 06:31:13 -0500 (0:00:00.124) 0:02:58.689 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:13 -0500 (0:00:00.263) 0:02:58.953 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003133", "end": "2024-11-20 06:31:14.033806", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:14.030673" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:14 -0500 (0:00:00.630) 0:02:59.583 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046693", "end": "2024-11-20 06:31:14.821110", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:14.774417" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:15 -0500 (0:00:00.865) 0:03:00.449 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 06:31:15 -0500 (0:00:00.217) 0:03:00.667 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 06:31:15 -0500 (0:00:00.127) 0:03:00.795 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 06:31:15 -0500 (0:00:00.148) 0:03:00.943 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 06:31:15 -0500 (0:00:00.130) 0:03:01.074 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 06:31:15 -0500 (0:00:00.110) 0:03:01.184 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.145) 0:03:01.330 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.124) 0:03:01.454 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.131) 0:03:01.585 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.116) 0:03:01.702 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.116) 0:03:01.818 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.172) 0:03:01.990 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.115) 0:03:02.106 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 06:31:16 -0500 (0:00:00.125) 0:03:02.232 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.119) 0:03:02.351 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.159) 0:03:02.510 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.121) 0:03:02.632 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.094) 0:03:02.727 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.089) 0:03:02.817 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.158) 0:03:02.975 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.089) 0:03:03.064 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.075) 0:03:03.140 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 06:31:17 -0500 (0:00:00.076) 0:03:03.217 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.073) 0:03:03.291 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.075) 0:03:03.367 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.072) 0:03:03.440 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.075) 0:03:03.515 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.074) 0:03:03.589 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.102) 0:03:03.692 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.116) 0:03:03.808 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.111) 0:03:03.920 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.113) 0:03:04.033 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 06:31:18 -0500 (0:00:00.139) 0:03:04.173 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.116) 0:03:04.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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.112) 0:03:04.402 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.113) 0:03:04.515 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.113) 0:03:04.628 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.112) 0:03:04.740 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.239) 0:03:04.979 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.112) 0:03:05.092 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 06:31:19 -0500 (0:00:00.121) 0:03:05.213 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.152) 0:03:05.366 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.118) 0:03:05.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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.114) 0:03:05.600 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.115) 0:03:05.715 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.115) 0:03:05.831 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.117) 0:03:05.948 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.116) 0:03:06.065 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 06:31:20 -0500 (0:00:00.112) 0:03:06.177 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.120) 0:03:06.298 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.117) 0:03:06.416 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.112) 0:03:06.529 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.113) 0:03:06.642 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.109) 0:03:06.751 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.127) 0:03:06.878 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.113) 0:03:06.992 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.112) 0:03:07.104 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 06:31:21 -0500 (0:00:00.110) 0:03:07.215 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 06:31:22 -0500 (0:00:00.235) 0:03:07.451 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 06:31:22 -0500 (0:00:00.135) 0:03:07.586 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 06:31:22 -0500 (0:00:00.120) 0:03:07.707 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 06:31:22 -0500 (0:00:00.109) 0:03:07.816 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 06:31:22 -0500 (0:00:00.115) 0:03:07.931 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 06:31:22 -0500 (0:00:00.117) 0:03:08.049 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 06:31:23 -0500 (0:00:00.595) 0:03:08.644 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:30:28 EST", "ActiveEnterTimestampMonotonic": "817242081", "ActiveExitTimestamp": "Wed 2024-11-20 06:30:27 EST", "ActiveExitTimestampMonotonic": "816070496", "ActiveState": "active", "After": "auditd.service -.mount network.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:30:28 EST", "AssertTimestampMonotonic": "817241345", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:30:28 EST", "ConditionTimestampMonotonic": "817241343", "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": "25779", "ExecMainStartTimestamp": "Wed 2024-11-20 06:30:28 EST", "ExecMainStartTimestampMonotonic": "817241997", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 06:30:28 EST] ; stop_time=[n/a] ; pid=25779 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-11-20 06:30:28 EST", "InactiveEnterTimestampMonotonic": "817239657", "InactiveExitTimestamp": "Wed 2024-11-20 06:30:28 EST", "InactiveExitTimestampMonotonic": "817242081", "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": "25779", "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": "Wed 2024-11-20 06:30:28 EST", "WatchdogTimestampMonotonic": "817242061", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 06:31:24 -0500 (0:00:01.185) 0:03:09.830 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 06:31:24 -0500 (0:00:00.075) 0:03:09.906 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Wednesday 20 November 2024 06:31:24 -0500 (0:00:00.071) 0:03:09.978 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 20 November 2024 06:31:25 -0500 (0:00:00.441) 0:03:10.419 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 20 November 2024 06:31:25 -0500 (0:00:00.169) 0:03:10.589 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 20 November 2024 06:31:25 -0500 (0:00:00.104) 0:03:10.693 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 20 November 2024 06:31:25 -0500 (0:00:00.111) 0:03:10.805 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 20 November 2024 06:31:25 -0500 (0:00:00.124) 0:03:10.929 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 20 November 2024 06:31:25 -0500 (0:00:00.110) 0:03:11.039 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 20 November 2024 06:31:25 -0500 (0:00:00.114) 0:03:11.154 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 20 November 2024 06:31:26 -0500 (0:00:00.109) 0:03:11.263 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 20 November 2024 06:31:26 -0500 (0:00:00.113) 0:03:11.378 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 06:31:26 -0500 (0:00:00.201) 0:03:11.579 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:31:24 EST", "ActiveEnterTimestampMonotonic": "872737447", "ActiveExitTimestamp": "Wed 2024-11-20 06:31:23 EST", "ActiveExitTimestampMonotonic": "872169975", "ActiveState": "active", "After": "auditd.service -.mount network.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:31:24 EST", "AssertTimestampMonotonic": "872736688", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:31:24 EST", "ConditionTimestampMonotonic": "872736686", "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": "28189", "ExecMainStartTimestamp": "Wed 2024-11-20 06:31:24 EST", "ExecMainStartTimestampMonotonic": "872737383", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 06:31:24 EST] ; stop_time=[n/a] ; pid=28189 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-11-20 06:31:24 EST", "InactiveEnterTimestampMonotonic": "872735489", "InactiveExitTimestamp": "Wed 2024-11-20 06:31:24 EST", "InactiveExitTimestampMonotonic": "872737447", "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": "28189", "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": "Wed 2024-11-20 06:31:24 EST", "WatchdogTimestampMonotonic": "872737426", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 06:31:27 -0500 (0:00:00.697) 0:03:12.277 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003916", "end": "2024-11-20 06:31:27.767527", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:27.763611" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 06:31:27 -0500 (0:00:00.886) 0:03:13.163 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003080", "end": "2024-11-20 06:31:28.244861", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:28.241781" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 06:31:28 -0500 (0:00:00.419) 0:03:13.583 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 20 November 2024 06:31:28 -0500 (0:00:00.092) 0:03:13.675 **** 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": 6353, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 20 November 2024 06:31:29 -0500 (0:00:01.359) 0:03:15.035 **** 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.027034", "end": "2024-11-20 06:31:30.083213", "rc": 0, "start": "2024-11-20 06:31:30.056179" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.396) 0:03:15.431 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.079) 0:03:15.511 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.076) 0:03:15.588 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.075) 0:03:15.663 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.076) 0:03:15.740 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.132) 0:03:15.873 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.113) 0:03:15.986 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.118) 0:03:16.105 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 20 November 2024 06:31:30 -0500 (0:00:00.108) 0:03:16.213 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:31:31 -0500 (0:00:00.206) 0:03:16.420 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004317", "end": "2024-11-20 06:31:31.482387", "rc": 0, "start": "2024-11-20 06:31:31.478070" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tlbVmB TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:31:31 -0500 (0:00:00.449) 0:03:16.869 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:31:31 -0500 (0:00:00.102) 0:03:16.972 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.tlbVmB] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:31:31 -0500 (0:00:00.166) 0:03:17.138 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 20 November 2024 06:31:31 -0500 (0:00:00.079) 0:03:17.218 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:31:32 -0500 (0:00:00.206) 0:03:17.425 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004559", "end": "2024-11-20 06:31:32.464326", "rc": 0, "start": "2024-11-20 06:31:32.459767" } STDOUT: tlskey = /etc/pki/tls/private/ansible.x7w7Tm TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:31:32 -0500 (0:00:00.390) 0:03:17.816 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:31:32 -0500 (0:00:00.157) 0:03:17.974 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.x7w7Tm] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:31:32 -0500 (0:00:00.127) 0:03:18.102 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 20 November 2024 06:31:32 -0500 (0:00:00.103) 0:03:18.205 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:31:33 -0500 (0:00:00.176) 0:03:18.382 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004352", "end": "2024-11-20 06:31:33.402397", "rc": 0, "start": "2024-11-20 06:31:33.398045" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:31:33 -0500 (0:00:00.413) 0:03:18.795 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:31:33 -0500 (0:00:00.155) 0:03:18.951 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:31:33 -0500 (0:00:00.121) 0:03:19.072 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 20 November 2024 06:31:33 -0500 (0:00:00.095) 0:03:19.168 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:31:34 -0500 (0:00:00.163) 0:03:19.331 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004889", "end": "2024-11-20 06:31:34.388473", "rc": 0, "start": "2024-11-20 06:31:34.383584" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:31:34 -0500 (0:00:00.518) 0:03:19.850 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:31:34 -0500 (0:00:00.082) 0:03:19.932 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:31:34 -0500 (0:00:00.106) 0:03:20.038 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 20 November 2024 06:31:34 -0500 (0:00:00.080) 0:03:20.119 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Wednesday 20 November 2024 06:31:34 -0500 (0:00:00.097) 0:03:20.217 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Wednesday 20 November 2024 06:31:35 -0500 (0:00:00.671) 0:03:20.888 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003782", "end": "2024-11-20 06:31:36.151893", "rc": 0, "start": "2024-11-20 06:31:36.148111" } 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.tlbVmB tlskey = /etc/pki/tls/private/ansible.x7w7Tm tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Wednesday 20 November 2024 06:31:36 -0500 (0:00:00.628) 0:03:21.517 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 06:31:37 -0500 (0:00:01.358) 0:03:22.875 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 06:31:37 -0500 (0:00:00.195) 0:03:23.071 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 06:31:37 -0500 (0:00:00.155) 0:03:23.226 **** 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-qgV/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-qgV/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 : Temporary debug] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.174) 0:03:23.400 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -C -No", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.159) 0:03:23.560 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.115) 0:03:23.675 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.116) 0:03:23.792 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.117) 0:03:23.909 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.116) 0:03:24.025 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.113) 0:03:24.138 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 06:31:38 -0500 (0:00:00.100) 0:03:24.239 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.114) 0:03:24.354 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.079) 0:03:24.433 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.080) 0:03:24.513 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.112) 0:03:24.626 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.119) 0:03:24.745 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.251) 0:03:24.996 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.095) 0:03:25.092 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 06:31:39 -0500 (0:00:00.074) 0:03:25.166 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 06:31:40 -0500 (0:00:00.085) 0:03:25.251 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 06:31:40 -0500 (0:00:00.120) 0:03:25.372 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 06:31:40 -0500 (0:00:00.135) 0:03:25.507 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 06:31:41 -0500 (0:00:01.389) 0:03:26.896 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 06:31:41 -0500 (0:00:00.301) 0:03:27.198 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 06:31:42 -0500 (0:00:00.113) 0:03:27.312 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 06:31:42 -0500 (0:00:00.128) 0:03:27.440 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 06:31:42 -0500 (0:00:00.210) 0:03:27.650 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 06:31:43 -0500 (0:00:00.760) 0:03:28.411 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 06:31:43 -0500 (0:00:00.116) 0:03:28.528 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 06:31:43 -0500 (0:00:00.124) 0:03:28.653 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 06:31:43 -0500 (0:00:00.122) 0:03:28.776 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 06:31:43 -0500 (0:00:00.116) 0:03:28.892 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 06:31:43 -0500 (0:00:00.124) 0:03:29.016 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 06:31:43 -0500 (0:00:00.118) 0:03:29.134 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 06:31:44 -0500 (0:00:00.158) 0:03:29.293 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 06:31:44 -0500 (0:00:00.105) 0:03:29.398 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 06:31:44 -0500 (0:00:00.728) 0:03:30.127 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 06:31:45 -0500 (0:00:00.688) 0:03:30.815 **** 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.005024", "end": "2024-11-20 06:31:45.872454", "rc": 0, "start": "2024-11-20 06:31:45.867430" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 06:31:46 -0500 (0:00:00.439) 0:03:31.255 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 06:31:46 -0500 (0:00:00.986) 0:03:32.242 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 06:31:47 -0500 (0:00:00.268) 0:03:32.510 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 06:31:47 -0500 (0:00:00.096) 0:03:32.606 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 06:31:47 -0500 (0:00:00.078) 0:03:32.685 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 06:31:47 -0500 (0:00:00.116) 0:03:32.802 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 06:31:47 -0500 (0:00:00.117) 0:03:32.919 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 06:31:47 -0500 (0:00:00.103) 0:03:33.022 **** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 06:31:48 -0500 (0:00:00.582) 0:03:33.605 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:17:06 EST", "ActiveEnterTimestampMonotonic": "14989300", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target system.slice systemd-sysctl.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:17:05 EST", "AssertTimestampMonotonic": "13893881", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:17:05 EST", "ConditionTimestampMonotonic": "13893880", "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": "850", "ExecMainStartTimestamp": "Wed 2024-11-20 06:17:05 EST", "ExecMainStartTimestampMonotonic": "13895404", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-11-20 06:17:05 EST", "InactiveExitTimestampMonotonic": "13895442", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:17:06 EST", "WatchdogTimestampMonotonic": "14989036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 06:31:48 -0500 (0:00:00.567) 0:03:34.173 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085194", "end": "2024-11-20 06:31:49.306306", "rc": 0, "start": "2024-11-20 06:31:49.221112" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 06:31:49 -0500 (0:00:00.521) 0:03:34.695 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 06:31:49 -0500 (0:00:00.125) 0:03:34.820 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 06:31:49 -0500 (0:00:00.141) 0:03:34.962 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 06:31:49 -0500 (0:00:00.120) 0:03:35.082 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 06:31:50 -0500 (0:00:00.445) 0:03:35.527 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 06:31:50 -0500 (0:00:00.120) 0:03:35.648 **** 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 06:31:51 -0500 (0:00:00.776) 0:03:36.424 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 06:31:51 -0500 (0:00:00.121) 0:03:36.546 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 06:31:51 -0500 (0:00:00.124) 0:03:36.670 **** skipping: [managed-node1] => (item=/tmp/ansible.tlbVmB) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.tlbVmB", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.x7w7Tm) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.x7w7Tm", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 06:31:51 -0500 (0:00:00.135) 0:03:36.805 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:51 -0500 (0:00:00.225) 0:03:37.031 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003204", "end": "2024-11-20 06:31:52.088838", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:52.085634" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tlbVmB TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:52 -0500 (0:00:00.451) 0:03:37.482 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:52 -0500 (0:00:00.135) 0:03:37.618 **** 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.045404", "end": "2024-11-20 06:31:52.746356", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:52.700952" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 06:31:52 -0500 (0:00:00.533) 0:03:38.151 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:53 -0500 (0:00:00.217) 0:03:38.369 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003333", "end": "2024-11-20 06:31:53.428319", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:53.424986" } STDOUT: tlskey = /etc/pki/tls/private/ansible.x7w7Tm TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:53 -0500 (0:00:00.445) 0:03:38.815 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:53 -0500 (0:00:00.119) 0:03:38.934 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.045616", "end": "2024-11-20 06:31:54.028813", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:53.983197" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 06:31:54 -0500 (0:00:00.438) 0:03:39.372 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:54 -0500 (0:00:00.244) 0:03:39.617 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003036", "end": "2024-11-20 06:31:54.629115", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:54.626079" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:54 -0500 (0:00:00.355) 0:03:39.973 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:54 -0500 (0:00:00.112) 0:03:40.085 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.045966", "end": "2024-11-20 06:31:55.216932", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:55.170966" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 06:31:55 -0500 (0:00:00.524) 0:03:40.610 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:31:55 -0500 (0:00:00.244) 0:03:40.855 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003130", "end": "2024-11-20 06:31:55.924698", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:55.921568" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:31:56 -0500 (0:00:00.436) 0:03:41.291 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:31:56 -0500 (0:00:00.083) 0:03:41.375 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.045213", "end": "2024-11-20 06:31:56.444612", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:31:56.399399" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 06:31:56 -0500 (0:00:00.458) 0:03:41.833 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005163", "end": "2024-11-20 06:31:56.896126", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:31:56.890963" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.440) 0:03:42.274 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.134) 0:03:42.408 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.127) 0:03:42.536 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.095) 0:03:42.632 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.099) 0:03:42.732 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.074) 0:03:42.806 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.172) 0:03:42.979 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.085) 0:03:43.064 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 06:31:57 -0500 (0:00:00.106) 0:03:43.171 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 06:31:58 -0500 (0:00:00.124) 0:03:43.295 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 06:31:58 -0500 (0:00:00.138) 0:03:43.434 **** 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.005041", "end": "2024-11-20 06:31:58.586819", "rc": 0, "start": "2024-11-20 06:31:58.581778" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 06:31:58 -0500 (0:00:00.490) 0:03:43.925 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 06:31:58 -0500 (0:00:00.079) 0:03:44.005 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 06:32:00 -0500 (0:00:01.330) 0:03:45.335 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 06:32:00 -0500 (0:00:00.134) 0:03:45.470 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 06:32:00 -0500 (0:00:00.171) 0:03:45.641 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 06:32:00 -0500 (0:00:00.119) 0:03:45.761 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 06:32:00 -0500 (0:00:00.276) 0:03:46.038 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:32:01 -0500 (0:00:00.242) 0:03:46.280 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005222", "end": "2024-11-20 06:32:01.473391", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:32:01.468169" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:32:01 -0500 (0:00:00.548) 0:03:46.829 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046063", "end": "2024-11-20 06:32:01.884880", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:32:01.838817" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.444) 0:03:47.273 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.106) 0:03:47.380 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.138) 0:03:47.519 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.122) 0:03:47.641 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.250) 0:03:47.892 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.122) 0:03:48.014 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.120) 0:03:48.135 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 06:32:02 -0500 (0:00:00.097) 0:03:48.232 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.081) 0:03:48.314 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.072) 0:03:48.386 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.082) 0:03:48.469 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.110) 0:03:48.580 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.113) 0:03:48.693 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.271) 0:03:48.965 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.102) 0:03:49.068 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 06:32:03 -0500 (0:00:00.099) 0:03:49.168 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.082) 0:03:49.250 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.094) 0:03:49.344 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.113) 0:03:49.458 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.122) 0:03:49.580 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.111) 0:03:49.692 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.113) 0:03:49.805 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.120) 0:03:49.926 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.091) 0:03:50.018 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.084) 0:03:50.102 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 06:32:04 -0500 (0:00:00.072) 0:03:50.175 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.073) 0:03:50.248 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.073) 0:03:50.322 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.087) 0:03:50.410 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.113) 0:03:50.523 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.110) 0:03:50.634 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.116) 0:03:50.751 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.113) 0:03:50.864 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.263) 0:03:51.127 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 06:32:05 -0500 (0:00:00.114) 0:03:51.242 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.109) 0:03:51.351 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.097) 0:03:51.448 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.091) 0:03:51.540 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.095) 0:03:51.636 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.090) 0:03:51.727 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.114) 0:03:51.841 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.141) 0:03:51.983 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.129) 0:03:52.112 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 06:32:06 -0500 (0:00:00.117) 0:03:52.230 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.109) 0:03:52.340 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.098) 0:03:52.439 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.092) 0:03:52.532 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.075) 0:03:52.607 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.073) 0:03:52.681 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.098) 0:03:52.780 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.124) 0:03:52.904 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 06:32:07 -0500 (0:00:00.143) 0:03:53.048 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.317) 0:03:53.365 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.157) 0:03:53.523 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.149) 0:03:53.672 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.103) 0:03:53.776 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.097) 0:03:53.873 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.075) 0:03:53.949 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.091) 0:03:54.041 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 06:32:08 -0500 (0:00:00.130) 0:03:54.172 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 06:32:09 -0500 (0:00:00.123) 0:03:54.295 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 06:32:09 -0500 (0:00:00.110) 0:03:54.406 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 06:32:09 -0500 (0:00:00.143) 0:03:54.549 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 06:32:09 -0500 (0:00:00.100) 0:03:54.650 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 06:32:09 -0500 (0:00:00.557) 0:03:55.208 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:31:24 EST", "ActiveEnterTimestampMonotonic": "872737447", "ActiveExitTimestamp": "Wed 2024-11-20 06:31:23 EST", "ActiveExitTimestampMonotonic": "872169975", "ActiveState": "active", "After": "auditd.service -.mount network.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:31:24 EST", "AssertTimestampMonotonic": "872736688", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:31:24 EST", "ConditionTimestampMonotonic": "872736686", "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": "28189", "ExecMainStartTimestamp": "Wed 2024-11-20 06:31:24 EST", "ExecMainStartTimestampMonotonic": "872737383", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 06:31:24 EST] ; stop_time=[n/a] ; pid=28189 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-11-20 06:31:24 EST", "InactiveEnterTimestampMonotonic": "872735489", "InactiveExitTimestamp": "Wed 2024-11-20 06:31:24 EST", "InactiveExitTimestampMonotonic": "872737447", "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": "28189", "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": "Wed 2024-11-20 06:31:24 EST", "WatchdogTimestampMonotonic": "872737426", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 06:32:10 -0500 (0:00:00.804) 0:03:56.012 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 06:32:10 -0500 (0:00:00.095) 0:03:56.108 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Wednesday 20 November 2024 06:32:10 -0500 (0:00:00.071) 0:03:56.180 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 20 November 2024 06:32:12 -0500 (0:00:01.108) 0:03:57.289 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.082) 0:03:57.371 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.118) 0:03:57.489 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.132) 0:03:57.622 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.101) 0:03:57.723 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.089) 0:03:57.812 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.078) 0:03:57.891 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.071) 0:03:57.963 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.072) 0:03:58.035 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 06:32:12 -0500 (0:00:00.129) 0:03:58.165 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:32:10 EST", "ActiveEnterTimestampMonotonic": "918902779", "ActiveExitTimestamp": "Wed 2024-11-20 06:32:10 EST", "ActiveExitTimestampMonotonic": "918659283", "ActiveState": "active", "After": "auditd.service -.mount network.target system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:32:10 EST", "AssertTimestampMonotonic": "918901822", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:32:10 EST", "ConditionTimestampMonotonic": "918901821", "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": "30307", "ExecMainStartTimestamp": "Wed 2024-11-20 06:32:10 EST", "ExecMainStartTimestampMonotonic": "918902376", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 06:32:10 EST] ; stop_time=[n/a] ; pid=30307 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-11-20 06:32:10 EST", "InactiveEnterTimestampMonotonic": "918900421", "InactiveExitTimestamp": "Wed 2024-11-20 06:32:10 EST", "InactiveExitTimestampMonotonic": "918902779", "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": "30307", "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": "Wed 2024-11-20 06:32:10 EST", "WatchdogTimestampMonotonic": "918902759", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 06:32:13 -0500 (0:00:01.027) 0:03:59.193 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004057", "end": "2024-11-20 06:32:14.279521", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:32:14.275464" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 06:32:14 -0500 (0:00:00.474) 0:03:59.667 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003014", "end": "2024-11-20 06:32:14.734237", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:32:14.731223" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 06:32:14 -0500 (0:00:00.422) 0:04:00.089 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 20 November 2024 06:32:14 -0500 (0:00:00.099) 0:04:00.189 **** 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": 6263, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 20 November 2024 06:32:16 -0500 (0:00:01.347) 0:04:01.536 **** 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.022812", "end": "2024-11-20 06:32:16.575956", "rc": 0, "start": "2024-11-20 06:32:16.553144" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 20 November 2024 06:32:16 -0500 (0:00:00.387) 0:04:01.923 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 20 November 2024 06:32:16 -0500 (0:00:00.077) 0:04:02.001 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 20 November 2024 06:32:16 -0500 (0:00:00.076) 0:04:02.078 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 20 November 2024 06:32:16 -0500 (0:00:00.070) 0:04:02.149 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 20 November 2024 06:32:16 -0500 (0:00:00.074) 0:04:02.223 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 20 November 2024 06:32:17 -0500 (0:00:00.072) 0:04:02.296 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 20 November 2024 06:32:17 -0500 (0:00:00.072) 0:04:02.368 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 20 November 2024 06:32:17 -0500 (0:00:00.072) 0:04:02.441 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 20 November 2024 06:32:17 -0500 (0:00:00.215) 0:04:02.656 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:32:17 -0500 (0:00:00.218) 0:04:02.874 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004130", "end": "2024-11-20 06:32:17.936125", "rc": 0, "start": "2024-11-20 06:32:17.931995" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:32:18 -0500 (0:00:00.456) 0:04:03.331 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:32:18 -0500 (0:00:00.129) 0:04:03.461 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:32:18 -0500 (0:00:00.103) 0:04:03.564 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 20 November 2024 06:32:18 -0500 (0:00:00.078) 0:04:03.643 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:32:18 -0500 (0:00:00.317) 0:04:03.960 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004118", "end": "2024-11-20 06:32:19.217357", "rc": 0, "start": "2024-11-20 06:32:19.213239" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:32:19 -0500 (0:00:00.756) 0:04:04.717 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:32:19 -0500 (0:00:00.192) 0:04:04.910 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:32:19 -0500 (0:00:00.205) 0:04:05.116 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 20 November 2024 06:32:20 -0500 (0:00:00.133) 0:04:05.249 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:32:20 -0500 (0:00:00.226) 0:04:05.476 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004268", "end": "2024-11-20 06:32:20.735135", "rc": 0, "start": "2024-11-20 06:32:20.730867" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:32:20 -0500 (0:00:00.630) 0:04:06.107 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:32:20 -0500 (0:00:00.108) 0:04:06.216 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:32:21 -0500 (0:00:00.312) 0:04:06.528 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 20 November 2024 06:32:21 -0500 (0:00:00.127) 0:04:06.655 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:32:21 -0500 (0:00:00.218) 0:04:06.874 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004196", "end": "2024-11-20 06:32:22.079780", "rc": 0, "start": "2024-11-20 06:32:22.075584" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:32:22 -0500 (0:00:00.666) 0:04:07.541 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:32:22 -0500 (0:00:00.143) 0:04:07.684 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:32:22 -0500 (0:00:00.175) 0:04:07.860 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 20 November 2024 06:32:22 -0500 (0:00:00.241) 0:04:08.101 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Wednesday 20 November 2024 06:32:23 -0500 (0:00:00.153) 0:04:08.255 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 06:32:25 -0500 (0:00:02.449) 0:04:10.705 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 06:32:25 -0500 (0:00:00.206) 0:04:10.912 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 06:32:25 -0500 (0:00:00.150) 0:04:11.062 **** 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-qgV/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-qgV/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 : Temporary debug] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.202) 0:04:11.264 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -C -No", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.179) 0:04:11.443 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.182) 0:04:11.626 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.138) 0:04:11.764 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.122) 0:04:11.887 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.107) 0:04:11.995 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.114) 0:04:12.110 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 06:32:26 -0500 (0:00:00.122) 0:04:12.233 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 06:32:27 -0500 (0:00:00.216) 0:04:12.449 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 06:32:27 -0500 (0:00:00.189) 0:04:12.639 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 06:32:27 -0500 (0:00:00.319) 0:04:12.958 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 06:32:27 -0500 (0:00:00.121) 0:04:13.080 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 06:32:27 -0500 (0:00:00.149) 0:04:13.229 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 06:32:28 -0500 (0:00:00.127) 0:04:13.357 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 06:32:28 -0500 (0:00:00.108) 0:04:13.466 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 06:32:28 -0500 (0:00:00.111) 0:04:13.577 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 06:32:28 -0500 (0:00:00.112) 0:04:13.690 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 06:32:28 -0500 (0:00:00.182) 0:04:13.872 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 06:32:28 -0500 (0:00:00.112) 0:04:13.985 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 06:32:30 -0500 (0:00:01.690) 0:04:15.675 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 06:32:30 -0500 (0:00:00.356) 0:04:16.031 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 06:32:30 -0500 (0:00:00.167) 0:04:16.199 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 06:32:31 -0500 (0:00:00.187) 0:04:16.387 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 06:32:31 -0500 (0:00:00.296) 0:04:16.684 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 06:32:32 -0500 (0:00:00.869) 0:04:17.553 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 06:32:32 -0500 (0:00:00.139) 0:04:17.692 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 06:32:32 -0500 (0:00:00.109) 0:04:17.801 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 06:32:32 -0500 (0:00:00.095) 0:04:17.897 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 06:32:32 -0500 (0:00:00.138) 0:04:18.036 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 06:32:32 -0500 (0:00:00.146) 0:04:18.182 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 06:32:33 -0500 (0:00:00.144) 0:04:18.327 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 06:32:33 -0500 (0:00:00.177) 0:04:18.504 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 06:32:33 -0500 (0:00:00.119) 0:04:18.624 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 06:32:34 -0500 (0:00:00.858) 0:04:19.482 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 06:32:35 -0500 (0:00:01.178) 0:04:20.661 **** 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.005371", "end": "2024-11-20 06:32:35.978912", "rc": 0, "start": "2024-11-20 06:32:35.973541" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 06:32:36 -0500 (0:00:00.847) 0:04:21.509 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 06:32:37 -0500 (0:00:01.337) 0:04:22.846 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 06:32:37 -0500 (0:00:00.172) 0:04:23.019 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 06:32:37 -0500 (0:00:00.110) 0:04:23.130 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 06:32:38 -0500 (0:00:00.303) 0:04:23.433 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 06:32:38 -0500 (0:00:00.255) 0:04:23.689 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 06:32:38 -0500 (0:00:00.127) 0:04:23.817 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 06:32:38 -0500 (0:00:00.114) 0:04:23.932 **** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 06:32:39 -0500 (0:00:00.707) 0:04:24.639 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:17:06 EST", "ActiveEnterTimestampMonotonic": "14989300", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target system.slice systemd-sysctl.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:17:05 EST", "AssertTimestampMonotonic": "13893881", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:17:05 EST", "ConditionTimestampMonotonic": "13893880", "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": "850", "ExecMainStartTimestamp": "Wed 2024-11-20 06:17:05 EST", "ExecMainStartTimestampMonotonic": "13895404", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-11-20 06:17:05 EST", "InactiveExitTimestampMonotonic": "13895442", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:17:06 EST", "WatchdogTimestampMonotonic": "14989036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 06:32:40 -0500 (0:00:00.756) 0:04:25.395 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084272", "end": "2024-11-20 06:32:40.554232", "rc": 0, "start": "2024-11-20 06:32:40.469960" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 06:32:40 -0500 (0:00:00.545) 0:04:25.941 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 06:32:40 -0500 (0:00:00.124) 0:04:26.066 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 06:32:40 -0500 (0:00:00.123) 0:04:26.190 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 06:32:41 -0500 (0:00:00.112) 0:04:26.302 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 06:32:41 -0500 (0:00:00.562) 0:04:26.864 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 06:32:41 -0500 (0:00:00.166) 0:04:27.031 **** 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 06:32:42 -0500 (0:00:00.935) 0:04:27.966 **** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 20 November 2024 06:32:43 -0500 (0:00:00.281) 0:04:28.248 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 20 November 2024 06:32:43 -0500 (0:00:00.681) 0:04:28.930 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Wednesday 20 November 2024 06:32:44 -0500 (0:00:00.340) 0:04:29.270 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Wednesday 20 November 2024 06:32:44 -0500 (0:00:00.918) 0:04:30.189 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Wednesday 20 November 2024 06:32:45 -0500 (0:00:00.267) 0:04:30.456 **** 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-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 20 November 2024 06:32:45 -0500 (0:00:00.371) 0:04:30.828 **** 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 4.0 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" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Wednesday 20 November 2024 06:32:50 -0500 (0:00:04.866) 0:04:35.695 **** 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: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\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 1.8 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" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Wednesday 20 November 2024 06:32:54 -0500 (0:00:04.470) 0:04:40.165 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Wednesday 20 November 2024 06:32:55 -0500 (0:00:00.618) 0:04:40.784 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Wednesday 20 November 2024 06:32:56 -0500 (0:00:00.566) 0:04:41.351 **** 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 network.target dbus.service basic.target systemd-journald.socket syslog.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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Wednesday 20 November 2024 06:32:56 -0500 (0:00:00.792) 0:04:42.143 **** changed: [managed-node1] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.11.187', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.11.187", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Wednesday 20 November 2024 06:32:58 -0500 (0:00:01.517) 0:04:43.661 **** 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.11.187', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.11.187", "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.11.187', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.11.187", "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.11.187', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.11.187", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Wednesday 20 November 2024 06:32:58 -0500 (0:00:00.289) 0:04:43.951 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Wednesday 20 November 2024 06:32:59 -0500 (0:00:00.303) 0:04:44.254 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Wednesday 20 November 2024 06:32:59 -0500 (0:00:00.090) 0:04:44.345 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 06:32:59 -0500 (0:00:00.130) 0:04:44.475 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 06:32:59 -0500 (0:00:00.141) 0:04:44.617 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 06:32:59 -0500 (0:00:00.230) 0:04:44.847 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:32:59 -0500 (0:00:00.293) 0:04:45.140 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003550", "end": "2024-11-20 06:33:00.275675", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:33:00.272125" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:33:00 -0500 (0:00:00.554) 0:04:45.695 **** 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.045981", "end": "2024-11-20 06:33:00.846391", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:00.800410" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:33:01 -0500 (0:00:00.575) 0:04:46.271 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 06:33:01 -0500 (0:00:00.134) 0:04:46.406 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:33:01 -0500 (0:00:00.266) 0:04:46.672 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003127", "end": "2024-11-20 06:33:01.750835", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:33:01.747708" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:33:01 -0500 (0:00:00.472) 0:04:47.145 **** 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.046367", "end": "2024-11-20 06:33:02.346598", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:02.300231" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:33:02 -0500 (0:00:00.570) 0:04:47.715 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 06:33:02 -0500 (0:00:00.078) 0:04:47.794 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:33:02 -0500 (0:00:00.419) 0:04:48.213 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004643", "end": "2024-11-20 06:33:04.494059", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:33:03.489416" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:33:04 -0500 (0:00:01.678) 0:04:49.891 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.046588", "end": "2024-11-20 06:33:05.201594", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:05.155006" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:33:05 -0500 (0:00:00.702) 0:04:50.593 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 06:33:05 -0500 (0:00:00.125) 0:04:50.719 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:33:05 -0500 (0:00:00.210) 0:04:50.930 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004471", "end": "2024-11-20 06:33:06.971069", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:33:05.966598" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:33:07 -0500 (0:00:01.443) 0:04:52.374 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.045927", "end": "2024-11-20 06:33:07.484988", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:07.439061" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:33:07 -0500 (0:00:00.486) 0:04:52.860 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 06:33:07 -0500 (0:00:00.102) 0:04:52.962 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004909", "end": "2024-11-20 06:33:07.993544", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:07.988635" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.407) 0:04:53.370 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.101) 0:04:53.471 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.091) 0:04:53.563 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.076) 0:04:53.639 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.201) 0:04:53.840 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.077) 0:04:53.918 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.080) 0:04:53.998 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.081) 0:04:54.080 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.077) 0:04:54.157 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 06:33:08 -0500 (0:00:00.077) 0:04:54.235 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 06:33:09 -0500 (0:00:00.112) 0:04:54.347 **** 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.005490", "end": "2024-11-20 06:33:09.417364", "rc": 0, "start": "2024-11-20 06:33:09.411874" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 06:33:09 -0500 (0:00:00.453) 0:04:54.801 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 06:33:09 -0500 (0:00:00.125) 0:04:54.927 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 06:33:11 -0500 (0:00:01.441) 0:04:56.368 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 06:33:11 -0500 (0:00:00.111) 0:04:56.480 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 06:33:11 -0500 (0:00:00.085) 0:04:56.566 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 06:33:11 -0500 (0:00:00.076) 0:04:56.642 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 06:33:11 -0500 (0:00:00.277) 0:04:56.920 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:33:11 -0500 (0:00:00.219) 0:04:57.140 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003041", "end": "2024-11-20 06:33:12.196258", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:33:12.193217" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:33:12 -0500 (0:00:00.420) 0:04:57.560 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045656", "end": "2024-11-20 06:33:12.678663", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:12.633007" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:33:12 -0500 (0:00:00.521) 0:04:58.082 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 06:33:12 -0500 (0:00:00.120) 0:04:58.203 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.116) 0:04:58.319 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.121) 0:04:58.440 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.132) 0:04:58.572 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.116) 0:04:58.689 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.093) 0:04:58.783 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.090) 0:04:58.873 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.077) 0:04:58.951 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.076) 0:04:59.027 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.073) 0:04:59.101 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 06:33:13 -0500 (0:00:00.098) 0:04:59.200 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 06:33:14 -0500 (0:00:00.114) 0:04:59.314 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 06:33:14 -0500 (0:00:00.310) 0:04:59.625 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 06:33:14 -0500 (0:00:00.223) 0:04:59.848 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 06:33:14 -0500 (0:00:00.166) 0:05:00.015 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 06:33:14 -0500 (0:00:00.117) 0:05:00.132 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 06:33:14 -0500 (0:00:00.103) 0:05:00.236 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.082) 0:05:00.319 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.127) 0:05:00.446 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.124) 0:05:00.570 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.131) 0:05:00.702 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.134) 0:05:00.837 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.120) 0:05:00.957 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.077) 0:05:01.035 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.080) 0:05:01.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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 06:33:15 -0500 (0:00:00.108) 0:05:01.223 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.116) 0:05:01.340 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.116) 0:05:01.457 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.112) 0:05:01.570 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.118) 0:05:01.688 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.120) 0:05:01.809 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.224) 0:05:02.033 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.079) 0:05:02.112 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 06:33:16 -0500 (0:00:00.079) 0:05:02.191 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 06:33:17 -0500 (0:00:00.085) 0:05:02.277 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 06:33:17 -0500 (0:00:00.124) 0:05:02.401 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 06:33:17 -0500 (0:00:00.254) 0:05:02.656 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 06:33:17 -0500 (0:00:00.165) 0:05:02.821 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 06:33:17 -0500 (0:00:00.168) 0:05:02.990 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 06:33:17 -0500 (0:00:00.135) 0:05:03.126 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.143) 0:05:03.270 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.120) 0:05:03.391 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.118) 0:05:03.509 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.108) 0:05:03.617 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.092) 0:05:03.709 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.086) 0:05:03.796 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.084) 0:05:03.881 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.125) 0:05:04.006 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.108) 0:05:04.115 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 06:33:18 -0500 (0:00:00.093) 0:05:04.209 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 06:33:19 -0500 (0:00:00.225) 0:05:04.434 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 06:33:19 -0500 (0:00:00.118) 0:05:04.553 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 06:33:19 -0500 (0:00:00.114) 0:05:04.668 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 06:33:19 -0500 (0:00:00.150) 0:05:04.818 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 06:33:19 -0500 (0:00:00.117) 0:05:04.936 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 06:33:19 -0500 (0:00:00.123) 0:05:05.059 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 06:33:20 -0500 (0:00:00.208) 0:05:05.267 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 06:33:20 -0500 (0:00:00.202) 0:05:05.470 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 06:33:20 -0500 (0:00:00.169) 0:05:05.639 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 06:33:20 -0500 (0:00:00.114) 0:05:05.753 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 06:33:20 -0500 (0:00:00.118) 0:05:05.872 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 06:33:20 -0500 (0:00:00.115) 0:05:05.988 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 06:33:20 -0500 (0:00:00.144) 0:05:06.132 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 06:33:21 -0500 (0:00:00.898) 0:05:07.030 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:32:10 EST", "ActiveEnterTimestampMonotonic": "918902779", "ActiveExitTimestamp": "Wed 2024-11-20 06:32:10 EST", "ActiveExitTimestampMonotonic": "918659283", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket auditd.service network.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:32:10 EST", "AssertTimestampMonotonic": "918901822", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:32:10 EST", "ConditionTimestampMonotonic": "918901821", "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": "30307", "ExecMainStartTimestamp": "Wed 2024-11-20 06:32:10 EST", "ExecMainStartTimestampMonotonic": "918902376", "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": "Wed 2024-11-20 06:32:10 EST", "InactiveEnterTimestampMonotonic": "918900421", "InactiveExitTimestamp": "Wed 2024-11-20 06:32:10 EST", "InactiveExitTimestampMonotonic": "918902779", "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": "30307", "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 basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:32:10 EST", "WatchdogTimestampMonotonic": "918902759", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 06:33:23 -0500 (0:00:01.293) 0:05:08.324 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 06:33:23 -0500 (0:00:00.137) 0:05:08.461 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Wednesday 20 November 2024 06:33:23 -0500 (0:00:00.186) 0:05:08.647 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 20 November 2024 06:33:24 -0500 (0:00:01.528) 0:05:10.176 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 20 November 2024 06:33:25 -0500 (0:00:00.123) 0:05:10.299 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 20 November 2024 06:33:25 -0500 (0:00:00.157) 0:05:10.457 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 20 November 2024 06:33:25 -0500 (0:00:00.120) 0:05:10.577 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 20 November 2024 06:33:25 -0500 (0:00:00.233) 0:05:10.811 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 20 November 2024 06:33:25 -0500 (0:00:00.199) 0:05:11.010 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 20 November 2024 06:33:25 -0500 (0:00:00.163) 0:05:11.174 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 20 November 2024 06:33:26 -0500 (0:00:00.130) 0:05:11.304 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 20 November 2024 06:33:26 -0500 (0:00:00.151) 0:05:11.456 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 20 November 2024 06:33:26 -0500 (0:00:00.300) 0:05:11.757 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:33:22 EST", "ActiveEnterTimestampMonotonic": "991161253", "ActiveExitTimestamp": "Wed 2024-11-20 06:33:22 EST", "ActiveExitTimestampMonotonic": "990931515", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket auditd.service network.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:33:22 EST", "AssertTimestampMonotonic": "991160467", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:33:22 EST", "ConditionTimestampMonotonic": "991160466", "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": "470", "ExecMainStartTimestamp": "Wed 2024-11-20 06:33:22 EST", "ExecMainStartTimestampMonotonic": "991161177", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 06:33:22 EST] ; stop_time=[n/a] ; pid=470 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-11-20 06:33:22 EST", "InactiveEnterTimestampMonotonic": "991159498", "InactiveExitTimestamp": "Wed 2024-11-20 06:33:22 EST", "InactiveExitTimestampMonotonic": "991161253", "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": "470", "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 basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:33:22 EST", "WatchdogTimestampMonotonic": "991161225", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 20 November 2024 06:33:27 -0500 (0:00:01.180) 0:05:12.938 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003564", "end": "2024-11-20 06:33:28.020899", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:33:28.017335" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 20 November 2024 06:33:28 -0500 (0:00:00.469) 0:05:13.407 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003628", "end": "2024-11-20 06:33:28.485992", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:33:28.482364" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 20 November 2024 06:33:28 -0500 (0:00:00.578) 0:05:13.985 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 20 November 2024 06:33:28 -0500 (0:00:00.146) 0:05:14.132 **** 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": 6363, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 20 November 2024 06:33:30 -0500 (0:00:01.630) 0:05:15.762 **** 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.024913", "end": "2024-11-20 06:33:30.871090", "rc": 0, "start": "2024-11-20 06:33:30.846177" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 20 November 2024 06:33:31 -0500 (0:00:00.510) 0:05:16.272 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 20 November 2024 06:33:31 -0500 (0:00:00.161) 0:05:16.434 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 20 November 2024 06:33:31 -0500 (0:00:00.161) 0:05:16.596 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 20 November 2024 06:33:31 -0500 (0:00:00.156) 0:05:16.752 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 20 November 2024 06:33:31 -0500 (0:00:00.124) 0:05:16.876 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 20 November 2024 06:33:31 -0500 (0:00:00.135) 0:05:17.012 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 20 November 2024 06:33:32 -0500 (0:00:00.241) 0:05:17.253 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 20 November 2024 06:33:32 -0500 (0:00:00.224) 0:05:17.477 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 20 November 2024 06:33:32 -0500 (0:00:00.140) 0:05:17.618 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:33:32 -0500 (0:00:00.409) 0:05:18.027 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004132", "end": "2024-11-20 06:33:33.394318", "rc": 0, "start": "2024-11-20 06:33:33.390186" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:33:33 -0500 (0:00:00.880) 0:05:18.908 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:33:33 -0500 (0:00:00.165) 0:05:19.074 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:33:33 -0500 (0:00:00.162) 0:05:19.237 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 20 November 2024 06:33:34 -0500 (0:00:00.123) 0:05:19.360 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:33:34 -0500 (0:00:00.229) 0:05:19.590 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004720", "end": "2024-11-20 06:33:34.875023", "rc": 0, "start": "2024-11-20 06:33:34.870303" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:33:35 -0500 (0:00:00.689) 0:05:20.279 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:33:35 -0500 (0:00:00.161) 0:05:20.441 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:33:35 -0500 (0:00:00.226) 0:05:20.667 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 20 November 2024 06:33:35 -0500 (0:00:00.126) 0:05:20.794 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:33:35 -0500 (0:00:00.261) 0:05:21.056 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004175", "end": "2024-11-20 06:33:36.131997", "rc": 0, "start": "2024-11-20 06:33:36.127822" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:33:36 -0500 (0:00:00.574) 0:05:21.630 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:33:36 -0500 (0:00:00.147) 0:05:21.778 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:33:36 -0500 (0:00:00.152) 0:05:21.930 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 20 November 2024 06:33:36 -0500 (0:00:00.138) 0:05:22.068 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 20 November 2024 06:33:37 -0500 (0:00:00.479) 0:05:22.548 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004152", "end": "2024-11-20 06:33:37.814041", "rc": 0, "start": "2024-11-20 06:33:37.809889" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 20 November 2024 06:33:38 -0500 (0:00:00.746) 0:05:23.295 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 20 November 2024 06:33:38 -0500 (0:00:00.263) 0:05:23.559 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 20 November 2024 06:33:38 -0500 (0:00:00.199) 0:05:23.758 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 20 November 2024 06:33:38 -0500 (0:00:00.138) 0:05:23.897 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Wednesday 20 November 2024 06:33:38 -0500 (0:00:00.138) 0:05:24.036 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 20 November 2024 06:33:41 -0500 (0:00:02.820) 0:05:26.856 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 20 November 2024 06:33:41 -0500 (0:00:00.158) 0:05:27.015 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 20 November 2024 06:33:41 -0500 (0:00:00.123) 0:05:27.138 **** 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-qgV/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-qgV/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 : Temporary debug] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:6 Wednesday 20 November 2024 06:33:42 -0500 (0:00:00.254) 0:05:27.393 **** ok: [managed-node1] => (item=mssql_tools_versions) => { "ansible_loop_var": "item", "item": "mssql_tools_versions", "mssql_tools_versions": [ 18 ] } ok: [managed-node1] => (item=__sqlcmd_ver) => { "__sqlcmd_ver": "18", "ansible_loop_var": "item", "item": "__sqlcmd_ver" } ok: [managed-node1] => (item=__sqlcmd_cli) => { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -C -No", "ansible_loop_var": "item", "item": "__sqlcmd_cli" } ok: [managed-node1] => (item=__mssql_client_packages) => { "__mssql_client_packages": [ "mssql-tools18", "unixODBC-devel" ], "ansible_loop_var": "item", "item": "__mssql_client_packages" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:16 Wednesday 20 November 2024 06:33:42 -0500 (0:00:00.248) 0:05:27.641 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 20 November 2024 06:33:42 -0500 (0:00:00.193) 0:05:27.835 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:31 Wednesday 20 November 2024 06:33:42 -0500 (0:00:00.152) 0:05:27.988 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:38 Wednesday 20 November 2024 06:33:42 -0500 (0:00:00.198) 0:05:28.186 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:45 Wednesday 20 November 2024 06:33:43 -0500 (0:00:00.115) 0:05:28.301 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:52 Wednesday 20 November 2024 06:33:43 -0500 (0:00:00.115) 0:05:28.417 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:59 Wednesday 20 November 2024 06:33:43 -0500 (0:00:00.137) 0:05:28.554 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:66 Wednesday 20 November 2024 06:33:43 -0500 (0:00:00.137) 0:05:28.691 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:73 Wednesday 20 November 2024 06:33:43 -0500 (0:00:00.131) 0:05:28.823 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:77 Wednesday 20 November 2024 06:33:43 -0500 (0:00:00.402) 0:05:29.225 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:84 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.123) 0:05:29.349 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.166) 0:05:29.515 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:104 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.116) 0:05:29.632 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:113 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.125) 0:05:29.758 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:122 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.124) 0:05:29.882 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.099) 0:05:29.981 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.097) 0:05:30.079 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wednesday 20 November 2024 06:33:44 -0500 (0:00:00.079) 0:05:30.159 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 20 November 2024 06:33:46 -0500 (0:00:01.366) 0:05:31.525 **** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:164 Wednesday 20 November 2024 06:33:46 -0500 (0:00:00.233) 0:05:31.758 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:171 Wednesday 20 November 2024 06:33:46 -0500 (0:00:00.197) 0:05:31.956 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:178 Wednesday 20 November 2024 06:33:46 -0500 (0:00:00.250) 0:05:32.206 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:192 Wednesday 20 November 2024 06:33:47 -0500 (0:00:00.381) 0:05:32.588 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:206 Wednesday 20 November 2024 06:33:48 -0500 (0:00:00.965) 0:05:33.554 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Wednesday 20 November 2024 06:33:48 -0500 (0:00:00.218) 0:05:33.772 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:227 Wednesday 20 November 2024 06:33:48 -0500 (0:00:00.124) 0:05:33.896 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:241 Wednesday 20 November 2024 06:33:48 -0500 (0:00:00.109) 0:05:34.006 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:250 Wednesday 20 November 2024 06:33:48 -0500 (0:00:00.083) 0:05:34.089 **** 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 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:262 Wednesday 20 November 2024 06:33:48 -0500 (0:00:00.084) 0:05:34.173 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:269 Wednesday 20 November 2024 06:33:49 -0500 (0:00:00.131) 0:05:34.305 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:281 Wednesday 20 November 2024 06:33:49 -0500 (0:00:00.138) 0:05:34.443 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:294 Wednesday 20 November 2024 06:33:49 -0500 (0:00:00.102) 0:05:34.545 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Wednesday 20 November 2024 06:33:49 -0500 (0:00:00.638) 0:05:35.184 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Wednesday 20 November 2024 06:33:50 -0500 (0:00:00.599) 0:05:35.784 **** 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.005101", "end": "2024-11-20 06:33:50.797068", "rc": 0, "start": "2024-11-20 06:33:50.791967" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Wednesday 20 November 2024 06:33:50 -0500 (0:00:00.402) 0:05:36.187 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:324 Wednesday 20 November 2024 06:33:52 -0500 (0:00:01.472) 0:05:37.660 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:333 Wednesday 20 November 2024 06:33:52 -0500 (0:00:00.497) 0:05:38.157 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 Wednesday 20 November 2024 06:33:53 -0500 (0:00:00.131) 0:05:38.289 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:374 Wednesday 20 November 2024 06:33:53 -0500 (0:00:00.088) 0:05:38.377 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:389 Wednesday 20 November 2024 06:33:53 -0500 (0:00:00.092) 0:05:38.470 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:403 Wednesday 20 November 2024 06:33:53 -0500 (0:00:00.106) 0:05:38.576 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:414 Wednesday 20 November 2024 06:33:53 -0500 (0:00:00.126) 0:05:38.702 **** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:420 Wednesday 20 November 2024 06:33:54 -0500 (0:00:00.611) 0:05:39.314 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:17:06 EST", "ActiveEnterTimestampMonotonic": "14989300", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice systemd-journald.socket network.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:17:05 EST", "AssertTimestampMonotonic": "13893881", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:17:05 EST", "ConditionTimestampMonotonic": "13893880", "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": "850", "ExecMainStartTimestamp": "Wed 2024-11-20 06:17:05 EST", "ExecMainStartTimestampMonotonic": "13895404", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-11-20 06:17:05 EST", "InactiveExitTimestampMonotonic": "13895442", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service 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": "Wed 2024-11-20 06:17:06 EST", "WatchdogTimestampMonotonic": "14989036", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:427 Wednesday 20 November 2024 06:33:54 -0500 (0:00:00.667) 0:05:39.981 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085272", "end": "2024-11-20 06:33:55.133439", "rc": 0, "start": "2024-11-20 06:33:55.048167" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:440 Wednesday 20 November 2024 06:33:55 -0500 (0:00:00.496) 0:05:40.478 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:453 Wednesday 20 November 2024 06:33:55 -0500 (0:00:00.081) 0:05:40.559 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:462 Wednesday 20 November 2024 06:33:55 -0500 (0:00:00.082) 0:05:40.642 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Wednesday 20 November 2024 06:33:55 -0500 (0:00:00.097) 0:05:40.739 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:480 Wednesday 20 November 2024 06:33:55 -0500 (0:00:00.427) 0:05:41.167 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 Wednesday 20 November 2024 06:33:56 -0500 (0:00:00.104) 0:05:41.271 **** 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:506 Wednesday 20 November 2024 06:33:56 -0500 (0:00:00.609) 0:05:41.881 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:520 Wednesday 20 November 2024 06:33:56 -0500 (0:00:00.079) 0:05:41.960 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Wednesday 20 November 2024 06:33:56 -0500 (0:00:00.238) 0:05:42.199 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:543 Wednesday 20 November 2024 06:33:57 -0500 (0:00:00.107) 0:05:42.307 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:33:57 -0500 (0:00:00.210) 0:05:42.517 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003604", "end": "2024-11-20 06:33:57.572248", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:57.568644" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:33:57 -0500 (0:00:00.465) 0:05:42.983 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:33:57 -0500 (0:00:00.206) 0:05:43.189 **** 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.046752", "end": "2024-11-20 06:33:58.435824", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:58.389072" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:552 Wednesday 20 November 2024 06:33:58 -0500 (0:00:00.759) 0:05:43.948 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:33:58 -0500 (0:00:00.255) 0:05:44.204 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003238", "end": "2024-11-20 06:33:59.359158", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:59.355920" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:33:59 -0500 (0:00:00.520) 0:05:44.725 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:33:59 -0500 (0:00:00.090) 0:05:44.815 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.046157", "end": "2024-11-20 06:33:59.976190", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:33:59.930033" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:561 Wednesday 20 November 2024 06:34:00 -0500 (0:00:00.663) 0:05:45.479 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:34:00 -0500 (0:00:00.429) 0:05:45.908 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003556", "end": "2024-11-20 06:34:01.114832", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:34:01.111276" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:34:01 -0500 (0:00:00.608) 0:05:46.517 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:34:01 -0500 (0:00:00.208) 0:05:46.726 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.045345", "end": "2024-11-20 06:34:02.042038", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:34:01.996693" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:568 Wednesday 20 November 2024 06:34:02 -0500 (0:00:01.019) 0:05:47.745 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:34:02 -0500 (0:00:00.225) 0:05:47.971 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003666", "end": "2024-11-20 06:34:03.020075", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:34:03.016409" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:34:03 -0500 (0:00:00.401) 0:05:48.372 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:34:03 -0500 (0:00:00.173) 0:05:48.545 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.045715", "end": "2024-11-20 06:34:03.845597", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:34:03.799882" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:577 Wednesday 20 November 2024 06:34:04 -0500 (0:00:00.819) 0:05:49.365 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005224", "end": "2024-11-20 06:34:04.589199", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:34:04.583975" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:586 Wednesday 20 November 2024 06:34:04 -0500 (0:00:00.608) 0:05:49.973 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:593 Wednesday 20 November 2024 06:34:04 -0500 (0:00:00.126) 0:05:50.100 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:606 Wednesday 20 November 2024 06:34:04 -0500 (0:00:00.103) 0:05:50.204 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.114) 0:05:50.318 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.082) 0:05:50.401 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:631 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.090) 0:05:50.492 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.120) 0:05:50.612 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:646 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.126) 0:05:50.739 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:667 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.117) 0:05:50.857 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.122) 0:05:50.979 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:685 Wednesday 20 November 2024 06:34:05 -0500 (0:00:00.128) 0:05:51.107 **** 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.004728", "end": "2024-11-20 06:34:06.409418", "rc": 0, "start": "2024-11-20 06:34:06.404690" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:699 Wednesday 20 November 2024 06:34:06 -0500 (0:00:00.697) 0:05:51.805 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706 Wednesday 20 November 2024 06:34:06 -0500 (0:00:00.137) 0:05:51.942 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:712 Wednesday 20 November 2024 06:34:08 -0500 (0:00:01.597) 0:05:53.539 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 20 November 2024 06:34:08 -0500 (0:00:00.137) 0:05:53.677 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:738 Wednesday 20 November 2024 06:34:08 -0500 (0:00:00.126) 0:05:53.803 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:745 Wednesday 20 November 2024 06:34:08 -0500 (0:00:00.104) 0:05:53.908 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Wednesday 20 November 2024 06:34:08 -0500 (0:00:00.125) 0:05:54.034 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 20 November 2024 06:34:08 -0500 (0:00:00.206) 0:05:54.240 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003172", "end": "2024-11-20 06:34:09.280309", "failed_when_result": false, "rc": 1, "start": "2024-11-20 06:34:09.277137" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 20 November 2024 06:34:09 -0500 (0:00:00.392) 0:05:54.632 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046283", "end": "2024-11-20 06:34:09.858750", "failed_when_result": false, "rc": 0, "start": "2024-11-20 06:34:09.812467" } 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 20 November 2024 06:34:10 -0500 (0:00:00.662) 0:05:55.294 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 20 November 2024 06:34:10 -0500 (0:00:00.132) 0:05:55.427 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:783 Wednesday 20 November 2024 06:34:10 -0500 (0:00:00.123) 0:05:55.550 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:790 Wednesday 20 November 2024 06:34:10 -0500 (0:00:00.505) 0:05:56.056 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Wednesday 20 November 2024 06:34:10 -0500 (0:00:00.140) 0:05:56.196 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:806 Wednesday 20 November 2024 06:34:11 -0500 (0:00:00.123) 0:05:56.320 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:812 Wednesday 20 November 2024 06:34:11 -0500 (0:00:00.120) 0:05:56.440 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Wednesday 20 November 2024 06:34:11 -0500 (0:00:00.188) 0:05:56.629 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:827 Wednesday 20 November 2024 06:34:11 -0500 (0:00:00.188) 0:05:56.817 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:833 Wednesday 20 November 2024 06:34:11 -0500 (0:00:00.147) 0:05:56.965 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 20 November 2024 06:34:11 -0500 (0:00:00.154) 0:05:57.120 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Wednesday 20 November 2024 06:34:11 -0500 (0:00:00.120) 0:05:57.240 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.136) 0:05:57.377 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:866 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.131) 0:05:57.509 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:873 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.131) 0:05:57.640 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:882 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.157) 0:05:57.797 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.096) 0:05:57.893 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:904 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.080) 0:05:57.974 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.112) 0:05:58.086 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Wednesday 20 November 2024 06:34:12 -0500 (0:00:00.131) 0:05:58.218 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:933 Wednesday 20 November 2024 06:34:13 -0500 (0:00:00.141) 0:05:58.360 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Wednesday 20 November 2024 06:34:13 -0500 (0:00:00.116) 0:05:58.477 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:955 Wednesday 20 November 2024 06:34:13 -0500 (0:00:00.403) 0:05:58.881 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Wednesday 20 November 2024 06:34:13 -0500 (0:00:00.134) 0:05:59.015 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:966 Wednesday 20 November 2024 06:34:13 -0500 (0:00:00.184) 0:05:59.200 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:992 Wednesday 20 November 2024 06:34:14 -0500 (0:00:00.167) 0:05:59.367 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Wednesday 20 November 2024 06:34:14 -0500 (0:00:00.126) 0:05:59.494 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1021 Wednesday 20 November 2024 06:34:14 -0500 (0:00:00.103) 0:05:59.597 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Wednesday 20 November 2024 06:34:14 -0500 (0:00:00.094) 0:05:59.692 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1037 Wednesday 20 November 2024 06:34:14 -0500 (0:00:00.153) 0:05:59.846 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1055 Wednesday 20 November 2024 06:34:14 -0500 (0:00:00.147) 0:05:59.994 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1066 Wednesday 20 November 2024 06:34:14 -0500 (0:00:00.124) 0:06:00.118 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1086 Wednesday 20 November 2024 06:34:15 -0500 (0:00:00.177) 0:06:00.296 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1139 Wednesday 20 November 2024 06:34:15 -0500 (0:00:00.163) 0:06:00.459 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 20 November 2024 06:34:15 -0500 (0:00:00.140) 0:06:00.600 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1153 Wednesday 20 November 2024 06:34:15 -0500 (0:00:00.122) 0:06:00.722 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 20 November 2024 06:34:15 -0500 (0:00:00.182) 0:06:00.905 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Wednesday 20 November 2024 06:34:15 -0500 (0:00:00.224) 0:06:01.129 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1177 Wednesday 20 November 2024 06:34:16 -0500 (0:00:00.221) 0:06:01.351 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Wednesday 20 November 2024 06:34:16 -0500 (0:00:00.129) 0:06:01.481 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1194 Wednesday 20 November 2024 06:34:16 -0500 (0:00:00.109) 0:06:01.590 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1208 Wednesday 20 November 2024 06:34:16 -0500 (0:00:00.336) 0:06:01.927 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Wednesday 20 November 2024 06:34:16 -0500 (0:00:00.099) 0:06:02.026 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1236 Wednesday 20 November 2024 06:34:16 -0500 (0:00:00.150) 0:06:02.177 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Wednesday 20 November 2024 06:34:17 -0500 (0:00:00.150) 0:06:02.327 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Wednesday 20 November 2024 06:34:17 -0500 (0:00:00.135) 0:06:02.463 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1264 Wednesday 20 November 2024 06:34:17 -0500 (0:00:00.244) 0:06:02.708 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1275 Wednesday 20 November 2024 06:34:17 -0500 (0:00:00.157) 0:06:02.866 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 20 November 2024 06:34:17 -0500 (0:00:00.161) 0:06:03.027 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Wednesday 20 November 2024 06:34:17 -0500 (0:00:00.128) 0:06:03.155 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1304 Wednesday 20 November 2024 06:34:18 -0500 (0:00:00.128) 0:06:03.284 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Wednesday 20 November 2024 06:34:18 -0500 (0:00:00.138) 0:06:03.423 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Wednesday 20 November 2024 06:34:18 -0500 (0:00:00.179) 0:06:03.602 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1326 Wednesday 20 November 2024 06:34:18 -0500 (0:00:00.230) 0:06:03.833 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Wednesday 20 November 2024 06:34:18 -0500 (0:00:00.268) 0:06:04.101 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1347 Wednesday 20 November 2024 06:34:19 -0500 (0:00:00.210) 0:06:04.312 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1354 Wednesday 20 November 2024 06:34:19 -0500 (0:00:00.190) 0:06:04.502 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Wednesday 20 November 2024 06:34:19 -0500 (0:00:00.120) 0:06:04.623 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1368 Wednesday 20 November 2024 06:34:19 -0500 (0:00:00.128) 0:06:04.752 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1381 Wednesday 20 November 2024 06:34:19 -0500 (0:00:00.146) 0:06:04.898 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Wednesday 20 November 2024 06:34:20 -0500 (0:00:00.347) 0:06:05.246 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Wednesday 20 November 2024 06:34:20 -0500 (0:00:00.127) 0:06:05.374 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1406 Wednesday 20 November 2024 06:34:20 -0500 (0:00:00.275) 0:06:05.649 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1415 Wednesday 20 November 2024 06:34:20 -0500 (0:00:00.187) 0:06:05.836 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 20 November 2024 06:34:21 -0500 (0:00:00.851) 0:06:06.688 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:33:22 EST", "ActiveEnterTimestampMonotonic": "991161253", "ActiveExitTimestamp": "Wed 2024-11-20 06:33:22 EST", "ActiveExitTimestampMonotonic": "990931515", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket auditd.service network.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:33:22 EST", "AssertTimestampMonotonic": "991160467", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-20 06:33:22 EST", "ConditionTimestampMonotonic": "991160466", "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": "470", "ExecMainStartTimestamp": "Wed 2024-11-20 06:33:22 EST", "ExecMainStartTimestampMonotonic": "991161177", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-20 06:33:22 EST] ; stop_time=[n/a] ; pid=470 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-11-20 06:33:22 EST", "InactiveEnterTimestampMonotonic": "991159498", "InactiveExitTimestamp": "Wed 2024-11-20 06:33:22 EST", "InactiveExitTimestampMonotonic": "991161253", "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": "470", "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 basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-20 06:33:22 EST", "WatchdogTimestampMonotonic": "991161225", "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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1428 Wednesday 20 November 2024 06:34:22 -0500 (0:00:01.347) 0:06:08.035 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1435 Wednesday 20 November 2024 06:34:22 -0500 (0:00:00.173) 0:06:08.209 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:27 Wednesday 20 November 2024 06:34:23 -0500 (0:00:00.222) 0:06:08.431 **** included: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Wednesday 20 November 2024 06:34:23 -0500 (0:00:00.233) 0:06:08.664 **** 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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Wednesday 20 November 2024 06:34:25 -0500 (0:00:02.134) 0:06:10.799 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Wednesday 20 November 2024 06:34:25 -0500 (0:00:00.175) 0:06:10.974 **** ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Wednesday 20 November 2024 06:34:25 -0500 (0:00:00.181) 0:06:11.155 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 20 November 2024 06:34:26 -0500 (0:00:00.598) 0:06:11.754 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 20 November 2024 06:34:26 -0500 (0:00:00.267) 0:06:12.021 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 20 November 2024 06:34:27 -0500 (0:00:00.273) 0:06:12.295 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 20 November 2024 06:34:27 -0500 (0:00:00.445) 0:06:12.741 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Wednesday 20 November 2024 06:34:27 -0500 (0:00:00.085) 0:06:12.826 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Wednesday 20 November 2024 06:34:28 -0500 (0:00:00.473) 0:06:13.299 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Wednesday 20 November 2024 06:34:28 -0500 (0:00:00.165) 0:06:13.465 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Wednesday 20 November 2024 06:34:28 -0500 (0:00:00.695) 0:06:14.161 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Wednesday 20 November 2024 06:34:29 -0500 (0:00:00.086) 0:06:14.247 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Wednesday 20 November 2024 06:34:29 -0500 (0:00:00.080) 0:06:14.327 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 20 November 2024 06:34:29 -0500 (0:00:00.102) 0:06:14.430 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 20 November 2024 06:34:29 -0500 (0:00:00.134) 0:06:14.564 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 20 November 2024 06:34:29 -0500 (0:00:00.180) 0:06:14.744 **** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:22:36 EST", "ActiveEnterTimestampMonotonic": "345068355", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:22:36 EST", "AssertTimestampMonotonic": "344822803", "Before": "multi-user.target network-pre.target shutdown.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": "Wed 2024-11-20 06:22:36 EST", "ConditionTimestampMonotonic": "344822802", "Conflicts": "iptables.service ipset.service ip6tables.service ebtables.service shutdown.target", "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": "9677", "ExecMainStartTimestamp": "Wed 2024-11-20 06:22:36 EST", "ExecMainStartTimestampMonotonic": "344824065", "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": "Wed 2024-11-20 06:22:36 EST", "InactiveExitTimestampMonotonic": "344824098", "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": "9677", "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": "Wed 2024-11-20 06:22:36 EST", "WatchdogTimestampMonotonic": "345068300", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 20 November 2024 06:34:30 -0500 (0:00:00.834) 0:06:15.579 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-20 06:22:36 EST", "ActiveEnterTimestampMonotonic": "345068355", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-20 06:22:36 EST", "AssertTimestampMonotonic": "344822803", "Before": "multi-user.target network-pre.target shutdown.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": "Wed 2024-11-20 06:22:36 EST", "ConditionTimestampMonotonic": "344822802", "Conflicts": "iptables.service ipset.service ip6tables.service ebtables.service shutdown.target", "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": "9677", "ExecMainStartTimestamp": "Wed 2024-11-20 06:22:36 EST", "ExecMainStartTimestampMonotonic": "344824065", "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": "Wed 2024-11-20 06:22:36 EST", "InactiveExitTimestampMonotonic": "344824098", "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": "9677", "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": "Wed 2024-11-20 06:22:36 EST", "WatchdogTimestampMonotonic": "345068300", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 20 November 2024 06:34:30 -0500 (0:00:00.592) 0:06:16.171 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 20 November 2024 06:34:31 -0500 (0:00:00.134) 0:06:16.306 **** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.11.187 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 20 November 2024 06:34:31 -0500 (0:00:00.474) 0:06:16.780 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 20 November 2024 06:34:31 -0500 (0:00:00.139) 0:06:16.919 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 20 November 2024 06:34:31 -0500 (0:00:00.119) 0:06:17.039 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 20 November 2024 06:34:31 -0500 (0:00:00.198) 0:06:17.237 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 20 November 2024 06:34:32 -0500 (0:00:00.162) 0:06:17.400 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 20 November 2024 06:34:32 -0500 (0:00:00.259) 0:06:17.659 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 20 November 2024 06:34:32 -0500 (0:00:00.223) 0:06:17.882 **** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.11.187 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 20 November 2024 06:34:33 -0500 (0:00:00.762) 0:06:18.645 **** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 20 November 2024 06:34:33 -0500 (0:00:00.148) 0:06:18.794 **** skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Wednesday 20 November 2024 06:34:33 -0500 (0:00:00.128) 0:06:18.922 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 20 November 2024 06:34:33 -0500 (0:00:00.272) 0:06:19.195 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 20 November 2024 06:34:34 -0500 (0:00:00.460) 0:06:19.655 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 20 November 2024 06:34:34 -0500 (0:00:00.330) 0:06:19.986 **** included: /tmp/collections-qgV/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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 20 November 2024 06:34:35 -0500 (0:00:00.453) 0:06:20.439 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 20 November 2024 06:34:35 -0500 (0:00:00.791) 0:06:21.231 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Wednesday 20 November 2024 06:34:36 -0500 (0:00:00.225) 0:06:21.457 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Wednesday 20 November 2024 06:34:36 -0500 (0:00:00.614) 0:06:22.072 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Wednesday 20 November 2024 06:34:36 -0500 (0:00:00.088) 0:06:22.160 **** 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" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Wednesday 20 November 2024 06:34:37 -0500 (0:00:00.664) 0:06:22.825 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Wednesday 20 November 2024 06:34:37 -0500 (0:00:00.140) 0:06:22.965 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Wednesday 20 November 2024 06:34:37 -0500 (0:00:00.140) 0:06:23.106 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Wednesday 20 November 2024 06:34:38 -0500 (0:00:00.168) 0:06:23.274 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Wednesday 20 November 2024 06:34:38 -0500 (0:00:00.129) 0:06:23.403 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Wednesday 20 November 2024 06:34:38 -0500 (0:00:00.193) 0:06:23.597 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Wednesday 20 November 2024 06:34:38 -0500 (0:00:00.225) 0:06:23.823 **** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 20 November 2024 06:34:39 -0500 (0:00:00.853) 0:06:24.676 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 20 November 2024 06:34:39 -0500 (0:00:00.138) 0:06:24.814 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 20 November 2024 06:34:39 -0500 (0:00:00.145) 0:06:24.960 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 20 November 2024 06:34:39 -0500 (0:00:00.133) 0:06:25.094 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 20 November 2024 06:34:39 -0500 (0:00:00.118) 0:06:25.212 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 20 November 2024 06:34:40 -0500 (0:00:00.143) 0:06:25.356 **** 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.354898", "end": "2024-11-20 06:34:40.919848", "rc": 0, "start": "2024-11-20 06:34:40.564950" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 20 November 2024 06:34:41 -0500 (0:00:00.987) 0:06:26.343 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 20 November 2024 06:34:41 -0500 (0:00:00.121) 0:06:26.464 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 20 November 2024 06:34:41 -0500 (0:00:00.121) 0:06:26.585 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 20 November 2024 06:34:41 -0500 (0:00:00.135) 0:06:26.721 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 20 November 2024 06:34:41 -0500 (0:00:00.145) 0:06:26.866 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 20 November 2024 06:34:41 -0500 (0:00:00.143) 0:06:27.009 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 20 November 2024 06:34:41 -0500 (0:00:00.190) 0:06:27.199 **** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 20 November 2024 06:34:42 -0500 (0:00:00.158) 0:06:27.358 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 20 November 2024 06:34:42 -0500 (0:00:00.127) 0:06:27.486 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 20 November 2024 06:34:45 -0500 (0:00:03.192) 0:06:30.678 **** 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-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 20 November 2024 06:34:45 -0500 (0:00:00.163) 0:06:30.841 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 20 November 2024 06:34:45 -0500 (0:00:00.157) 0:06:30.998 **** TASK [Leave realm] ************************************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Wednesday 20 November 2024 06:34:45 -0500 (0:00:00.154) 0:06:31.153 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Wednesday 20 November 2024 06:34:46 -0500 (0:00:00.166) 0:06:31.319 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Wednesday 20 November 2024 06:34:46 -0500 (0:00:00.140) 0:06:31.459 **** 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:14.0.3465.1-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 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 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\nFound and removing 9 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 msodbcsql18.x86_64 0:18.4.1.1-1 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 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 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 msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : mssql-tools18-18.4.1.1-1.x86_64 2/12 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/12 \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/12 \n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 10/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-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 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Wednesday 20 November 2024 06:34:49 -0500 (0:00:03.424) 0:06:34.884 **** [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.007242", "end": "2024-11-20 06:34:49.917285", "rc": 0, "start": "2024-11-20 06:34:49.910043" } 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/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ 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/6a16a4e5-69bf-4c87-abf1-13c59a0a07ce’ 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 ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2892850438-1587154368-1286069440-500/42e7704ae40b0d75de00736cc66b813a_a9fda6da-0891-481d-9529-3a8ed299fcb4’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2892850438-1587154368-1286069440-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ 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 ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2892850438-1587154368-1286069440-500/4a9dda5e-8e15-460e-9790-9cfba11d4178’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2892850438-1587154368-1286069440-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2892850438-1587154368-1286069440-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ 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_133765758311510000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133765760053880000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765757800000000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/system_health_0_133765758314710000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765760652330000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765759328380000.xel’ 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/HkEngineEventFile_0_133765760050700000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765757505270000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765757551200000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765757546400000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765758870850000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765758866670000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765759331850000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/system_health_0_133765760655800000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133765757796660000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133765757511150000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/log_7.trc’ 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-2017.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-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Wednesday 20 November 2024 06:34:50 -0500 (0:00:00.480) 0:06:35.364 **** ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.353928", "end": "2024-11-20 06:34:50.792568", "rc": 0, "start": "2024-11-20 06:34:50.438640" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wednesday 20 November 2024 06:34:50 -0500 (0:00:00.741) 0:06:36.106 **** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.838820", "end": "2024-11-20 06:34:53.084518", "rc": 0, "start": "2024-11-20 06:34:51.245698" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=402 changed=62 unreachable=0 failed=0 skipped=890 rescued=0 ignored=0 Wednesday 20 November 2024 06:34:53 -0500 (0:00:02.287) 0:06:38.394 **** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 39.72s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.09s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:349 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.87s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.59s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:489 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.47s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Remove related packages ------------------------------------------------- 3.42s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.19s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Disable TLS encryption -------------------------------------------------- 2.82s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Test with certs created by the certificate role ------------------------- 2.45s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.29s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Gather package facts ---------------------------------------------------- 2.13s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Copy certificates to hosts ---------------------------------------------- 1.73s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.69s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.69s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 fedora.linux_system_roles.mssql : Get the setting network tlsprotocols --- 1.68s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wait for mssql-server to prepare for client connections ----------------- 1.67s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.64s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:152 Wait for mssql-server to prepare for client connections ----------------- 1.63s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Get the setting network tlscert ------- 1.60s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.60s /tmp/collections-qgV/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:706