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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:5 Friday 13 December 2024 20:25:10 -0500 (0:00:00.025) 0:00:00.026 ******* 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-UqL/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:9 Friday 13 December 2024 20:25:10 -0500 (0:00:00.023) 0:00:00.049 ******* ok: [managed-node1] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:24 Friday 13 December 2024 20:25:11 -0500 (0:00:01.097) 0:00:01.147 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 13 December 2024 20:25:11 -0500 (0:00:00.114) 0:00:01.262 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 13 December 2024 20:25:11 -0500 (0:00:00.045) 0:00:01.308 ******* ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 13 December 2024 20:25:12 -0500 (0:00:00.396) 0:00:01.705 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 13 December 2024 20:25:12 -0500 (0:00:00.039) 0:00:01.744 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 13 December 2024 20:25:12 -0500 (0:00:00.039) 0:00:01.784 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } lsrpackages: openssl TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 13 December 2024 20:25:13 -0500 (0:00:00.857) 0:00:02.641 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.o_21zD", "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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 13 December 2024 20:25:13 -0500 (0:00:00.446) 0:00:03.088 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.IadxfB", "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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 13 December 2024 20:25:13 -0500 (0:00:00.288) 0:00:03.376 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.45.55", "-out", "/tmp/ansible.o_21zD", "-keyout", "/tmp/ansible.IadxfB", "-days", "365" ], "delta": "0:00:00.037721", "end": "2024-12-13 20:25:14.186288", "rc": 0, "start": "2024-12-13 20:25:14.148567" } STDERR: Generating a 2048 bit RSA private key .....................+++ ...+++ writing new private key to '/tmp/ansible.IadxfB' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 13 December 2024 20:25:14 -0500 (0:00:00.421) 0:00:03.798 ******* changed: [managed-node1] => (item=/tmp/ansible.o_21zD) => { "ansible_loop_var": "item", "changed": true, "checksum": "e3d7f5c84aba75738a563d95a11b19107e37d0b7", "dest": "/tmp/ansible.o_21zD", "item": "/tmp/ansible.o_21zD", "md5sum": "c0ef565650883357278864fb48895980", "remote_checksum": "e3d7f5c84aba75738a563d95a11b19107e37d0b7", "remote_md5sum": null } changed: [managed-node1] => (item=/tmp/ansible.IadxfB) => { "ansible_loop_var": "item", "changed": true, "checksum": "090405605554aeb32b888c820cffe5dcb3968d95", "dest": "/tmp/ansible.IadxfB", "item": "/tmp/ansible.IadxfB", "md5sum": "f844e6e24734fdb5aa3814213f6b8aec", "remote_checksum": "090405605554aeb32b888c820cffe5dcb3968d95", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 13 December 2024 20:25:15 -0500 (0:00:00.827) 0:00:04.625 ******* changed: [managed-node1 -> localhost] => { "changed": true, "checksum": "090405605554aeb32b888c820cffe5dcb3968d95", "dest": "./ansible.IadxfB", "gid": 0, "group": "root", "md5sum": "f844e6e24734fdb5aa3814213f6b8aec", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1734139515.1-23217-16841629647548/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 13 December 2024 20:25:15 -0500 (0:00:00.557) 0:00:05.183 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.o_21zD", "mssql_tls_private_key": "ansible.IadxfB" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 13 December 2024 20:25:15 -0500 (0:00:00.035) 0:00:05.219 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 13 December 2024 20:25:16 -0500 (0:00:00.468) 0:00:05.688 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 13 December 2024 20:25:16 -0500 (0:00:00.045) 0:00:05.733 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 13 December 2024 20:25:16 -0500 (0:00:00.039) 0:00:05.773 ******* 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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 13 December 2024 20:25:16 -0500 (0:00:00.085) 0:00:05.858 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 13 December 2024 20:25:16 -0500 (0:00:00.033) 0:00:05.891 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 13 December 2024 20:25:16 -0500 (0:00:00.042) 0:00:05.934 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 13 December 2024 20:25:16 -0500 (0:00:00.032) 0:00:05.967 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 13 December 2024 20:25:16 -0500 (0:00:00.030) 0:00:05.997 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 13 December 2024 20:25:16 -0500 (0:00:00.027) 0:00:06.025 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 13 December 2024 20:25:16 -0500 (0:00:00.036) 0:00:06.062 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 13 December 2024 20:25:16 -0500 (0:00:00.030) 0:00:06.092 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 13 December 2024 20:25:16 -0500 (0:00:00.030) 0:00:06.123 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 13 December 2024 20:25:16 -0500 (0:00:00.030) 0:00:06.153 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 13 December 2024 20:25:16 -0500 (0:00:00.022) 0:00:06.176 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 13 December 2024 20:25:16 -0500 (0:00:00.024) 0:00:06.200 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 13 December 2024 20:25:16 -0500 (0:00:00.024) 0:00:06.225 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 13 December 2024 20:25:16 -0500 (0:00:00.040) 0:00:06.265 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 13 December 2024 20:25:16 -0500 (0:00:00.030) 0:00:06.295 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 13 December 2024 20:25:16 -0500 (0:00:00.038) 0:00:06.334 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 13 December 2024 20:25:16 -0500 (0:00:00.032) 0:00:06.366 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 13 December 2024 20:25:16 -0500 (0:00:00.037) 0:00:06.403 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 13 December 2024 20:25:16 -0500 (0:00:00.034) 0:00:06.438 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 13 December 2024 20:25:16 -0500 (0:00:00.035) 0:00:06.474 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 13 December 2024 20:25:18 -0500 (0:00:01.581) 0:00:08.055 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 13 December 2024 20:25:18 -0500 (0:00:00.167) 0:00:08.222 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 13 December 2024 20:25:18 -0500 (0:00:00.085) 0:00:08.309 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 13 December 2024 20:25:18 -0500 (0:00:00.087) 0:00:08.396 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 13 December 2024 20:25:18 -0500 (0:00:00.110) 0:00:08.507 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 13 December 2024 20:25:19 -0500 (0:00:00.752) 0:00:09.259 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 13 December 2024 20:25:19 -0500 (0:00:00.082) 0:00:09.341 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 13 December 2024 20:25:19 -0500 (0:00:00.075) 0:00:09.417 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 13 December 2024 20:25:19 -0500 (0:00:00.072) 0:00:09.489 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 13 December 2024 20:25:19 -0500 (0:00:00.061) 0:00:09.550 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 13 December 2024 20:25:20 -0500 (0:00:00.063) 0:00:09.613 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 13 December 2024 20:25:20 -0500 (0:00:00.065) 0:00:09.679 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 13 December 2024 20:25:20 -0500 (0:00:00.529) 0:00:10.208 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 13 December 2024 20:25:20 -0500 (0:00:00.146) 0:00:10.354 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 13 December 2024 20:25:21 -0500 (0:00:00.661) 0:00:11.016 ******* 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 53 MB/s | 203 MB 00:03 \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" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 13 December 2024 20:25:59 -0500 (0:00:38.267) 0:00:49.284 ******* 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.005791", "end": "2024-12-13 20:26:00.030415", "rc": 0, "start": "2024-12-13 20:26:00.024624" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 13 December 2024 20:26:00 -0500 (0:00:00.430) 0:00:49.714 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 13 December 2024 20:26:01 -0500 (0:00:01.201) 0:00:50.916 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 13 December 2024 20:26:01 -0500 (0:00:00.137) 0:00:51.053 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 13 December 2024 20:26:01 -0500 (0:00:00.175) 0:00:51.229 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 13 December 2024 20:26:06 -0500 (0:00:04.756) 0:00:55.986 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 13 December 2024 20:26:06 -0500 (0:00:00.127) 0:00:56.113 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 13 December 2024 20:26:06 -0500 (0:00:00.103) 0:00:56.217 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 13 December 2024 20:26:06 -0500 (0:00:00.104) 0:00:56.322 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 13 December 2024 20:26:07 -0500 (0:00:00.849) 0:00:57.171 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:14:15 EST", "ActiveEnterTimestampMonotonic": "10768090", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice dbus.service network.target systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:14:14 EST", "AssertTimestampMonotonic": "10053308", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:14:14 EST", "ConditionTimestampMonotonic": "10053306", "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": "851", "ExecMainStartTimestamp": "Fri 2024-12-13 20:14:14 EST", "ExecMainStartTimestampMonotonic": "10053854", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:14:14 EST", "InactiveExitTimestampMonotonic": "10053890", "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": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice 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": "Fri 2024-12-13 20:14:15 EST", "WatchdogTimestampMonotonic": "10767357", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 13 December 2024 20:26:08 -0500 (0:00:01.079) 0:00:58.251 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.247697", "end": "2024-12-13 20:26:09.410377", "rc": 0, "start": "2024-12-13 20:26:09.162680" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 13 December 2024 20:26:09 -0500 (0:00:00.916) 0:00:59.168 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 13 December 2024 20:26:09 -0500 (0:00:00.171) 0:00:59.340 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 13 December 2024 20:26:09 -0500 (0:00:00.107) 0:00:59.447 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 13 December 2024 20:26:09 -0500 (0:00:00.110) 0:00:59.558 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 13 December 2024 20:26:10 -0500 (0:00:00.388) 0:00:59.946 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 13 December 2024 20:26:10 -0500 (0:00:00.067) 0:01:00.013 ******* 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: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\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.7 MB/s | 1.6 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql18-18.4.1.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools18-18.4.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools18.x86_64 0:18.4.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 13 December 2024 20:26:15 -0500 (0:00:04.681) 0:01:04.694 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 13 December 2024 20:26:15 -0500 (0:00:00.078) 0:01:04.773 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 13 December 2024 20:26:15 -0500 (0:00:00.072) 0:01:04.845 ******* changed: [managed-node1] => (item=/tmp/ansible.o_21zD) => { "ansible_loop_var": "item", "changed": true, "checksum": "e3d7f5c84aba75738a563d95a11b19107e37d0b7", "dest": "/etc/pki/tls/certs/ansible.o_21zD", "gid": 994, "group": "mssql", "item": "/tmp/ansible.o_21zD", "md5sum": "c0ef565650883357278864fb48895980", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1734139575.36-25007-178009407643879/source", "state": "file", "uid": 996 } changed: [managed-node1] => (item=ansible.IadxfB) => { "ansible_loop_var": "item", "changed": true, "checksum": "090405605554aeb32b888c820cffe5dcb3968d95", "dest": "/etc/pki/tls/private/ansible.IadxfB", "gid": 994, "group": "mssql", "item": "ansible.IadxfB", "md5sum": "f844e6e24734fdb5aa3814213f6b8aec", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1734139575.98-25007-71554525556690/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 13 December 2024 20:26:16 -0500 (0:00:01.312) 0:01:06.158 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:26:16 -0500 (0:00:00.194) 0:01:06.352 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002839", "end": "2024-12-13 20:26:17.052173", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:26:17.049334" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:26:17 -0500 (0:00:00.357) 0:01:06.709 ******* 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.o_21zD" ], "delta": "0:00:00.044517", "end": "2024-12-13 20:26:17.444126", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:26:17.399609" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:26:17 -0500 (0:00:00.395) 0:01:07.104 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 13 December 2024 20:26:17 -0500 (0:00:00.073) 0:01:07.177 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:26:17 -0500 (0:00:00.131) 0:01:07.309 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003321", "end": "2024-12-13 20:26:18.006609", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:26:18.003288" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:26:18 -0500 (0:00:00.353) 0:01:07.663 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.IadxfB" ], "delta": "0:00:00.044098", "end": "2024-12-13 20:26:18.409967", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:26:18.365869" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:26:18 -0500 (0:00:00.410) 0:01:08.073 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 13 December 2024 20:26:18 -0500 (0:00:00.073) 0:01:08.147 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:26:18 -0500 (0:00:00.183) 0:01:08.331 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003025", "end": "2024-12-13 20:26:19.016463", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:26:19.013438" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:26:19 -0500 (0:00:00.342) 0:01:08.673 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.044410", "end": "2024-12-13 20:26:19.403447", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:26:19.359037" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:26:19 -0500 (0:00:00.399) 0:01:09.072 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 13 December 2024 20:26:19 -0500 (0:00:00.071) 0:01:09.144 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:26:19 -0500 (0:00:00.135) 0:01:09.280 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002809", "end": "2024-12-13 20:26:19.961626", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:26:19.958817" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:26:20 -0500 (0:00:00.336) 0:01:09.616 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.044553", "end": "2024-12-13 20:26:20.350954", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:26:20.306401" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:26:20 -0500 (0:00:00.403) 0:01:10.020 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 13 December 2024 20:26:20 -0500 (0:00:00.086) 0:01:10.107 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004340", "end": "2024-12-13 20:26:20.831956", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:26:20.827616" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 13 December 2024 20:26:20 -0500 (0:00:00.416) 0:01:10.524 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 13 December 2024 20:26:21 -0500 (0:00:00.115) 0:01:10.639 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 13 December 2024 20:26:21 -0500 (0:00:00.137) 0:01:10.777 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 13 December 2024 20:26:21 -0500 (0:00:00.108) 0:01:10.886 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 13 December 2024 20:26:21 -0500 (0:00:00.094) 0:01:10.980 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 13 December 2024 20:26:21 -0500 (0:00:00.165) 0:01:11.145 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 13 December 2024 20:26:21 -0500 (0:00:00.074) 0:01:11.219 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 13 December 2024 20:26:21 -0500 (0:00:00.107) 0:01:11.327 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 13 December 2024 20:26:21 -0500 (0:00:00.115) 0:01:11.443 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 13 December 2024 20:26:21 -0500 (0:00:00.106) 0:01:11.549 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 13 December 2024 20:26:22 -0500 (0:00:00.113) 0:01:11.663 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 13 December 2024 20:26:22 -0500 (0:00:00.107) 0:01:11.771 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 13 December 2024 20:26:22 -0500 (0:00:00.111) 0:01:11.883 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 13 December 2024 20:26:22 -0500 (0:00:00.102) 0:01:11.985 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 13 December 2024 20:26:22 -0500 (0:00:00.085) 0:01:12.071 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 13 December 2024 20:26:22 -0500 (0:00:00.103) 0:01:12.175 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 13 December 2024 20:26:22 -0500 (0:00:00.070) 0:01:12.245 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 13 December 2024 20:26:22 -0500 (0:00:00.069) 0:01:12.315 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:26:22 -0500 (0:00:00.174) 0:01:12.489 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002760", "end": "2024-12-13 20:26:23.207287", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:26:23.204527" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:26:23 -0500 (0:00:00.413) 0:01:12.903 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045800", "end": "2024-12-13 20:26:23.668956", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:26:23.623156" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:26:23 -0500 (0:00:00.478) 0:01:13.381 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 13 December 2024 20:26:23 -0500 (0:00:00.102) 0:01:13.484 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 13 December 2024 20:26:24 -0500 (0:00:00.174) 0:01:13.658 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 13 December 2024 20:26:24 -0500 (0:00:00.106) 0:01:13.764 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 13 December 2024 20:26:24 -0500 (0:00:00.100) 0:01:13.864 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 13 December 2024 20:26:24 -0500 (0:00:00.076) 0:01:13.941 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 13 December 2024 20:26:24 -0500 (0:00:00.069) 0:01:14.010 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 13 December 2024 20:26:24 -0500 (0:00:00.069) 0:01:14.080 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 13 December 2024 20:26:24 -0500 (0:00:00.067) 0:01:14.147 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 13 December 2024 20:26:24 -0500 (0:00:00.082) 0:01:14.229 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 13 December 2024 20:26:24 -0500 (0:00:00.067) 0:01:14.297 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 13 December 2024 20:26:24 -0500 (0:00:00.071) 0:01:14.369 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 13 December 2024 20:26:24 -0500 (0:00:00.066) 0:01:14.435 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 13 December 2024 20:26:24 -0500 (0:00:00.069) 0:01:14.505 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 13 December 2024 20:26:25 -0500 (0:00:00.074) 0:01:14.579 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 13 December 2024 20:26:25 -0500 (0:00:00.070) 0:01:14.649 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 13 December 2024 20:26:25 -0500 (0:00:00.070) 0:01:14.720 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 13 December 2024 20:26:25 -0500 (0:00:00.069) 0:01:14.790 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 13 December 2024 20:26:25 -0500 (0:00:00.071) 0:01:14.861 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 13 December 2024 20:26:25 -0500 (0:00:00.070) 0:01:14.932 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 13 December 2024 20:26:25 -0500 (0:00:00.078) 0:01:15.010 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 13 December 2024 20:26:25 -0500 (0:00:00.173) 0:01:15.184 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 13 December 2024 20:26:25 -0500 (0:00:00.101) 0:01:15.285 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 13 December 2024 20:26:25 -0500 (0:00:00.085) 0:01:15.371 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 13 December 2024 20:26:25 -0500 (0:00:00.068) 0:01:15.439 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 13 December 2024 20:26:25 -0500 (0:00:00.077) 0:01:15.516 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 13 December 2024 20:26:26 -0500 (0:00:00.106) 0:01:15.623 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 13 December 2024 20:26:26 -0500 (0:00:00.102) 0:01:15.726 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 13 December 2024 20:26:26 -0500 (0:00:00.088) 0:01:15.814 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 13 December 2024 20:26:26 -0500 (0:00:00.080) 0:01:15.895 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 13 December 2024 20:26:26 -0500 (0:00:00.069) 0:01:15.964 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 13 December 2024 20:26:26 -0500 (0:00:00.070) 0:01:16.035 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 13 December 2024 20:26:26 -0500 (0:00:00.070) 0:01:16.105 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 13 December 2024 20:26:26 -0500 (0:00:00.069) 0:01:16.175 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 13 December 2024 20:26:26 -0500 (0:00:00.069) 0:01:16.244 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 13 December 2024 20:26:26 -0500 (0:00:00.078) 0:01:16.323 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 13 December 2024 20:26:26 -0500 (0:00:00.069) 0:01:16.393 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 13 December 2024 20:26:26 -0500 (0:00:00.070) 0:01:16.463 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 13 December 2024 20:26:26 -0500 (0:00:00.082) 0:01:16.545 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 13 December 2024 20:26:27 -0500 (0:00:00.069) 0:01:16.614 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 13 December 2024 20:26:27 -0500 (0:00:00.101) 0:01:16.716 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 13 December 2024 20:26:27 -0500 (0:00:00.178) 0:01:16.894 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 13 December 2024 20:26:27 -0500 (0:00:00.097) 0:01:16.992 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 13 December 2024 20:26:27 -0500 (0:00:00.094) 0:01:17.087 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 13 December 2024 20:26:27 -0500 (0:00:00.080) 0:01:17.167 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 13 December 2024 20:26:27 -0500 (0:00:00.067) 0:01:17.235 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 13 December 2024 20:26:27 -0500 (0:00:00.081) 0:01:17.317 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 13 December 2024 20:26:27 -0500 (0:00:00.069) 0:01:17.386 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 13 December 2024 20:26:27 -0500 (0:00:00.069) 0:01:17.456 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 13 December 2024 20:26:27 -0500 (0:00:00.069) 0:01:17.525 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 13 December 2024 20:26:28 -0500 (0:00:00.070) 0:01:17.596 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 13 December 2024 20:26:28 -0500 (0:00:00.069) 0:01:17.665 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 13 December 2024 20:26:28 -0500 (0:00:00.070) 0:01:17.736 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 13 December 2024 20:26:28 -0500 (0:00:00.070) 0:01:17.806 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 13 December 2024 20:26:28 -0500 (0:00:00.087) 0:01:17.894 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 13 December 2024 20:26:28 -0500 (0:00:00.099) 0:01:17.993 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 13 December 2024 20:26:28 -0500 (0:00:00.101) 0:01:18.094 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 13 December 2024 20:26:28 -0500 (0:00:00.107) 0:01:18.202 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 13 December 2024 20:26:28 -0500 (0:00:00.111) 0:01:18.314 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 13 December 2024 20:26:28 -0500 (0:00:00.121) 0:01:18.435 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 13 December 2024 20:26:28 -0500 (0:00:00.087) 0:01:18.523 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 13 December 2024 20:26:29 -0500 (0:00:00.129) 0:01:18.653 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 13 December 2024 20:26:29 -0500 (0:00:00.071) 0:01:18.724 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 13 December 2024 20:26:29 -0500 (0:00:00.073) 0:01:18.798 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 13 December 2024 20:26:29 -0500 (0:00:00.530) 0:01:19.328 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:26:06 EST", "ActiveEnterTimestampMonotonic": "721399509", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice network.target auditd.service -.mount basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:26:06 EST", "AssertTimestampMonotonic": "721398418", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:26:06 EST", "ConditionTimestampMonotonic": "721398416", "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": "22202", "ExecMainStartTimestamp": "Fri 2024-12-13 20:26:06 EST", "ExecMainStartTimestampMonotonic": "721399455", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:26:06 EST", "InactiveExitTimestampMonotonic": "721399509", "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": "22202", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:26:06 EST", "WatchdogTimestampMonotonic": "721399488", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 13 December 2024 20:26:31 -0500 (0:00:01.756) 0:01:21.085 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 13 December 2024 20:26:31 -0500 (0:00:00.066) 0:01:21.151 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 13 December 2024 20:26:31 -0500 (0:00:00.071) 0:01:21.223 ******* changed: [managed-node1 -> localhost] => { "changed": true, "path": "ansible.IadxfB", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 13 December 2024 20:26:32 -0500 (0:00:00.401) 0:01:21.624 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 13 December 2024 20:26:32 -0500 (0:00:00.121) 0:01:21.746 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 13 December 2024 20:26:32 -0500 (0:00:00.693) 0:01:22.439 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 13 December 2024 20:26:33 -0500 (0:00:00.690) 0:01:23.130 ******* ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 13 December 2024 20:26:34 -0500 (0:00:00.810) 0:01:23.941 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 13 December 2024 20:26:34 -0500 (0:00:00.246) 0:01:24.188 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 13 December 2024 20:26:34 -0500 (0:00:00.108) 0:01:24.296 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 13 December 2024 20:26:34 -0500 (0:00:00.108) 0:01:24.405 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 13 December 2024 20:26:34 -0500 (0:00:00.109) 0:01:24.515 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 13 December 2024 20:26:35 -0500 (0:00:00.122) 0:01:24.637 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 13 December 2024 20:26:35 -0500 (0:00:00.104) 0:01:24.742 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 13 December 2024 20:26:35 -0500 (0:00:00.107) 0:01:24.849 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 13 December 2024 20:26:35 -0500 (0:00:00.106) 0:01:24.956 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 13 December 2024 20:26:35 -0500 (0:00:00.112) 0:01:25.068 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 13 December 2024 20:26:35 -0500 (0:00:00.283) 0:01:25.352 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:26:31 EST", "ActiveEnterTimestampMonotonic": "746691541", "ActiveExitTimestamp": "Fri 2024-12-13 20:26:30 EST", "ActiveExitTimestampMonotonic": "745463724", "ActiveState": "active", "After": "network.target -.mount auditd.service systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:26:31 EST", "AssertTimestampMonotonic": "746690534", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:26:31 EST", "ConditionTimestampMonotonic": "746690533", "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": "23529", "ExecMainStartTimestamp": "Fri 2024-12-13 20:26:31 EST", "ExecMainStartTimestampMonotonic": "746691469", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:26:31 EST", "InactiveEnterTimestampMonotonic": "746688595", "InactiveExitTimestamp": "Fri 2024-12-13 20:26:31 EST", "InactiveExitTimestampMonotonic": "746691541", "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": "23529", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:26:31 EST", "WatchdogTimestampMonotonic": "746691521", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 13 December 2024 20:26:36 -0500 (0:00:00.529) 0:01:25.881 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002800", "end": "2024-12-13 20:26:36.602052", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:26:36.599252" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 13 December 2024 20:26:36 -0500 (0:00:00.423) 0:01:26.305 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003308", "end": "2024-12-13 20:26:37.038026", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:26:37.034718" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 13 December 2024 20:26:37 -0500 (0:00:00.452) 0:01:26.758 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 13 December 2024 20:26:37 -0500 (0:00:00.126) 0:01:26.884 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 13 December 2024 20:26:38 -0500 (0:00:01.566) 0:01:28.451 ******* 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.022902", "end": "2024-12-13 20:26:39.201321", "rc": 0, "start": "2024-12-13 20:26:39.178419" } 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 13 December 2024 20:26:39 -0500 (0:00:00.473) 0:01:28.924 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 13 December 2024 20:26:39 -0500 (0:00:00.118) 0:01:29.042 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 13 December 2024 20:26:39 -0500 (0:00:00.109) 0:01:29.151 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 13 December 2024 20:26:39 -0500 (0:00:00.110) 0:01:29.262 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 13 December 2024 20:26:39 -0500 (0:00:00.112) 0:01:29.374 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 13 December 2024 20:26:39 -0500 (0:00:00.106) 0:01:29.480 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 13 December 2024 20:26:40 -0500 (0:00:00.107) 0:01:29.588 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 13 December 2024 20:26:40 -0500 (0:00:00.171) 0:01:29.759 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 13 December 2024 20:26:40 -0500 (0:00:00.141) 0:01:29.900 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:26:40 -0500 (0:00:00.259) 0:01:30.159 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003965", "end": "2024-12-13 20:26:41.048720", "rc": 0, "start": "2024-12-13 20:26:41.044755" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.o_21zD TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:26:41 -0500 (0:00:00.645) 0:01:30.805 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:26:41 -0500 (0:00:00.234) 0:01:31.040 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.o_21zD] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:26:41 -0500 (0:00:00.240) 0:01:31.280 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 13 December 2024 20:26:41 -0500 (0:00:00.113) 0:01:31.394 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:26:41 -0500 (0:00:00.154) 0:01:31.549 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004368", "end": "2024-12-13 20:26:42.259101", "rc": 0, "start": "2024-12-13 20:26:42.254733" } STDOUT: tlskey = /etc/pki/tls/private/ansible.IadxfB TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:26:42 -0500 (0:00:00.399) 0:01:31.949 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:26:42 -0500 (0:00:00.149) 0:01:32.098 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.IadxfB] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:26:42 -0500 (0:00:00.142) 0:01:32.241 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 13 December 2024 20:26:42 -0500 (0:00:00.170) 0:01:32.411 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:26:43 -0500 (0:00:00.305) 0:01:32.716 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003827", "end": "2024-12-13 20:26:43.450911", "rc": 0, "start": "2024-12-13 20:26:43.447084" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:26:43 -0500 (0:00:00.435) 0:01:33.152 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:26:43 -0500 (0:00:00.228) 0:01:33.381 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:26:43 -0500 (0:00:00.121) 0:01:33.503 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 13 December 2024 20:26:44 -0500 (0:00:00.107) 0:01:33.611 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:26:44 -0500 (0:00:00.214) 0:01:33.825 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004417", "end": "2024-12-13 20:26:44.555210", "rc": 0, "start": "2024-12-13 20:26:44.550793" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:26:44 -0500 (0:00:00.432) 0:01:34.258 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:26:44 -0500 (0:00:00.128) 0:01:34.386 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:26:44 -0500 (0:00:00.133) 0:01:34.520 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 13 December 2024 20:26:45 -0500 (0:00:00.080) 0:01:34.601 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 13 December 2024 20:26:45 -0500 (0:00:00.078) 0:01:34.679 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 13 December 2024 20:26:45 -0500 (0:00:00.398) 0:01:35.078 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 13 December 2024 20:26:45 -0500 (0:00:00.120) 0:01:35.198 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 13 December 2024 20:26:45 -0500 (0:00:00.192) 0:01:35.391 ******* 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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 13 December 2024 20:26:45 -0500 (0:00:00.151) 0:01:35.542 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 13 December 2024 20:26:46 -0500 (0:00:00.091) 0:01:35.634 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 13 December 2024 20:26:46 -0500 (0:00:00.078) 0:01:35.712 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 13 December 2024 20:26:46 -0500 (0:00:00.071) 0:01:35.783 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 13 December 2024 20:26:46 -0500 (0:00:00.080) 0:01:35.863 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 13 December 2024 20:26:46 -0500 (0:00:00.109) 0:01:35.972 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 13 December 2024 20:26:46 -0500 (0:00:00.095) 0:01:36.067 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 13 December 2024 20:26:46 -0500 (0:00:00.091) 0:01:36.159 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 13 December 2024 20:26:46 -0500 (0:00:00.074) 0:01:36.233 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 13 December 2024 20:26:46 -0500 (0:00:00.079) 0:01:36.313 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 13 December 2024 20:26:46 -0500 (0:00:00.109) 0:01:36.422 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 13 December 2024 20:26:46 -0500 (0:00:00.127) 0:01:36.550 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 13 December 2024 20:26:47 -0500 (0:00:00.104) 0:01:36.655 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 13 December 2024 20:26:47 -0500 (0:00:00.105) 0:01:36.761 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 13 December 2024 20:26:47 -0500 (0:00:00.070) 0:01:36.831 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 13 December 2024 20:26:47 -0500 (0:00:00.070) 0:01:36.901 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 13 December 2024 20:26:47 -0500 (0:00:00.069) 0:01:36.971 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 13 December 2024 20:26:47 -0500 (0:00:00.071) 0:01:37.042 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 13 December 2024 20:26:47 -0500 (0:00:00.073) 0:01:37.116 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 13 December 2024 20:26:47 -0500 (0:00:00.129) 0:01:37.245 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 13 December 2024 20:26:49 -0500 (0:00:01.413) 0:01:38.659 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 13 December 2024 20:26:49 -0500 (0:00:00.526) 0:01:39.186 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 13 December 2024 20:26:49 -0500 (0:00:00.109) 0:01:39.296 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 13 December 2024 20:26:49 -0500 (0:00:00.193) 0:01:39.489 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 13 December 2024 20:26:50 -0500 (0:00:00.226) 0:01:39.715 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 13 December 2024 20:26:50 -0500 (0:00:00.649) 0:01:40.365 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 13 December 2024 20:26:50 -0500 (0:00:00.130) 0:01:40.496 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 13 December 2024 20:26:51 -0500 (0:00:00.128) 0:01:40.625 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 13 December 2024 20:26:51 -0500 (0:00:00.144) 0:01:40.769 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 13 December 2024 20:26:51 -0500 (0:00:00.279) 0:01:41.048 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 13 December 2024 20:26:51 -0500 (0:00:00.142) 0:01:41.191 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 13 December 2024 20:26:51 -0500 (0:00:00.128) 0:01:41.320 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 13 December 2024 20:26:51 -0500 (0:00:00.126) 0:01:41.446 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 13 December 2024 20:26:51 -0500 (0:00:00.077) 0:01:41.523 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 13 December 2024 20:26:52 -0500 (0:00:00.604) 0:01:42.128 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 13 December 2024 20:26:53 -0500 (0:00:00.773) 0:01:42.902 ******* 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.005529", "end": "2024-12-13 20:26:53.847046", "rc": 0, "start": "2024-12-13 20:26:53.841517" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 13 December 2024 20:26:54 -0500 (0:00:00.687) 0:01:43.589 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 13 December 2024 20:26:55 -0500 (0:00:00.999) 0:01:44.589 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 13 December 2024 20:26:55 -0500 (0:00:00.150) 0:01:44.739 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 13 December 2024 20:26:55 -0500 (0:00:00.114) 0:01:44.854 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 13 December 2024 20:26:55 -0500 (0:00:00.109) 0:01:44.964 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 13 December 2024 20:26:55 -0500 (0:00:00.130) 0:01:45.095 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 13 December 2024 20:26:55 -0500 (0:00:00.123) 0:01:45.218 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 13 December 2024 20:26:55 -0500 (0:00:00.194) 0:01:45.413 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 13 December 2024 20:26:56 -0500 (0:00:00.649) 0:01:46.063 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:14:15 EST", "ActiveEnterTimestampMonotonic": "10768090", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service network.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:14:14 EST", "AssertTimestampMonotonic": "10053308", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:14:14 EST", "ConditionTimestampMonotonic": "10053306", "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": "851", "ExecMainStartTimestamp": "Fri 2024-12-13 20:14:14 EST", "ExecMainStartTimestampMonotonic": "10053854", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:14:14 EST", "InactiveExitTimestampMonotonic": "10053890", "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": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.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": "Fri 2024-12-13 20:14:15 EST", "WatchdogTimestampMonotonic": "10767357", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 13 December 2024 20:26:57 -0500 (0:00:00.594) 0:01:46.657 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.082870", "end": "2024-12-13 20:26:57.468817", "rc": 0, "start": "2024-12-13 20:26:57.385947" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 13 December 2024 20:26:57 -0500 (0:00:00.488) 0:01:47.146 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 13 December 2024 20:26:57 -0500 (0:00:00.106) 0:01:47.253 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 13 December 2024 20:26:57 -0500 (0:00:00.074) 0:01:47.328 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 13 December 2024 20:26:57 -0500 (0:00:00.073) 0:01:47.401 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 13 December 2024 20:26:58 -0500 (0:00:00.346) 0:01:47.747 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 13 December 2024 20:26:58 -0500 (0:00:00.072) 0:01:47.820 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 13 December 2024 20:26:58 -0500 (0:00:00.596) 0:01:48.416 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 13 December 2024 20:26:58 -0500 (0:00:00.111) 0:01:48.528 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 13 December 2024 20:26:59 -0500 (0:00:00.115) 0:01:48.644 ******* skipping: [managed-node1] => (item=/tmp/ansible.o_21zD) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.o_21zD", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.IadxfB) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.IadxfB", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 13 December 2024 20:26:59 -0500 (0:00:00.202) 0:01:48.846 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:26:59 -0500 (0:00:00.455) 0:01:49.301 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003449", "end": "2024-12-13 20:27:00.093595", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:00.090146" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.o_21zD TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:27:00 -0500 (0:00:00.499) 0:01:49.800 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:27:00 -0500 (0:00:00.115) 0:01:49.916 ******* 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.044698", "end": "2024-12-13 20:27:00.788082", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:00.743384" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 13 December 2024 20:27:01 -0500 (0:00:00.727) 0:01:50.644 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:27:01 -0500 (0:00:00.386) 0:01:51.030 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003206", "end": "2024-12-13 20:27:02.068383", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:02.065177" } STDOUT: tlskey = /etc/pki/tls/private/ansible.IadxfB TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:27:02 -0500 (0:00:00.757) 0:01:51.788 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:27:02 -0500 (0:00:00.154) 0:01:51.942 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.045216", "end": "2024-12-13 20:27:02.736388", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:02.691172" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 13 December 2024 20:27:02 -0500 (0:00:00.556) 0:01:52.499 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:27:03 -0500 (0:00:00.288) 0:01:52.788 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002884", "end": "2024-12-13 20:27:03.514353", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:03.511469" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:27:03 -0500 (0:00:00.396) 0:01:53.184 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:27:03 -0500 (0:00:00.143) 0:01:53.328 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.044792", "end": "2024-12-13 20:27:04.074292", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:04.029500" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 13 December 2024 20:27:04 -0500 (0:00:00.559) 0:01:53.887 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:27:04 -0500 (0:00:00.349) 0:01:54.237 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002949", "end": "2024-12-13 20:27:04.991361", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:04.988412" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:27:05 -0500 (0:00:00.457) 0:01:54.694 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:27:05 -0500 (0:00:00.133) 0:01:54.827 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.045184", "end": "2024-12-13 20:27:05.650262", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:05.605078" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 13 December 2024 20:27:05 -0500 (0:00:00.641) 0:01:55.469 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004787", "end": "2024-12-13 20:27:06.390181", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:27:06.385394" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 13 December 2024 20:27:06 -0500 (0:00:00.736) 0:01:56.205 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 13 December 2024 20:27:06 -0500 (0:00:00.212) 0:01:56.417 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 13 December 2024 20:27:06 -0500 (0:00:00.144) 0:01:56.562 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 13 December 2024 20:27:07 -0500 (0:00:00.120) 0:01:56.683 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 13 December 2024 20:27:07 -0500 (0:00:00.122) 0:01:56.805 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 13 December 2024 20:27:07 -0500 (0:00:00.118) 0:01:56.923 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 13 December 2024 20:27:07 -0500 (0:00:00.137) 0:01:57.061 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 13 December 2024 20:27:07 -0500 (0:00:00.164) 0:01:57.225 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 13 December 2024 20:27:07 -0500 (0:00:00.112) 0:01:57.338 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 13 December 2024 20:27:07 -0500 (0:00:00.120) 0:01:57.458 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 13 December 2024 20:27:08 -0500 (0:00:00.132) 0:01:57.591 ******* 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.004873", "end": "2024-12-13 20:27:08.349382", "rc": 0, "start": "2024-12-13 20:27:08.344509" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 13 December 2024 20:27:08 -0500 (0:00:00.507) 0:01:58.099 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 13 December 2024 20:27:08 -0500 (0:00:00.327) 0:01:58.427 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 13 December 2024 20:27:10 -0500 (0:00:01.505) 0:01:59.932 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 13 December 2024 20:27:10 -0500 (0:00:00.198) 0:02:00.131 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 13 December 2024 20:27:10 -0500 (0:00:00.153) 0:02:00.284 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 13 December 2024 20:27:10 -0500 (0:00:00.140) 0:02:00.424 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 13 December 2024 20:27:11 -0500 (0:00:00.147) 0:02:00.571 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:27:11 -0500 (0:00:00.206) 0:02:00.777 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003059", "end": "2024-12-13 20:27:11.654557", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:27:11.651498" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:27:11 -0500 (0:00:00.713) 0:02:01.491 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045418", "end": "2024-12-13 20:27:12.594408", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:12.548990" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:27:12 -0500 (0:00:00.856) 0:02:02.348 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 13 December 2024 20:27:12 -0500 (0:00:00.147) 0:02:02.495 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 13 December 2024 20:27:13 -0500 (0:00:00.097) 0:02:02.592 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 13 December 2024 20:27:13 -0500 (0:00:00.088) 0:02:02.681 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 13 December 2024 20:27:13 -0500 (0:00:00.268) 0:02:02.950 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 13 December 2024 20:27:13 -0500 (0:00:00.115) 0:02:03.066 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 13 December 2024 20:27:13 -0500 (0:00:00.252) 0:02:03.318 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 13 December 2024 20:27:13 -0500 (0:00:00.227) 0:02:03.546 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 13 December 2024 20:27:14 -0500 (0:00:00.199) 0:02:03.746 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 13 December 2024 20:27:14 -0500 (0:00:00.225) 0:02:03.971 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 13 December 2024 20:27:14 -0500 (0:00:00.112) 0:02:04.083 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 13 December 2024 20:27:14 -0500 (0:00:00.140) 0:02:04.224 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 13 December 2024 20:27:14 -0500 (0:00:00.205) 0:02:04.429 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 13 December 2024 20:27:15 -0500 (0:00:00.252) 0:02:04.682 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 13 December 2024 20:27:15 -0500 (0:00:00.215) 0:02:04.897 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 13 December 2024 20:27:15 -0500 (0:00:00.122) 0:02:05.020 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 13 December 2024 20:27:15 -0500 (0:00:00.197) 0:02:05.218 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 13 December 2024 20:27:15 -0500 (0:00:00.134) 0:02:05.352 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 13 December 2024 20:27:15 -0500 (0:00:00.150) 0:02:05.503 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 13 December 2024 20:27:16 -0500 (0:00:00.129) 0:02:05.632 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 13 December 2024 20:27:16 -0500 (0:00:00.171) 0:02:05.804 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 13 December 2024 20:27:16 -0500 (0:00:00.113) 0:02:05.918 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 13 December 2024 20:27:16 -0500 (0:00:00.117) 0:02:06.036 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 13 December 2024 20:27:16 -0500 (0:00:00.390) 0:02:06.427 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 13 December 2024 20:27:17 -0500 (0:00:00.158) 0:02:06.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 [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 13 December 2024 20:27:17 -0500 (0:00:00.129) 0:02:06.716 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 13 December 2024 20:27:17 -0500 (0:00:00.110) 0:02:06.827 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 13 December 2024 20:27:17 -0500 (0:00:00.137) 0:02:06.964 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 13 December 2024 20:27:17 -0500 (0:00:00.106) 0:02:07.071 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 13 December 2024 20:27:17 -0500 (0:00:00.153) 0:02:07.224 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 13 December 2024 20:27:17 -0500 (0:00:00.142) 0:02:07.366 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 13 December 2024 20:27:17 -0500 (0:00:00.117) 0:02:07.484 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 13 December 2024 20:27:18 -0500 (0:00:00.166) 0:02:07.651 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 13 December 2024 20:27:18 -0500 (0:00:00.252) 0:02:07.903 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 13 December 2024 20:27:18 -0500 (0:00:00.233) 0:02:08.136 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 13 December 2024 20:27:18 -0500 (0:00:00.117) 0:02:08.254 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 13 December 2024 20:27:18 -0500 (0:00:00.114) 0:02:08.369 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 13 December 2024 20:27:18 -0500 (0:00:00.075) 0:02:08.444 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 13 December 2024 20:27:19 -0500 (0:00:00.120) 0:02:08.565 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 13 December 2024 20:27:19 -0500 (0:00:00.120) 0:02:08.685 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 13 December 2024 20:27:19 -0500 (0:00:00.111) 0:02:08.797 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 13 December 2024 20:27:19 -0500 (0:00:00.139) 0:02:08.937 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 13 December 2024 20:27:19 -0500 (0:00:00.111) 0:02:09.048 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 13 December 2024 20:27:19 -0500 (0:00:00.304) 0:02:09.353 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 13 December 2024 20:27:20 -0500 (0:00:00.221) 0:02:09.575 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 13 December 2024 20:27:20 -0500 (0:00:00.237) 0:02:09.812 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 13 December 2024 20:27:20 -0500 (0:00:00.140) 0:02:09.952 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 13 December 2024 20:27:20 -0500 (0:00:00.129) 0:02:10.082 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 13 December 2024 20:27:20 -0500 (0:00:00.232) 0:02:10.314 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 13 December 2024 20:27:20 -0500 (0:00:00.202) 0:02:10.517 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 13 December 2024 20:27:21 -0500 (0:00:00.229) 0:02:10.746 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 13 December 2024 20:27:21 -0500 (0:00:00.192) 0:02:10.938 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 13 December 2024 20:27:21 -0500 (0:00:00.198) 0:02:11.137 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 13 December 2024 20:27:21 -0500 (0:00:00.259) 0:02:11.397 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 13 December 2024 20:27:22 -0500 (0:00:00.187) 0:02:11.584 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 13 December 2024 20:27:22 -0500 (0:00:00.128) 0:02:11.713 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 13 December 2024 20:27:22 -0500 (0:00:00.161) 0:02:11.875 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 13 December 2024 20:27:22 -0500 (0:00:00.112) 0:02:11.988 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 13 December 2024 20:27:22 -0500 (0:00:00.117) 0:02:12.106 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 13 December 2024 20:27:22 -0500 (0:00:00.128) 0:02:12.234 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 13 December 2024 20:27:22 -0500 (0:00:00.113) 0:02:12.348 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 13 December 2024 20:27:22 -0500 (0:00:00.114) 0:02:12.463 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 13 December 2024 20:27:23 -0500 (0:00:00.204) 0:02:12.668 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 13 December 2024 20:27:23 -0500 (0:00:00.112) 0:02:12.780 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 13 December 2024 20:27:24 -0500 (0:00:01.072) 0:02:13.853 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:26:31 EST", "ActiveEnterTimestampMonotonic": "746691541", "ActiveExitTimestamp": "Fri 2024-12-13 20:26:30 EST", "ActiveExitTimestampMonotonic": "745463724", "ActiveState": "active", "After": "network.target -.mount auditd.service systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:26:31 EST", "AssertTimestampMonotonic": "746690534", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:26:31 EST", "ConditionTimestampMonotonic": "746690533", "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": "23529", "ExecMainStartTimestamp": "Fri 2024-12-13 20:26:31 EST", "ExecMainStartTimestampMonotonic": "746691469", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:26:31 EST", "InactiveEnterTimestampMonotonic": "746688595", "InactiveExitTimestamp": "Fri 2024-12-13 20:26:31 EST", "InactiveExitTimestampMonotonic": "746691541", "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": "23529", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:26:31 EST", "WatchdogTimestampMonotonic": "746691521", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 13 December 2024 20:27:25 -0500 (0:00:01.168) 0:02:15.021 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 13 December 2024 20:27:25 -0500 (0:00:00.136) 0:02:15.158 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 13 December 2024 20:27:25 -0500 (0:00:00.113) 0:02:15.271 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 13 December 2024 20:27:26 -0500 (0:00:00.537) 0:02:15.809 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 13 December 2024 20:27:26 -0500 (0:00:00.115) 0:02:15.925 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 13 December 2024 20:27:26 -0500 (0:00:00.129) 0:02:16.055 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 13 December 2024 20:27:26 -0500 (0:00:00.139) 0:02:16.195 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 13 December 2024 20:27:26 -0500 (0:00:00.205) 0:02:16.400 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 13 December 2024 20:27:26 -0500 (0:00:00.158) 0:02:16.559 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 13 December 2024 20:27:27 -0500 (0:00:00.113) 0:02:16.673 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 13 December 2024 20:27:27 -0500 (0:00:00.144) 0:02:16.817 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 13 December 2024 20:27:27 -0500 (0:00:00.123) 0:02:16.941 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 13 December 2024 20:27:27 -0500 (0:00:00.316) 0:02:17.258 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:27:25 EST", "ActiveEnterTimestampMonotonic": "800563739", "ActiveExitTimestamp": "Fri 2024-12-13 20:27:24 EST", "ActiveExitTimestampMonotonic": "800285831", "ActiveState": "active", "After": "network.target -.mount auditd.service systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:27:25 EST", "AssertTimestampMonotonic": "800562621", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:27:25 EST", "ConditionTimestampMonotonic": "800562620", "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": "25765", "ExecMainStartTimestamp": "Fri 2024-12-13 20:27:25 EST", "ExecMainStartTimestampMonotonic": "800563283", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-12-13 20:27:25 EST] ; stop_time=[n/a] ; pid=25765 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:27:25 EST", "InactiveEnterTimestampMonotonic": "800561361", "InactiveExitTimestamp": "Fri 2024-12-13 20:27:25 EST", "InactiveExitTimestampMonotonic": "800563739", "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": "25765", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:27:25 EST", "WatchdogTimestampMonotonic": "800563706", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 13 December 2024 20:27:28 -0500 (0:00:01.114) 0:02:18.372 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002885", "end": "2024-12-13 20:27:29.164699", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:27:29.161814" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 13 December 2024 20:27:29 -0500 (0:00:00.506) 0:02:18.879 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002822", "end": "2024-12-13 20:27:29.693064", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:27:29.690242" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 13 December 2024 20:27:29 -0500 (0:00:00.486) 0:02:19.366 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 13 December 2024 20:27:29 -0500 (0:00:00.140) 0:02:19.506 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 13 December 2024 20:27:31 -0500 (0:00:01.474) 0:02:20.980 ******* 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.023259", "end": "2024-12-13 20:27:31.800430", "rc": 0, "start": "2024-12-13 20:27:31.777171" } 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 13 December 2024 20:27:32 -0500 (0:00:00.635) 0:02:21.616 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 13 December 2024 20:27:32 -0500 (0:00:00.270) 0:02:21.886 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 13 December 2024 20:27:32 -0500 (0:00:00.116) 0:02:22.003 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 13 December 2024 20:27:32 -0500 (0:00:00.131) 0:02:22.135 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 13 December 2024 20:27:32 -0500 (0:00:00.200) 0:02:22.336 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 13 December 2024 20:27:32 -0500 (0:00:00.184) 0:02:22.520 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 13 December 2024 20:27:33 -0500 (0:00:00.179) 0:02:22.700 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 13 December 2024 20:27:33 -0500 (0:00:00.217) 0:02:22.918 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 13 December 2024 20:27:33 -0500 (0:00:00.159) 0:02:23.077 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:27:33 -0500 (0:00:00.367) 0:02:23.444 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004119", "end": "2024-12-13 20:27:34.340754", "rc": 0, "start": "2024-12-13 20:27:34.336635" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:27:34 -0500 (0:00:00.670) 0:02:24.114 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:27:34 -0500 (0:00:00.162) 0:02:24.276 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:27:34 -0500 (0:00:00.145) 0:02:24.422 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 13 December 2024 20:27:34 -0500 (0:00:00.125) 0:02:24.548 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:27:35 -0500 (0:00:00.291) 0:02:24.839 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004543", "end": "2024-12-13 20:27:35.727794", "rc": 0, "start": "2024-12-13 20:27:35.723251" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:27:35 -0500 (0:00:00.598) 0:02:25.438 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:27:36 -0500 (0:00:00.186) 0:02:25.624 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:27:36 -0500 (0:00:00.225) 0:02:25.850 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 13 December 2024 20:27:36 -0500 (0:00:00.170) 0:02:26.021 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:27:36 -0500 (0:00:00.233) 0:02:26.255 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004314", "end": "2024-12-13 20:27:37.016515", "rc": 0, "start": "2024-12-13 20:27:37.012201" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:27:37 -0500 (0:00:00.450) 0:02:26.706 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:27:37 -0500 (0:00:00.097) 0:02:26.803 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:27:37 -0500 (0:00:00.079) 0:02:26.884 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 13 December 2024 20:27:37 -0500 (0:00:00.147) 0:02:27.031 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:27:37 -0500 (0:00:00.228) 0:02:27.259 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004346", "end": "2024-12-13 20:27:38.165877", "rc": 0, "start": "2024-12-13 20:27:38.161531" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:27:38 -0500 (0:00:00.689) 0:02:27.949 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:27:38 -0500 (0:00:00.115) 0:02:28.064 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:27:38 -0500 (0:00:00.187) 0:02:28.252 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 13 December 2024 20:27:38 -0500 (0:00:00.149) 0:02:28.402 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 13 December 2024 20:27:38 -0500 (0:00:00.116) 0:02:28.518 ******* changed: [managed-node1] => (item=/etc/pki/tls/certs/ansible.o_21zD) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.o_21zD", "path": "/etc/pki/tls/certs/ansible.o_21zD", "state": "absent" } changed: [managed-node1] => (item=/etc/pki/tls/private/ansible.IadxfB) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.IadxfB", "path": "/etc/pki/tls/private/ansible.IadxfB", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 13 December 2024 20:27:39 -0500 (0:00:00.766) 0:02:29.284 ******* ok: [managed-node1] => (item=/tmp/ansible.o_21zD) => { "ansible_loop_var": "item", "changed": false, "checksum": "e3d7f5c84aba75738a563d95a11b19107e37d0b7", "dest": "/tmp/ansible.o_21zD", "gid": 0, "group": "root", "item": "/tmp/ansible.o_21zD", "mode": "0600", "owner": "root", "path": "/tmp/ansible.o_21zD", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed-node1] => (item=/tmp/ansible.IadxfB) => { "ansible_loop_var": "item", "changed": false, "checksum": "090405605554aeb32b888c820cffe5dcb3968d95", "dest": "/tmp/ansible.IadxfB", "gid": 0, "group": "root", "item": "/tmp/ansible.IadxfB", "mode": "0600", "owner": "root", "path": "/tmp/ansible.IadxfB", "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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 13 December 2024 20:27:41 -0500 (0:00:01.782) 0:02:31.067 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.o_21zD", "mssql_tls_private_key": "ansible.IadxfB" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 13 December 2024 20:27:41 -0500 (0:00:00.078) 0:02:31.145 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 13 December 2024 20:27:42 -0500 (0:00:00.867) 0:02:32.013 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 13 December 2024 20:27:42 -0500 (0:00:00.181) 0:02:32.194 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 13 December 2024 20:27:42 -0500 (0:00:00.122) 0:02:32.317 ******* 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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 13 December 2024 20:27:42 -0500 (0:00:00.119) 0:02:32.436 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 13 December 2024 20:27:42 -0500 (0:00:00.102) 0:02:32.539 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 13 December 2024 20:27:43 -0500 (0:00:00.103) 0:02:32.643 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 13 December 2024 20:27:43 -0500 (0:00:00.091) 0:02:32.734 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 13 December 2024 20:27:43 -0500 (0:00:00.084) 0:02:32.819 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 13 December 2024 20:27:43 -0500 (0:00:00.085) 0:02:32.904 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 13 December 2024 20:27:43 -0500 (0:00:00.073) 0:02:32.978 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 13 December 2024 20:27:43 -0500 (0:00:00.092) 0:02:33.070 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 13 December 2024 20:27:43 -0500 (0:00:00.120) 0:02:33.191 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 13 December 2024 20:27:43 -0500 (0:00:00.114) 0:02:33.305 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 13 December 2024 20:27:43 -0500 (0:00:00.115) 0:02:33.421 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 13 December 2024 20:27:44 -0500 (0:00:00.233) 0:02:33.654 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 13 December 2024 20:27:44 -0500 (0:00:00.203) 0:02:33.858 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 13 December 2024 20:27:44 -0500 (0:00:00.253) 0:02:34.112 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 13 December 2024 20:27:44 -0500 (0:00:00.254) 0:02:34.367 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 13 December 2024 20:27:44 -0500 (0:00:00.191) 0:02:34.558 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 13 December 2024 20:27:45 -0500 (0:00:00.154) 0:02:34.712 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 13 December 2024 20:27:45 -0500 (0:00:00.109) 0:02:34.822 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 13 December 2024 20:27:45 -0500 (0:00:00.132) 0:02:34.955 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 13 December 2024 20:27:45 -0500 (0:00:00.121) 0:02:35.076 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 13 December 2024 20:27:46 -0500 (0:00:01.333) 0:02:36.409 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 13 December 2024 20:27:47 -0500 (0:00:00.211) 0:02:36.621 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 13 December 2024 20:27:47 -0500 (0:00:00.115) 0:02:36.736 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 13 December 2024 20:27:47 -0500 (0:00:00.229) 0:02:36.966 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 13 December 2024 20:27:47 -0500 (0:00:00.212) 0:02:37.178 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 13 December 2024 20:27:48 -0500 (0:00:00.545) 0:02:37.723 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 13 December 2024 20:27:48 -0500 (0:00:00.097) 0:02:37.821 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 13 December 2024 20:27:48 -0500 (0:00:00.082) 0:02:37.903 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 13 December 2024 20:27:48 -0500 (0:00:00.079) 0:02:37.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 13 December 2024 20:27:48 -0500 (0:00:00.074) 0:02:38.057 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 13 December 2024 20:27:48 -0500 (0:00:00.086) 0:02:38.143 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 13 December 2024 20:27:48 -0500 (0:00:00.121) 0:02:38.264 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 13 December 2024 20:27:48 -0500 (0:00:00.161) 0:02:38.425 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 13 December 2024 20:27:48 -0500 (0:00:00.114) 0:02:38.540 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 13 December 2024 20:27:49 -0500 (0:00:00.908) 0:02:39.449 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 13 December 2024 20:27:50 -0500 (0:00:00.658) 0:02:40.107 ******* 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.004900", "end": "2024-12-13 20:27:50.825507", "rc": 0, "start": "2024-12-13 20:27:50.820607" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 13 December 2024 20:27:50 -0500 (0:00:00.376) 0:02:40.483 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 13 December 2024 20:27:52 -0500 (0:00:01.118) 0:02:41.602 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 13 December 2024 20:27:52 -0500 (0:00:00.159) 0:02:41.762 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 13 December 2024 20:27:52 -0500 (0:00:00.093) 0:02:41.855 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 13 December 2024 20:27:52 -0500 (0:00:00.086) 0:02:41.942 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 13 December 2024 20:27:52 -0500 (0:00:00.091) 0:02:42.033 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 13 December 2024 20:27:52 -0500 (0:00:00.078) 0:02:42.111 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 13 December 2024 20:27:52 -0500 (0:00:00.076) 0:02:42.187 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 13 December 2024 20:27:53 -0500 (0:00:00.553) 0:02:42.741 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:14:15 EST", "ActiveEnterTimestampMonotonic": "10768090", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service network.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:14:14 EST", "AssertTimestampMonotonic": "10053308", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:14:14 EST", "ConditionTimestampMonotonic": "10053306", "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": "851", "ExecMainStartTimestamp": "Fri 2024-12-13 20:14:14 EST", "ExecMainStartTimestampMonotonic": "10053854", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:14:14 EST", "InactiveExitTimestampMonotonic": "10053890", "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": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.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": "Fri 2024-12-13 20:14:15 EST", "WatchdogTimestampMonotonic": "10767357", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 13 December 2024 20:27:53 -0500 (0:00:00.496) 0:02:43.237 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087476", "end": "2024-12-13 20:27:54.082594", "rc": 0, "start": "2024-12-13 20:27:53.995118" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 13 December 2024 20:27:54 -0500 (0:00:00.573) 0:02:43.810 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 13 December 2024 20:27:54 -0500 (0:00:00.114) 0:02:43.925 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 13 December 2024 20:27:54 -0500 (0:00:00.121) 0:02:44.047 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 13 December 2024 20:27:54 -0500 (0:00:00.120) 0:02:44.167 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 13 December 2024 20:27:55 -0500 (0:00:00.403) 0:02:44.571 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 13 December 2024 20:27:55 -0500 (0:00:00.145) 0:02:44.716 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 13 December 2024 20:27:55 -0500 (0:00:00.813) 0:02:45.530 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 13 December 2024 20:27:56 -0500 (0:00:00.122) 0:02:45.653 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 13 December 2024 20:27:56 -0500 (0:00:00.128) 0:02:45.781 ******* changed: [managed-node1] => (item=/tmp/ansible.o_21zD) => { "ansible_loop_var": "item", "changed": true, "checksum": "e3d7f5c84aba75738a563d95a11b19107e37d0b7", "dest": "/etc/pki/tls/certs/ansible.o_21zD", "gid": 994, "group": "mssql", "item": "/tmp/ansible.o_21zD", "md5sum": "c0ef565650883357278864fb48895980", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.o_21zD", "state": "file", "uid": 996 } changed: [managed-node1] => (item=/tmp/ansible.IadxfB) => { "ansible_loop_var": "item", "changed": true, "checksum": "090405605554aeb32b888c820cffe5dcb3968d95", "dest": "/etc/pki/tls/private/ansible.IadxfB", "gid": 994, "group": "mssql", "item": "/tmp/ansible.IadxfB", "md5sum": "f844e6e24734fdb5aa3814213f6b8aec", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.IadxfB", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 13 December 2024 20:27:57 -0500 (0:00:00.859) 0:02:46.641 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:27:57 -0500 (0:00:00.170) 0:02:46.811 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002862", "end": "2024-12-13 20:27:57.506117", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:27:57.503255" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:27:57 -0500 (0:00:00.403) 0:02:47.215 ******* 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.o_21zD" ], "delta": "0:00:00.044886", "end": "2024-12-13 20:27:58.004788", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:57.959902" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:27:58 -0500 (0:00:00.543) 0:02:47.758 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 13 December 2024 20:27:58 -0500 (0:00:00.124) 0:02:47.883 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:27:58 -0500 (0:00:00.218) 0:02:48.101 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002866", "end": "2024-12-13 20:27:58.844991", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:27:58.842125" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:27:59 -0500 (0:00:00.571) 0:02:48.673 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.IadxfB" ], "delta": "0:00:00.043841", "end": "2024-12-13 20:27:59.450515", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:27:59.406674" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:27:59 -0500 (0:00:00.446) 0:02:49.120 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 13 December 2024 20:27:59 -0500 (0:00:00.079) 0:02:49.199 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:27:59 -0500 (0:00:00.145) 0:02:49.344 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003172", "end": "2024-12-13 20:28:00.038286", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:28:00.035114" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:00 -0500 (0:00:00.405) 0:02:49.750 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.045959", "end": "2024-12-13 20:28:00.568215", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:00.522256" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:00 -0500 (0:00:00.552) 0:02:50.302 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 13 December 2024 20:28:00 -0500 (0:00:00.133) 0:02:50.436 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:28:01 -0500 (0:00:00.440) 0:02:50.876 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003019", "end": "2024-12-13 20:28:01.677395", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:28:01.674376" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:01 -0500 (0:00:00.513) 0:02:51.389 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.044403", "end": "2024-12-13 20:28:02.421694", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:02.377291" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:02 -0500 (0:00:00.768) 0:02:52.157 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 13 December 2024 20:28:02 -0500 (0:00:00.133) 0:02:52.291 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005046", "end": "2024-12-13 20:28:03.104331", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:03.099285" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 13 December 2024 20:28:03 -0500 (0:00:00.542) 0:02:52.834 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 13 December 2024 20:28:03 -0500 (0:00:00.127) 0:02:52.962 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 13 December 2024 20:28:03 -0500 (0:00:00.413) 0:02:53.375 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 13 December 2024 20:28:03 -0500 (0:00:00.128) 0:02:53.504 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 13 December 2024 20:28:04 -0500 (0:00:00.215) 0:02:53.719 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 13 December 2024 20:28:04 -0500 (0:00:00.181) 0:02:53.901 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 13 December 2024 20:28:04 -0500 (0:00:00.135) 0:02:54.037 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 13 December 2024 20:28:04 -0500 (0:00:00.143) 0:02:54.180 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 13 December 2024 20:28:04 -0500 (0:00:00.117) 0:02:54.298 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 13 December 2024 20:28:04 -0500 (0:00:00.123) 0:02:54.422 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 13 December 2024 20:28:04 -0500 (0:00:00.137) 0:02:54.560 ******* 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.004467", "end": "2024-12-13 20:28:05.373324", "rc": 0, "start": "2024-12-13 20:28:05.368857" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 13 December 2024 20:28:05 -0500 (0:00:00.518) 0:02:55.078 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 13 December 2024 20:28:05 -0500 (0:00:00.130) 0:02:55.208 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 13 December 2024 20:28:07 -0500 (0:00:01.396) 0:02:56.605 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 13 December 2024 20:28:07 -0500 (0:00:00.227) 0:02:56.832 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 13 December 2024 20:28:07 -0500 (0:00:00.123) 0:02:56.956 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 13 December 2024 20:28:07 -0500 (0:00:00.120) 0:02:57.077 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 13 December 2024 20:28:07 -0500 (0:00:00.125) 0:02:57.202 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:28:07 -0500 (0:00:00.225) 0:02:57.428 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002814", "end": "2024-12-13 20:28:08.163990", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:28:08.161176" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:08 -0500 (0:00:00.445) 0:02:57.873 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045194", "end": "2024-12-13 20:28:08.671181", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:08.625987" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:08 -0500 (0:00:00.533) 0:02:58.407 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 13 December 2024 20:28:08 -0500 (0:00:00.124) 0:02:58.532 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 13 December 2024 20:28:09 -0500 (0:00:00.116) 0:02:58.648 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 13 December 2024 20:28:09 -0500 (0:00:00.114) 0:02:58.762 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 13 December 2024 20:28:09 -0500 (0:00:00.119) 0:02:58.882 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 13 December 2024 20:28:09 -0500 (0:00:00.121) 0:02:59.003 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 13 December 2024 20:28:09 -0500 (0:00:00.111) 0:02:59.115 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 13 December 2024 20:28:09 -0500 (0:00:00.129) 0:02:59.245 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 13 December 2024 20:28:09 -0500 (0:00:00.118) 0:02:59.363 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 13 December 2024 20:28:09 -0500 (0:00:00.115) 0:02:59.479 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 13 December 2024 20:28:10 -0500 (0:00:00.232) 0:02:59.711 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 13 December 2024 20:28:10 -0500 (0:00:00.117) 0:02:59.828 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 13 December 2024 20:28:10 -0500 (0:00:00.114) 0:02:59.943 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 13 December 2024 20:28:10 -0500 (0:00:00.110) 0:03:00.054 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 13 December 2024 20:28:10 -0500 (0:00:00.120) 0:03:00.174 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 13 December 2024 20:28:10 -0500 (0:00:00.115) 0:03:00.290 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 13 December 2024 20:28:10 -0500 (0:00:00.116) 0:03:00.406 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 13 December 2024 20:28:10 -0500 (0:00:00.120) 0:03:00.527 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 13 December 2024 20:28:11 -0500 (0:00:00.144) 0:03:00.672 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 13 December 2024 20:28:11 -0500 (0:00:00.115) 0:03:00.787 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 13 December 2024 20:28:11 -0500 (0:00:00.092) 0:03:00.879 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 13 December 2024 20:28:11 -0500 (0:00:00.092) 0:03:00.972 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 13 December 2024 20:28:11 -0500 (0:00:00.076) 0:03:01.049 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 13 December 2024 20:28:11 -0500 (0:00:00.101) 0:03:01.150 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 13 December 2024 20:28:11 -0500 (0:00:00.116) 0:03:01.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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 13 December 2024 20:28:11 -0500 (0:00:00.091) 0:03:01.359 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 13 December 2024 20:28:11 -0500 (0:00:00.094) 0:03:01.454 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 13 December 2024 20:28:11 -0500 (0:00:00.078) 0:03:01.533 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 13 December 2024 20:28:12 -0500 (0:00:00.075) 0:03:01.609 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 13 December 2024 20:28:12 -0500 (0:00:00.097) 0:03:01.707 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 13 December 2024 20:28:12 -0500 (0:00:00.234) 0:03:01.941 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 13 December 2024 20:28:12 -0500 (0:00:00.128) 0:03:02.069 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 13 December 2024 20:28:12 -0500 (0:00:00.115) 0:03:02.185 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 13 December 2024 20:28:12 -0500 (0:00:00.146) 0:03:02.331 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 13 December 2024 20:28:12 -0500 (0:00:00.126) 0:03:02.457 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 13 December 2024 20:28:13 -0500 (0:00:00.128) 0:03:02.585 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 13 December 2024 20:28:13 -0500 (0:00:00.137) 0:03:02.723 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 13 December 2024 20:28:13 -0500 (0:00:00.132) 0:03:02.855 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 13 December 2024 20:28:13 -0500 (0:00:00.142) 0:03:02.997 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 13 December 2024 20:28:13 -0500 (0:00:00.115) 0:03:03.113 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 13 December 2024 20:28:13 -0500 (0:00:00.115) 0:03:03.228 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 13 December 2024 20:28:13 -0500 (0:00:00.138) 0:03:03.367 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 13 December 2024 20:28:13 -0500 (0:00:00.115) 0:03:03.483 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 13 December 2024 20:28:14 -0500 (0:00:00.111) 0:03:03.595 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 13 December 2024 20:28:14 -0500 (0:00:00.111) 0:03:03.706 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 13 December 2024 20:28:14 -0500 (0:00:00.139) 0:03:03.846 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 13 December 2024 20:28:14 -0500 (0:00:00.112) 0:03:03.959 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 13 December 2024 20:28:14 -0500 (0:00:00.115) 0:03:04.074 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 13 December 2024 20:28:14 -0500 (0:00:00.111) 0:03:04.186 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 13 December 2024 20:28:14 -0500 (0:00:00.226) 0:03:04.412 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 13 December 2024 20:28:14 -0500 (0:00:00.113) 0:03:04.525 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 13 December 2024 20:28:15 -0500 (0:00:00.088) 0:03:04.614 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 13 December 2024 20:28:15 -0500 (0:00:00.084) 0:03:04.699 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 13 December 2024 20:28:15 -0500 (0:00:00.091) 0:03:04.790 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 13 December 2024 20:28:15 -0500 (0:00:00.110) 0:03:04.901 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 13 December 2024 20:28:15 -0500 (0:00:00.076) 0:03:04.978 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 13 December 2024 20:28:15 -0500 (0:00:00.113) 0:03:05.091 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 13 December 2024 20:28:15 -0500 (0:00:00.114) 0:03:05.206 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 13 December 2024 20:28:15 -0500 (0:00:00.116) 0:03:05.322 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 13 December 2024 20:28:15 -0500 (0:00:00.102) 0:03:05.424 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 13 December 2024 20:28:15 -0500 (0:00:00.098) 0:03:05.523 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 13 December 2024 20:28:16 -0500 (0:00:00.079) 0:03:05.602 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 13 December 2024 20:28:16 -0500 (0:00:00.083) 0:03:05.686 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 13 December 2024 20:28:16 -0500 (0:00:00.114) 0:03:05.800 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 13 December 2024 20:28:16 -0500 (0:00:00.532) 0:03:06.332 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:27:25 EST", "ActiveEnterTimestampMonotonic": "800563739", "ActiveExitTimestamp": "Fri 2024-12-13 20:27:24 EST", "ActiveExitTimestampMonotonic": "800285831", "ActiveState": "active", "After": "network.target -.mount auditd.service systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:27:25 EST", "AssertTimestampMonotonic": "800562621", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:27:25 EST", "ConditionTimestampMonotonic": "800562620", "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": "25765", "ExecMainStartTimestamp": "Fri 2024-12-13 20:27:25 EST", "ExecMainStartTimestampMonotonic": "800563283", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-12-13 20:27:25 EST] ; stop_time=[n/a] ; pid=25765 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:27:25 EST", "InactiveEnterTimestampMonotonic": "800561361", "InactiveExitTimestamp": "Fri 2024-12-13 20:27:25 EST", "InactiveExitTimestampMonotonic": "800563739", "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": "25765", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:27:25 EST", "WatchdogTimestampMonotonic": "800563706", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 13 December 2024 20:28:17 -0500 (0:00:00.877) 0:03:07.210 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 13 December 2024 20:28:17 -0500 (0:00:00.075) 0:03:07.285 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 13 December 2024 20:28:17 -0500 (0:00:00.077) 0:03:07.363 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 13 December 2024 20:28:18 -0500 (0:00:00.488) 0:03:07.852 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 13 December 2024 20:28:18 -0500 (0:00:00.092) 0:03:07.944 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 13 December 2024 20:28:18 -0500 (0:00:00.099) 0:03:08.043 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 13 December 2024 20:28:18 -0500 (0:00:00.073) 0:03:08.117 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 13 December 2024 20:28:18 -0500 (0:00:00.079) 0:03:08.196 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 13 December 2024 20:28:18 -0500 (0:00:00.113) 0:03:08.309 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 13 December 2024 20:28:18 -0500 (0:00:00.112) 0:03:08.422 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 13 December 2024 20:28:18 -0500 (0:00:00.111) 0:03:08.533 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 13 December 2024 20:28:19 -0500 (0:00:00.113) 0:03:08.647 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 13 December 2024 20:28:19 -0500 (0:00:00.201) 0:03:08.849 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:28:17 EST", "ActiveEnterTimestampMonotonic": "852730460", "ActiveExitTimestamp": "Fri 2024-12-13 20:28:17 EST", "ActiveExitTimestampMonotonic": "852497827", "ActiveState": "active", "After": "network.target -.mount auditd.service systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:28:17 EST", "AssertTimestampMonotonic": "852729610", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:28:17 EST", "ConditionTimestampMonotonic": "852729609", "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": "28174", "ExecMainStartTimestamp": "Fri 2024-12-13 20:28:17 EST", "ExecMainStartTimestampMonotonic": "852730391", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-12-13 20:28:17 EST] ; stop_time=[n/a] ; pid=28174 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:28:17 EST", "InactiveEnterTimestampMonotonic": "852727506", "InactiveExitTimestamp": "Fri 2024-12-13 20:28:17 EST", "InactiveExitTimestampMonotonic": "852730460", "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": "28174", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:28:17 EST", "WatchdogTimestampMonotonic": "852730436", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 13 December 2024 20:28:20 -0500 (0:00:00.843) 0:03:09.692 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003927", "end": "2024-12-13 20:28:20.648880", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:28:20.644953" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 13 December 2024 20:28:20 -0500 (0:00:00.679) 0:03:10.372 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002889", "end": "2024-12-13 20:28:21.140490", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:28:21.137601" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 13 December 2024 20:28:21 -0500 (0:00:00.458) 0:03:10.831 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 13 December 2024 20:28:21 -0500 (0:00:00.091) 0:03:10.922 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 13 December 2024 20:28:22 -0500 (0:00:01.396) 0:03:12.318 ******* 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.030985", "end": "2024-12-13 20:28:23.081777", "rc": 0, "start": "2024-12-13 20:28:23.050792" } 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 13 December 2024 20:28:23 -0500 (0:00:00.477) 0:03:12.796 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 13 December 2024 20:28:23 -0500 (0:00:00.124) 0:03:12.920 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 13 December 2024 20:28:23 -0500 (0:00:00.120) 0:03:13.041 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 13 December 2024 20:28:23 -0500 (0:00:00.114) 0:03:13.155 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 13 December 2024 20:28:23 -0500 (0:00:00.133) 0:03:13.288 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 13 December 2024 20:28:23 -0500 (0:00:00.113) 0:03:13.402 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 13 December 2024 20:28:24 -0500 (0:00:00.218) 0:03:13.621 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 13 December 2024 20:28:24 -0500 (0:00:00.116) 0:03:13.737 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 13 December 2024 20:28:24 -0500 (0:00:00.119) 0:03:13.857 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:28:24 -0500 (0:00:00.203) 0:03:14.061 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003888", "end": "2024-12-13 20:28:24.799987", "rc": 0, "start": "2024-12-13 20:28:24.796099" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.o_21zD TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:28:24 -0500 (0:00:00.445) 0:03:14.506 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:28:25 -0500 (0:00:00.146) 0:03:14.653 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.o_21zD] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:28:25 -0500 (0:00:00.123) 0:03:14.777 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 13 December 2024 20:28:25 -0500 (0:00:00.122) 0:03:14.899 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:28:25 -0500 (0:00:00.210) 0:03:15.110 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003910", "end": "2024-12-13 20:28:25.865098", "rc": 0, "start": "2024-12-13 20:28:25.861188" } STDOUT: tlskey = /etc/pki/tls/private/ansible.IadxfB TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:28:26 -0500 (0:00:00.454) 0:03:15.564 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:28:26 -0500 (0:00:00.143) 0:03:15.708 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.IadxfB] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:28:26 -0500 (0:00:00.125) 0:03:15.833 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 13 December 2024 20:28:26 -0500 (0:00:00.119) 0:03:15.953 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:28:26 -0500 (0:00:00.221) 0:03:16.174 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004482", "end": "2024-12-13 20:28:26.930991", "rc": 0, "start": "2024-12-13 20:28:26.926509" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:28:27 -0500 (0:00:00.581) 0:03:16.756 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:28:27 -0500 (0:00:00.149) 0:03:16.906 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:28:27 -0500 (0:00:00.127) 0:03:17.034 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 13 December 2024 20:28:27 -0500 (0:00:00.121) 0:03:17.155 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:28:27 -0500 (0:00:00.236) 0:03:17.391 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004360", "end": "2024-12-13 20:28:28.143418", "rc": 0, "start": "2024-12-13 20:28:28.139058" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:28:28 -0500 (0:00:00.429) 0:03:17.821 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:28:28 -0500 (0:00:00.084) 0:03:17.906 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:28:28 -0500 (0:00:00.093) 0:03:17.999 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 13 December 2024 20:28:28 -0500 (0:00:00.076) 0:03:18.075 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 13 December 2024 20:28:28 -0500 (0:00:00.072) 0:03:18.148 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 13 December 2024 20:28:29 -0500 (0:00:00.452) 0:03:18.600 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002984", "end": "2024-12-13 20:28:29.727254", "rc": 0, "start": "2024-12-13 20:28:29.724270" } 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.o_21zD tlskey = /etc/pki/tls/private/ansible.IadxfB tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 13 December 2024 20:28:29 -0500 (0:00:00.833) 0:03:19.434 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 13 December 2024 20:28:31 -0500 (0:00:01.213) 0:03:20.647 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 13 December 2024 20:28:31 -0500 (0:00:00.187) 0:03:20.834 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 13 December 2024 20:28:31 -0500 (0:00:00.141) 0:03:20.976 ******* 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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 13 December 2024 20:28:31 -0500 (0:00:00.175) 0:03:21.152 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 13 December 2024 20:28:31 -0500 (0:00:00.112) 0:03:21.264 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 13 December 2024 20:28:31 -0500 (0:00:00.113) 0:03:21.378 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 13 December 2024 20:28:31 -0500 (0:00:00.118) 0:03:21.496 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 13 December 2024 20:28:32 -0500 (0:00:00.113) 0:03:21.609 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 13 December 2024 20:28:32 -0500 (0:00:00.256) 0:03:21.866 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 13 December 2024 20:28:32 -0500 (0:00:00.087) 0:03:21.954 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 13 December 2024 20:28:32 -0500 (0:00:00.080) 0:03:22.035 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 13 December 2024 20:28:32 -0500 (0:00:00.073) 0:03:22.108 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 13 December 2024 20:28:32 -0500 (0:00:00.076) 0:03:22.185 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 13 December 2024 20:28:32 -0500 (0:00:00.076) 0:03:22.261 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 13 December 2024 20:28:32 -0500 (0:00:00.095) 0:03:22.357 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 13 December 2024 20:28:32 -0500 (0:00:00.124) 0:03:22.481 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 13 December 2024 20:28:33 -0500 (0:00:00.103) 0:03:22.585 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 13 December 2024 20:28:33 -0500 (0:00:00.092) 0:03:22.678 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 13 December 2024 20:28:33 -0500 (0:00:00.093) 0:03:22.771 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 13 December 2024 20:28:33 -0500 (0:00:00.075) 0:03:22.847 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 13 December 2024 20:28:33 -0500 (0:00:00.077) 0:03:22.924 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 13 December 2024 20:28:33 -0500 (0:00:00.079) 0:03:23.004 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 13 December 2024 20:28:33 -0500 (0:00:00.109) 0:03:23.113 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 13 December 2024 20:28:35 -0500 (0:00:01.540) 0:03:24.654 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 13 December 2024 20:28:35 -0500 (0:00:00.349) 0:03:25.003 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 13 December 2024 20:28:35 -0500 (0:00:00.126) 0:03:25.130 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 13 December 2024 20:28:35 -0500 (0:00:00.130) 0:03:25.261 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 13 December 2024 20:28:35 -0500 (0:00:00.210) 0:03:25.471 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 13 December 2024 20:28:36 -0500 (0:00:00.586) 0:03:26.058 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 13 December 2024 20:28:36 -0500 (0:00:00.080) 0:03:26.139 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 13 December 2024 20:28:36 -0500 (0:00:00.080) 0:03:26.220 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 13 December 2024 20:28:36 -0500 (0:00:00.086) 0:03:26.306 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 13 December 2024 20:28:36 -0500 (0:00:00.121) 0:03:26.428 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 13 December 2024 20:28:36 -0500 (0:00:00.112) 0:03:26.540 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 13 December 2024 20:28:37 -0500 (0:00:00.104) 0:03:26.644 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 13 December 2024 20:28:37 -0500 (0:00:00.114) 0:03:26.758 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 13 December 2024 20:28:37 -0500 (0:00:00.074) 0:03:26.833 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 13 December 2024 20:28:37 -0500 (0:00:00.687) 0:03:27.521 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 13 December 2024 20:28:38 -0500 (0:00:00.632) 0:03:28.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.004794", "end": "2024-12-13 20:28:38.899077", "rc": 0, "start": "2024-12-13 20:28:38.894283" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 13 December 2024 20:28:39 -0500 (0:00:00.419) 0:03:28.573 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 13 December 2024 20:28:39 -0500 (0:00:00.984) 0:03:29.557 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 13 December 2024 20:28:40 -0500 (0:00:00.153) 0:03:29.710 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 13 December 2024 20:28:40 -0500 (0:00:00.114) 0:03:29.825 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 13 December 2024 20:28:40 -0500 (0:00:00.095) 0:03:29.921 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 13 December 2024 20:28:40 -0500 (0:00:00.125) 0:03:30.046 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 13 December 2024 20:28:40 -0500 (0:00:00.090) 0:03:30.137 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 13 December 2024 20:28:40 -0500 (0:00:00.103) 0:03:30.240 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 13 December 2024 20:28:41 -0500 (0:00:00.658) 0:03:30.899 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:14:15 EST", "ActiveEnterTimestampMonotonic": "10768090", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service network.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:14:14 EST", "AssertTimestampMonotonic": "10053308", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:14:14 EST", "ConditionTimestampMonotonic": "10053306", "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": "851", "ExecMainStartTimestamp": "Fri 2024-12-13 20:14:14 EST", "ExecMainStartTimestampMonotonic": "10053854", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:14:14 EST", "InactiveExitTimestampMonotonic": "10053890", "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": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.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": "Fri 2024-12-13 20:14:15 EST", "WatchdogTimestampMonotonic": "10767357", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 13 December 2024 20:28:42 -0500 (0:00:00.717) 0:03:31.616 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.081582", "end": "2024-12-13 20:28:42.448983", "rc": 0, "start": "2024-12-13 20:28:42.367401" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 13 December 2024 20:28:42 -0500 (0:00:00.558) 0:03:32.175 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 13 December 2024 20:28:42 -0500 (0:00:00.122) 0:03:32.297 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 13 December 2024 20:28:42 -0500 (0:00:00.119) 0:03:32.417 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 13 December 2024 20:28:42 -0500 (0:00:00.102) 0:03:32.519 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 13 December 2024 20:28:43 -0500 (0:00:00.401) 0:03:32.921 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 13 December 2024 20:28:43 -0500 (0:00:00.099) 0:03:33.021 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 13 December 2024 20:28:44 -0500 (0:00:00.623) 0:03:33.644 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 13 December 2024 20:28:44 -0500 (0:00:00.121) 0:03:33.766 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 13 December 2024 20:28:44 -0500 (0:00:00.118) 0:03:33.884 ******* skipping: [managed-node1] => (item=/tmp/ansible.o_21zD) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.o_21zD", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.IadxfB) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.IadxfB", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 13 December 2024 20:28:44 -0500 (0:00:00.151) 0:03:34.035 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:28:44 -0500 (0:00:00.212) 0:03:34.248 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003297", "end": "2024-12-13 20:28:45.005049", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:45.001752" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.o_21zD TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:45 -0500 (0:00:00.463) 0:03:34.712 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:45 -0500 (0:00:00.132) 0:03:34.844 ******* 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.044675", "end": "2024-12-13 20:28:45.679984", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:45.635309" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 13 December 2024 20:28:45 -0500 (0:00:00.566) 0:03:35.410 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:28:46 -0500 (0:00:00.243) 0:03:35.654 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002890", "end": "2024-12-13 20:28:46.599674", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:46.596784" } STDOUT: tlskey = /etc/pki/tls/private/ansible.IadxfB TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:46 -0500 (0:00:00.649) 0:03:36.303 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:46 -0500 (0:00:00.235) 0:03:36.539 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.043630", "end": "2024-12-13 20:28:47.497038", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:47.453408" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 13 December 2024 20:28:47 -0500 (0:00:00.666) 0:03:37.205 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:28:47 -0500 (0:00:00.224) 0:03:37.429 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003546", "end": "2024-12-13 20:28:48.258272", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:48.254726" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:48 -0500 (0:00:00.648) 0:03:38.078 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:48 -0500 (0:00:00.171) 0:03:38.250 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.043850", "end": "2024-12-13 20:28:49.109260", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:49.065410" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 13 December 2024 20:28:49 -0500 (0:00:00.567) 0:03:38.818 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:28:49 -0500 (0:00:00.223) 0:03:39.041 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002849", "end": "2024-12-13 20:28:49.792105", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:49.789256" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:49 -0500 (0:00:00.455) 0:03:39.497 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:50 -0500 (0:00:00.153) 0:03:39.651 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.044765", "end": "2024-12-13 20:28:50.502313", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:50.457548" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 13 December 2024 20:28:50 -0500 (0:00:00.566) 0:03:40.218 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004932", "end": "2024-12-13 20:28:50.959224", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:28:50.954292" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 13 December 2024 20:28:51 -0500 (0:00:00.450) 0:03:40.668 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 13 December 2024 20:28:51 -0500 (0:00:00.138) 0:03:40.806 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 13 December 2024 20:28:51 -0500 (0:00:00.122) 0:03:40.928 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 13 December 2024 20:28:51 -0500 (0:00:00.126) 0:03:41.055 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 13 December 2024 20:28:51 -0500 (0:00:00.127) 0:03:41.182 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 13 December 2024 20:28:51 -0500 (0:00:00.119) 0:03:41.302 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 13 December 2024 20:28:51 -0500 (0:00:00.122) 0:03:41.425 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 13 December 2024 20:28:51 -0500 (0:00:00.123) 0:03:41.549 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 13 December 2024 20:28:52 -0500 (0:00:00.122) 0:03:41.671 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 13 December 2024 20:28:52 -0500 (0:00:00.111) 0:03:41.782 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 13 December 2024 20:28:52 -0500 (0:00:00.127) 0:03:41.909 ******* 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.004477", "end": "2024-12-13 20:28:52.640771", "rc": 0, "start": "2024-12-13 20:28:52.636294" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 13 December 2024 20:28:52 -0500 (0:00:00.406) 0:03:42.315 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 13 December 2024 20:28:52 -0500 (0:00:00.120) 0:03:42.436 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 13 December 2024 20:28:54 -0500 (0:00:01.928) 0:03:44.365 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 13 December 2024 20:28:55 -0500 (0:00:00.199) 0:03:44.564 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 13 December 2024 20:28:55 -0500 (0:00:00.123) 0:03:44.688 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 13 December 2024 20:28:55 -0500 (0:00:00.126) 0:03:44.814 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 13 December 2024 20:28:55 -0500 (0:00:00.127) 0:03:44.942 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:28:55 -0500 (0:00:00.231) 0:03:45.174 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002940", "end": "2024-12-13 20:28:55.915328", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:28:55.912388" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:28:56 -0500 (0:00:00.461) 0:03:45.635 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045936", "end": "2024-12-13 20:28:56.670738", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:28:56.624802" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:28:56 -0500 (0:00:00.847) 0:03:46.482 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 13 December 2024 20:28:57 -0500 (0:00:00.162) 0:03:46.645 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 13 December 2024 20:28:57 -0500 (0:00:00.119) 0:03:46.764 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 13 December 2024 20:28:57 -0500 (0:00:00.118) 0:03:46.883 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 13 December 2024 20:28:57 -0500 (0:00:00.119) 0:03:47.003 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 13 December 2024 20:28:57 -0500 (0:00:00.129) 0:03:47.132 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 13 December 2024 20:28:57 -0500 (0:00:00.384) 0:03:47.517 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 13 December 2024 20:28:58 -0500 (0:00:00.124) 0:03:47.642 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 13 December 2024 20:28:58 -0500 (0:00:00.119) 0:03:47.761 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 13 December 2024 20:28:58 -0500 (0:00:00.128) 0:03:47.889 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 13 December 2024 20:28:58 -0500 (0:00:00.121) 0:03:48.010 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 13 December 2024 20:28:58 -0500 (0:00:00.224) 0:03:48.234 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 13 December 2024 20:28:58 -0500 (0:00:00.120) 0:03:48.355 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 13 December 2024 20:28:58 -0500 (0:00:00.164) 0:03:48.520 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 13 December 2024 20:28:59 -0500 (0:00:00.143) 0:03:48.663 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 13 December 2024 20:28:59 -0500 (0:00:00.204) 0:03:48.868 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 13 December 2024 20:28:59 -0500 (0:00:00.196) 0:03:49.065 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 13 December 2024 20:28:59 -0500 (0:00:00.140) 0:03:49.205 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 13 December 2024 20:28:59 -0500 (0:00:00.140) 0:03:49.345 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 13 December 2024 20:28:59 -0500 (0:00:00.128) 0:03:49.474 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 13 December 2024 20:29:00 -0500 (0:00:00.159) 0:03:49.633 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 13 December 2024 20:29:00 -0500 (0:00:00.113) 0:03:49.747 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 13 December 2024 20:29:00 -0500 (0:00:00.210) 0:03:49.958 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 13 December 2024 20:29:00 -0500 (0:00:00.121) 0:03:50.080 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 13 December 2024 20:29:00 -0500 (0:00:00.122) 0:03:50.203 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 13 December 2024 20:29:00 -0500 (0:00:00.261) 0:03:50.464 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 13 December 2024 20:29:01 -0500 (0:00:00.101) 0:03:50.566 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 13 December 2024 20:29:01 -0500 (0:00:00.120) 0:03:50.686 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 13 December 2024 20:29:01 -0500 (0:00:00.084) 0:03:50.771 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 13 December 2024 20:29:01 -0500 (0:00:00.079) 0:03:50.850 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 13 December 2024 20:29:01 -0500 (0:00:00.077) 0:03:50.928 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 13 December 2024 20:29:01 -0500 (0:00:00.076) 0:03:51.005 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 13 December 2024 20:29:01 -0500 (0:00:00.078) 0:03:51.083 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 13 December 2024 20:29:01 -0500 (0:00:00.077) 0:03:51.161 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 13 December 2024 20:29:01 -0500 (0:00:00.077) 0:03:51.238 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 13 December 2024 20:29:01 -0500 (0:00:00.077) 0:03:51.316 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 13 December 2024 20:29:01 -0500 (0:00:00.073) 0:03:51.390 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 13 December 2024 20:29:01 -0500 (0:00:00.076) 0:03:51.466 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 13 December 2024 20:29:02 -0500 (0:00:00.100) 0:03:51.566 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 13 December 2024 20:29:02 -0500 (0:00:00.108) 0:03:51.674 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 13 December 2024 20:29:02 -0500 (0:00:00.135) 0:03:51.810 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 13 December 2024 20:29:02 -0500 (0:00:00.143) 0:03:51.953 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 13 December 2024 20:29:02 -0500 (0:00:00.120) 0:03:52.074 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 13 December 2024 20:29:02 -0500 (0:00:00.116) 0:03:52.190 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 13 December 2024 20:29:02 -0500 (0:00:00.254) 0:03:52.444 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 13 December 2024 20:29:03 -0500 (0:00:00.121) 0:03:52.566 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 13 December 2024 20:29:03 -0500 (0:00:00.123) 0:03:52.690 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 13 December 2024 20:29:03 -0500 (0:00:00.120) 0:03:52.811 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 13 December 2024 20:29:03 -0500 (0:00:00.104) 0:03:52.915 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 13 December 2024 20:29:03 -0500 (0:00:00.084) 0:03:52.999 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 13 December 2024 20:29:03 -0500 (0:00:00.078) 0:03:53.078 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 13 December 2024 20:29:03 -0500 (0:00:00.078) 0:03:53.156 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 13 December 2024 20:29:03 -0500 (0:00:00.078) 0:03:53.234 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 13 December 2024 20:29:03 -0500 (0:00:00.130) 0:03:53.364 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 13 December 2024 20:29:03 -0500 (0:00:00.138) 0:03:53.503 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 13 December 2024 20:29:04 -0500 (0:00:00.118) 0:03:53.621 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 13 December 2024 20:29:04 -0500 (0:00:00.122) 0:03:53.743 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 13 December 2024 20:29:04 -0500 (0:00:00.130) 0:03:53.874 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 13 December 2024 20:29:04 -0500 (0:00:00.133) 0:03:54.008 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 13 December 2024 20:29:04 -0500 (0:00:00.135) 0:03:54.143 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 13 December 2024 20:29:04 -0500 (0:00:00.119) 0:03:54.262 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 13 December 2024 20:29:04 -0500 (0:00:00.115) 0:03:54.377 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 13 December 2024 20:29:04 -0500 (0:00:00.122) 0:03:54.500 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 13 December 2024 20:29:05 -0500 (0:00:00.117) 0:03:54.617 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 13 December 2024 20:29:05 -0500 (0:00:00.834) 0:03:55.452 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:28:17 EST", "ActiveEnterTimestampMonotonic": "852730460", "ActiveExitTimestamp": "Fri 2024-12-13 20:28:17 EST", "ActiveExitTimestampMonotonic": "852497827", "ActiveState": "active", "After": "network.target -.mount auditd.service systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:28:17 EST", "AssertTimestampMonotonic": "852729610", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:28:17 EST", "ConditionTimestampMonotonic": "852729609", "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": "28174", "ExecMainStartTimestamp": "Fri 2024-12-13 20:28:17 EST", "ExecMainStartTimestampMonotonic": "852730391", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-12-13 20:28:17 EST] ; stop_time=[n/a] ; pid=28174 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:28:17 EST", "InactiveEnterTimestampMonotonic": "852727506", "InactiveExitTimestamp": "Fri 2024-12-13 20:28:17 EST", "InactiveExitTimestampMonotonic": "852730460", "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": "28174", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:28:17 EST", "WatchdogTimestampMonotonic": "852730436", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 13 December 2024 20:29:07 -0500 (0:00:01.209) 0:03:56.662 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 13 December 2024 20:29:07 -0500 (0:00:00.120) 0:03:56.782 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 13 December 2024 20:29:07 -0500 (0:00:00.135) 0:03:56.918 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 13 December 2024 20:29:08 -0500 (0:00:01.100) 0:03:58.018 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 13 December 2024 20:29:08 -0500 (0:00:00.114) 0:03:58.132 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 13 December 2024 20:29:08 -0500 (0:00:00.093) 0:03:58.226 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 13 December 2024 20:29:08 -0500 (0:00:00.114) 0:03:58.340 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 13 December 2024 20:29:08 -0500 (0:00:00.076) 0:03:58.417 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 13 December 2024 20:29:08 -0500 (0:00:00.106) 0:03:58.523 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 13 December 2024 20:29:09 -0500 (0:00:00.108) 0:03:58.632 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 13 December 2024 20:29:09 -0500 (0:00:00.447) 0:03:59.079 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 13 December 2024 20:29:09 -0500 (0:00:00.191) 0:03:59.270 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 13 December 2024 20:29:10 -0500 (0:00:00.354) 0:03:59.625 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:29:06 EST", "ActiveEnterTimestampMonotonic": "902159391", "ActiveExitTimestamp": "Fri 2024-12-13 20:29:06 EST", "ActiveExitTimestampMonotonic": "901768096", "ActiveState": "active", "After": "network.target -.mount auditd.service systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:29:06 EST", "AssertTimestampMonotonic": "902158337", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:29:06 EST", "ConditionTimestampMonotonic": "902158335", "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": "30294", "ExecMainStartTimestamp": "Fri 2024-12-13 20:29:06 EST", "ExecMainStartTimestampMonotonic": "902159326", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-12-13 20:29:06 EST] ; stop_time=[n/a] ; pid=30294 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:29:06 EST", "InactiveEnterTimestampMonotonic": "902157866", "InactiveExitTimestamp": "Fri 2024-12-13 20:29:06 EST", "InactiveExitTimestampMonotonic": "902159391", "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": "30294", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:29:06 EST", "WatchdogTimestampMonotonic": "902159366", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 13 December 2024 20:29:10 -0500 (0:00:00.800) 0:04:00.426 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003863", "end": "2024-12-13 20:29:11.182823", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:29:11.178960" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 13 December 2024 20:29:11 -0500 (0:00:00.465) 0:04:00.892 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002849", "end": "2024-12-13 20:29:11.734510", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:29:11.731661" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 13 December 2024 20:29:11 -0500 (0:00:00.505) 0:04:01.397 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 13 December 2024 20:29:12 -0500 (0:00:00.173) 0:04:01.571 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 13 December 2024 20:29:13 -0500 (0:00:01.548) 0:04:03.120 ******* 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.022684", "end": "2024-12-13 20:29:13.995053", "rc": 0, "start": "2024-12-13 20:29:13.972369" } 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 13 December 2024 20:29:14 -0500 (0:00:00.585) 0:04:03.706 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 13 December 2024 20:29:14 -0500 (0:00:00.127) 0:04:03.833 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 13 December 2024 20:29:14 -0500 (0:00:00.149) 0:04:03.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 13 December 2024 20:29:14 -0500 (0:00:00.160) 0:04:04.143 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 13 December 2024 20:29:14 -0500 (0:00:00.275) 0:04:04.419 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 13 December 2024 20:29:14 -0500 (0:00:00.115) 0:04:04.534 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 13 December 2024 20:29:15 -0500 (0:00:00.171) 0:04:04.705 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 13 December 2024 20:29:15 -0500 (0:00:00.117) 0:04:04.823 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 13 December 2024 20:29:15 -0500 (0:00:00.122) 0:04:04.945 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:29:15 -0500 (0:00:00.328) 0:04:05.273 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004337", "end": "2024-12-13 20:29:16.084516", "rc": 0, "start": "2024-12-13 20:29:16.080179" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:29:16 -0500 (0:00:00.629) 0:04:05.903 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:29:16 -0500 (0:00:00.218) 0:04:06.121 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:29:16 -0500 (0:00:00.158) 0:04:06.280 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 13 December 2024 20:29:16 -0500 (0:00:00.142) 0:04:06.422 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:29:17 -0500 (0:00:00.253) 0:04:06.675 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003896", "end": "2024-12-13 20:29:17.521752", "rc": 0, "start": "2024-12-13 20:29:17.517856" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:29:17 -0500 (0:00:00.517) 0:04:07.193 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:29:17 -0500 (0:00:00.167) 0:04:07.360 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:29:18 -0500 (0:00:00.211) 0:04:07.572 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 13 December 2024 20:29:18 -0500 (0:00:00.117) 0:04:07.689 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:29:18 -0500 (0:00:00.434) 0:04:08.124 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004058", "end": "2024-12-13 20:29:19.022048", "rc": 0, "start": "2024-12-13 20:29:19.017990" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:29:19 -0500 (0:00:00.639) 0:04:08.763 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:29:19 -0500 (0:00:00.232) 0:04:08.995 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:29:19 -0500 (0:00:00.211) 0:04:09.207 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 13 December 2024 20:29:19 -0500 (0:00:00.129) 0:04:09.336 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:29:20 -0500 (0:00:00.300) 0:04:09.637 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003928", "end": "2024-12-13 20:29:20.421166", "rc": 0, "start": "2024-12-13 20:29:20.417238" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:29:20 -0500 (0:00:00.530) 0:04:10.168 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:29:20 -0500 (0:00:00.126) 0:04:10.295 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:29:20 -0500 (0:00:00.149) 0:04:10.444 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 13 December 2024 20:29:21 -0500 (0:00:00.122) 0:04:10.567 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 13 December 2024 20:29:21 -0500 (0:00:00.119) 0:04:10.686 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 13 December 2024 20:29:23 -0500 (0:00:02.563) 0:04:13.249 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 13 December 2024 20:29:24 -0500 (0:00:00.375) 0:04:13.625 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 13 December 2024 20:29:24 -0500 (0:00:00.207) 0:04:13.833 ******* 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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 13 December 2024 20:29:24 -0500 (0:00:00.200) 0:04:14.033 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 13 December 2024 20:29:24 -0500 (0:00:00.133) 0:04:14.166 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 13 December 2024 20:29:24 -0500 (0:00:00.115) 0:04:14.282 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 13 December 2024 20:29:24 -0500 (0:00:00.123) 0:04:14.406 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 13 December 2024 20:29:24 -0500 (0:00:00.134) 0:04:14.540 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 13 December 2024 20:29:25 -0500 (0:00:00.117) 0:04:14.658 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 13 December 2024 20:29:25 -0500 (0:00:00.370) 0:04:15.028 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 13 December 2024 20:29:25 -0500 (0:00:00.233) 0:04:15.262 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 13 December 2024 20:29:25 -0500 (0:00:00.157) 0:04:15.420 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 13 December 2024 20:29:26 -0500 (0:00:00.198) 0:04:15.619 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 13 December 2024 20:29:26 -0500 (0:00:00.135) 0:04:15.754 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 13 December 2024 20:29:26 -0500 (0:00:00.118) 0:04:15.872 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 13 December 2024 20:29:26 -0500 (0:00:00.142) 0:04:16.015 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 13 December 2024 20:29:26 -0500 (0:00:00.127) 0:04:16.142 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 13 December 2024 20:29:26 -0500 (0:00:00.096) 0:04:16.239 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 13 December 2024 20:29:26 -0500 (0:00:00.080) 0:04:16.319 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 13 December 2024 20:29:26 -0500 (0:00:00.117) 0:04:16.436 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 13 December 2024 20:29:27 -0500 (0:00:00.131) 0:04:16.568 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 13 December 2024 20:29:27 -0500 (0:00:00.140) 0:04:16.708 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 13 December 2024 20:29:27 -0500 (0:00:00.123) 0:04:16.831 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 13 December 2024 20:29:29 -0500 (0:00:01.738) 0:04:18.570 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 13 December 2024 20:29:29 -0500 (0:00:00.340) 0:04:18.911 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 13 December 2024 20:29:29 -0500 (0:00:00.117) 0:04:19.029 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 13 December 2024 20:29:29 -0500 (0:00:00.128) 0:04:19.158 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 13 December 2024 20:29:29 -0500 (0:00:00.213) 0:04:19.371 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 13 December 2024 20:29:30 -0500 (0:00:00.771) 0:04:20.143 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 13 December 2024 20:29:30 -0500 (0:00:00.244) 0:04:20.388 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 13 December 2024 20:29:31 -0500 (0:00:00.214) 0:04:20.602 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 13 December 2024 20:29:31 -0500 (0:00:00.222) 0:04:20.825 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 13 December 2024 20:29:31 -0500 (0:00:00.220) 0:04:21.046 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 13 December 2024 20:29:31 -0500 (0:00:00.232) 0:04:21.279 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 13 December 2024 20:29:31 -0500 (0:00:00.264) 0:04:21.543 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 13 December 2024 20:29:32 -0500 (0:00:00.214) 0:04:21.758 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 13 December 2024 20:29:32 -0500 (0:00:00.138) 0:04:21.896 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 13 December 2024 20:29:33 -0500 (0:00:00.675) 0:04:22.572 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 13 December 2024 20:29:33 -0500 (0:00:00.932) 0:04:23.505 ******* 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.004814", "end": "2024-12-13 20:29:34.536058", "rc": 0, "start": "2024-12-13 20:29:34.531244" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 13 December 2024 20:29:34 -0500 (0:00:00.901) 0:04:24.406 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 13 December 2024 20:29:36 -0500 (0:00:01.432) 0:04:25.838 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 13 December 2024 20:29:36 -0500 (0:00:00.270) 0:04:26.109 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 13 December 2024 20:29:36 -0500 (0:00:00.201) 0:04:26.310 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 13 December 2024 20:29:36 -0500 (0:00:00.209) 0:04:26.519 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 13 December 2024 20:29:37 -0500 (0:00:00.271) 0:04:26.791 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 13 December 2024 20:29:37 -0500 (0:00:00.168) 0:04:26.960 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 13 December 2024 20:29:37 -0500 (0:00:00.215) 0:04:27.175 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 13 December 2024 20:29:38 -0500 (0:00:00.972) 0:04:28.147 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:14:15 EST", "ActiveEnterTimestampMonotonic": "10768090", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service network.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:14:14 EST", "AssertTimestampMonotonic": "10053308", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:14:14 EST", "ConditionTimestampMonotonic": "10053306", "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": "851", "ExecMainStartTimestamp": "Fri 2024-12-13 20:14:14 EST", "ExecMainStartTimestampMonotonic": "10053854", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:14:14 EST", "InactiveExitTimestampMonotonic": "10053890", "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": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.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": "Fri 2024-12-13 20:14:15 EST", "WatchdogTimestampMonotonic": "10767357", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 13 December 2024 20:29:39 -0500 (0:00:00.647) 0:04:28.794 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.081756", "end": "2024-12-13 20:29:39.811219", "rc": 0, "start": "2024-12-13 20:29:39.729463" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 13 December 2024 20:29:40 -0500 (0:00:00.868) 0:04:29.663 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 13 December 2024 20:29:40 -0500 (0:00:00.197) 0:04:29.860 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 13 December 2024 20:29:40 -0500 (0:00:00.186) 0:04:30.047 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 13 December 2024 20:29:40 -0500 (0:00:00.150) 0:04:30.198 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 13 December 2024 20:29:41 -0500 (0:00:00.602) 0:04:30.801 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 13 December 2024 20:29:41 -0500 (0:00:00.141) 0:04:30.942 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 13 December 2024 20:29:42 -0500 (0:00:01.165) 0:04:32.107 ******* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 13 December 2024 20:29:42 -0500 (0:00:00.412) 0:04:32.520 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 13 December 2024 20:29:43 -0500 (0:00:00.260) 0:04:32.780 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 13 December 2024 20:29:43 -0500 (0:00:00.181) 0:04:32.961 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 13 December 2024 20:29:43 -0500 (0:00:00.490) 0:04:33.451 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 13 December 2024 20:29:44 -0500 (0:00:00.141) 0:04:33.593 ******* 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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 13 December 2024 20:29:44 -0500 (0:00:00.380) 0:04:33.973 ******* 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" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 13 December 2024 20:29:48 -0500 (0:00:04.508) 0:04:38.482 ******* 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 2.6 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 13 December 2024 20:29:53 -0500 (0:00:04.594) 0:04:43.077 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 13 December 2024 20:29:54 -0500 (0:00:00.526) 0:04:43.603 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 13 December 2024 20:29:54 -0500 (0:00:00.546) 0:04:44.150 ******* 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": "basic.target syslog.target network.target systemd-journald.socket system.slice dbus.service", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 13 December 2024 20:29:55 -0500 (0:00:00.739) 0:04:44.890 ******* changed: [managed-node1] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.55', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.45.55", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 13 December 2024 20:29:57 -0500 (0:00:01.911) 0:04:46.802 ******* 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.45.55', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.45.55", "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.45.55', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.45.55", "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.45.55', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.45.55", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 13 December 2024 20:29:57 -0500 (0:00:00.215) 0:04:47.018 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 13 December 2024 20:29:57 -0500 (0:00:00.180) 0:04:47.198 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 13 December 2024 20:29:57 -0500 (0:00:00.146) 0:04:47.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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 13 December 2024 20:29:57 -0500 (0:00:00.141) 0:04:47.487 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 13 December 2024 20:29:58 -0500 (0:00:00.143) 0:04:47.630 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 13 December 2024 20:29:58 -0500 (0:00:00.160) 0:04:47.790 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:29:58 -0500 (0:00:00.205) 0:04:47.996 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003360", "end": "2024-12-13 20:29:58.769991", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:29:58.766631" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:29:59 -0500 (0:00:00.581) 0:04:48.577 ******* 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.044940", "end": "2024-12-13 20:29:59.501576", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:29:59.456636" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:29:59 -0500 (0:00:00.778) 0:04:49.355 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 13 December 2024 20:29:59 -0500 (0:00:00.132) 0:04:49.488 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:30:00 -0500 (0:00:00.239) 0:04:49.727 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003134", "end": "2024-12-13 20:30:00.624017", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:30:00.620883" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:30:00 -0500 (0:00:00.740) 0:04:50.468 ******* 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.045277", "end": "2024-12-13 20:30:01.362609", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:30:01.317332" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:30:01 -0500 (0:00:00.629) 0:04:51.097 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 13 December 2024 20:30:01 -0500 (0:00:00.202) 0:04:51.300 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:30:01 -0500 (0:00:00.235) 0:04:51.536 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002922", "end": "2024-12-13 20:30:02.562124", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:30:02.559202" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:30:02 -0500 (0:00:00.754) 0:04:52.291 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.044982", "end": "2024-12-13 20:30:03.093498", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:30:03.048516" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:30:03 -0500 (0:00:00.591) 0:04:52.882 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 13 December 2024 20:30:03 -0500 (0:00:00.164) 0:04:53.046 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:30:03 -0500 (0:00:00.203) 0:04:53.250 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002922", "end": "2024-12-13 20:30:04.083474", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:30:04.080552" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:30:04 -0500 (0:00:00.612) 0:04:53.863 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.044658", "end": "2024-12-13 20:30:04.666076", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:30:04.621418" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:30:04 -0500 (0:00:00.652) 0:04:54.515 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 13 December 2024 20:30:05 -0500 (0:00:00.126) 0:04:54.641 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005087", "end": "2024-12-13 20:30:05.558023", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:30:05.552936" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 13 December 2024 20:30:05 -0500 (0:00:00.715) 0:04:55.357 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 13 December 2024 20:30:05 -0500 (0:00:00.128) 0:04:55.485 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 13 December 2024 20:30:06 -0500 (0:00:00.181) 0:04:55.667 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 13 December 2024 20:30:06 -0500 (0:00:00.139) 0:04:55.806 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 13 December 2024 20:30:06 -0500 (0:00:00.127) 0:04:55.934 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 13 December 2024 20:30:06 -0500 (0:00:00.129) 0:04:56.064 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 13 December 2024 20:30:06 -0500 (0:00:00.153) 0:04:56.217 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 13 December 2024 20:30:06 -0500 (0:00:00.180) 0:04:56.398 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 13 December 2024 20:30:06 -0500 (0:00:00.123) 0:04:56.521 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 13 December 2024 20:30:07 -0500 (0:00:00.098) 0:04:56.620 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 13 December 2024 20:30:07 -0500 (0:00:00.111) 0:04:56.731 ******* 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.004662", "end": "2024-12-13 20:30:07.472571", "rc": 0, "start": "2024-12-13 20:30:07.467909" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 13 December 2024 20:30:07 -0500 (0:00:00.464) 0:04:57.195 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 13 December 2024 20:30:07 -0500 (0:00:00.151) 0:04:57.346 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 13 December 2024 20:30:09 -0500 (0:00:02.212) 0:04:59.558 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 13 December 2024 20:30:10 -0500 (0:00:00.135) 0:04:59.694 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 13 December 2024 20:30:10 -0500 (0:00:00.130) 0:04:59.824 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 13 December 2024 20:30:10 -0500 (0:00:00.177) 0:05:00.002 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 13 December 2024 20:30:10 -0500 (0:00:00.223) 0:05:00.225 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:30:11 -0500 (0:00:00.386) 0:05:00.611 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003392", "end": "2024-12-13 20:30:11.601453", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:30:11.598061" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:30:11 -0500 (0:00:00.769) 0:05:01.381 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045255", "end": "2024-12-13 20:30:12.231946", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:30:12.186691" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:30:12 -0500 (0:00:00.651) 0:05:02.033 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 13 December 2024 20:30:12 -0500 (0:00:00.122) 0:05:02.155 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 13 December 2024 20:30:12 -0500 (0:00:00.134) 0:05:02.290 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 13 December 2024 20:30:12 -0500 (0:00:00.149) 0:05:02.439 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 13 December 2024 20:30:12 -0500 (0:00:00.118) 0:05:02.558 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 13 December 2024 20:30:13 -0500 (0:00:00.131) 0:05:02.690 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 13 December 2024 20:30:13 -0500 (0:00:00.151) 0:05:02.841 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 13 December 2024 20:30:13 -0500 (0:00:00.135) 0:05:02.977 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 13 December 2024 20:30:13 -0500 (0:00:00.383) 0:05:03.360 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 13 December 2024 20:30:13 -0500 (0:00:00.161) 0:05:03.521 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 13 December 2024 20:30:14 -0500 (0:00:00.143) 0:05:03.665 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 13 December 2024 20:30:14 -0500 (0:00:00.134) 0:05:03.800 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 13 December 2024 20:30:14 -0500 (0:00:00.143) 0:05:03.943 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 13 December 2024 20:30:14 -0500 (0:00:00.155) 0:05:04.099 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 13 December 2024 20:30:14 -0500 (0:00:00.144) 0:05:04.243 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 13 December 2024 20:30:14 -0500 (0:00:00.205) 0:05:04.448 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 13 December 2024 20:30:15 -0500 (0:00:00.239) 0:05:04.688 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 13 December 2024 20:30:15 -0500 (0:00:00.297) 0:05:04.986 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 13 December 2024 20:30:15 -0500 (0:00:00.248) 0:05:05.234 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 13 December 2024 20:30:15 -0500 (0:00:00.151) 0:05:05.386 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 13 December 2024 20:30:15 -0500 (0:00:00.143) 0:05:05.530 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 13 December 2024 20:30:16 -0500 (0:00:00.239) 0:05:05.769 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 13 December 2024 20:30:16 -0500 (0:00:00.177) 0:05:05.947 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 13 December 2024 20:30:16 -0500 (0:00:00.156) 0:05:06.104 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 13 December 2024 20:30:16 -0500 (0:00:00.120) 0:05:06.225 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 13 December 2024 20:30:16 -0500 (0:00:00.124) 0:05:06.350 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 13 December 2024 20:30:16 -0500 (0:00:00.124) 0:05:06.474 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 13 December 2024 20:30:17 -0500 (0:00:00.294) 0:05:06.769 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 13 December 2024 20:30:17 -0500 (0:00:00.136) 0:05:06.905 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 13 December 2024 20:30:17 -0500 (0:00:00.119) 0:05:07.025 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 13 December 2024 20:30:17 -0500 (0:00:00.151) 0:05:07.176 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 13 December 2024 20:30:17 -0500 (0:00:00.199) 0:05:07.376 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 13 December 2024 20:30:17 -0500 (0:00:00.161) 0:05:07.538 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 13 December 2024 20:30:18 -0500 (0:00:00.140) 0:05:07.679 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 13 December 2024 20:30:18 -0500 (0:00:00.126) 0:05:07.806 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 13 December 2024 20:30:18 -0500 (0:00:00.183) 0:05:07.990 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 13 December 2024 20:30:18 -0500 (0:00:00.150) 0:05:08.140 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 13 December 2024 20:30:18 -0500 (0:00:00.157) 0:05:08.297 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 13 December 2024 20:30:18 -0500 (0:00:00.144) 0:05:08.441 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 13 December 2024 20:30:19 -0500 (0:00:00.124) 0:05:08.566 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 13 December 2024 20:30:19 -0500 (0:00:00.107) 0:05:08.673 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 13 December 2024 20:30:19 -0500 (0:00:00.121) 0:05:08.795 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 13 December 2024 20:30:19 -0500 (0:00:00.079) 0:05:08.875 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 13 December 2024 20:30:19 -0500 (0:00:00.100) 0:05:08.975 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 13 December 2024 20:30:19 -0500 (0:00:00.117) 0:05:09.093 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 13 December 2024 20:30:20 -0500 (0:00:00.507) 0:05:09.600 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 13 December 2024 20:30:20 -0500 (0:00:00.207) 0:05:09.808 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 13 December 2024 20:30:20 -0500 (0:00:00.206) 0:05:10.015 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 13 December 2024 20:30:20 -0500 (0:00:00.129) 0:05:10.144 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 13 December 2024 20:30:20 -0500 (0:00:00.189) 0:05:10.334 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 13 December 2024 20:30:21 -0500 (0:00:00.273) 0:05:10.607 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 13 December 2024 20:30:21 -0500 (0:00:00.169) 0:05:10.776 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 13 December 2024 20:30:21 -0500 (0:00:00.152) 0:05:10.928 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 13 December 2024 20:30:21 -0500 (0:00:00.121) 0:05:11.050 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 13 December 2024 20:30:21 -0500 (0:00:00.162) 0:05:11.213 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 13 December 2024 20:30:21 -0500 (0:00:00.155) 0:05:11.368 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 13 December 2024 20:30:21 -0500 (0:00:00.134) 0:05:11.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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 13 December 2024 20:30:22 -0500 (0:00:00.130) 0:05:11.633 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 13 December 2024 20:30:22 -0500 (0:00:00.130) 0:05:11.764 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 13 December 2024 20:30:22 -0500 (0:00:00.148) 0:05:11.913 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 13 December 2024 20:30:22 -0500 (0:00:00.122) 0:05:12.035 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 13 December 2024 20:30:22 -0500 (0:00:00.127) 0:05:12.162 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 13 December 2024 20:30:22 -0500 (0:00:00.126) 0:05:12.288 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 13 December 2024 20:30:22 -0500 (0:00:00.131) 0:05:12.420 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 13 December 2024 20:30:23 -0500 (0:00:00.840) 0:05:13.260 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:29:06 EST", "ActiveEnterTimestampMonotonic": "902159391", "ActiveExitTimestamp": "Fri 2024-12-13 20:29:06 EST", "ActiveExitTimestampMonotonic": "901768096", "ActiveState": "active", "After": "basic.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:29:06 EST", "AssertTimestampMonotonic": "902158337", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:29:06 EST", "ConditionTimestampMonotonic": "902158335", "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": "30294", "ExecMainStartTimestamp": "Fri 2024-12-13 20:29:06 EST", "ExecMainStartTimestampMonotonic": "902159326", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:29:06 EST", "InactiveEnterTimestampMonotonic": "902157866", "InactiveExitTimestamp": "Fri 2024-12-13 20:29:06 EST", "InactiveExitTimestampMonotonic": "902159391", "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": "30294", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:29:06 EST", "WatchdogTimestampMonotonic": "902159366", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 13 December 2024 20:30:25 -0500 (0:00:01.510) 0:05:14.771 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 13 December 2024 20:30:25 -0500 (0:00:00.272) 0:05:15.043 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 13 December 2024 20:30:25 -0500 (0:00:00.210) 0:05:15.254 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 13 December 2024 20:30:27 -0500 (0:00:01.324) 0:05:16.579 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 13 December 2024 20:30:27 -0500 (0:00:00.117) 0:05:16.697 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 13 December 2024 20:30:27 -0500 (0:00:00.107) 0:05:16.804 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 13 December 2024 20:30:27 -0500 (0:00:00.099) 0:05:16.903 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 13 December 2024 20:30:27 -0500 (0:00:00.084) 0:05:16.987 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 13 December 2024 20:30:27 -0500 (0:00:00.086) 0:05:17.074 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 13 December 2024 20:30:27 -0500 (0:00:00.210) 0:05:17.285 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 13 December 2024 20:30:27 -0500 (0:00:00.081) 0:05:17.366 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 13 December 2024 20:30:27 -0500 (0:00:00.077) 0:05:17.444 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 13 December 2024 20:30:28 -0500 (0:00:00.141) 0:05:17.586 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:30:24 EST", "ActiveEnterTimestampMonotonic": "980199148", "ActiveExitTimestamp": "Fri 2024-12-13 20:30:24 EST", "ActiveExitTimestampMonotonic": "979717282", "ActiveState": "active", "After": "basic.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:30:24 EST", "AssertTimestampMonotonic": "980198446", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:30:24 EST", "ConditionTimestampMonotonic": "980198445", "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": "453", "ExecMainStartTimestamp": "Fri 2024-12-13 20:30:24 EST", "ExecMainStartTimestampMonotonic": "980199068", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-12-13 20:30:24 EST] ; stop_time=[n/a] ; pid=453 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:30:24 EST", "InactiveEnterTimestampMonotonic": "980196404", "InactiveExitTimestamp": "Fri 2024-12-13 20:30:24 EST", "InactiveExitTimestampMonotonic": "980199148", "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": "453", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:30:24 EST", "WatchdogTimestampMonotonic": "980199120", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 13 December 2024 20:30:28 -0500 (0:00:00.614) 0:05:18.200 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002902", "end": "2024-12-13 20:30:28.955826", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:30:28.952924" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 13 December 2024 20:30:29 -0500 (0:00:00.465) 0:05:18.665 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002838", "end": "2024-12-13 20:30:29.404924", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:30:29.402086" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 13 December 2024 20:30:29 -0500 (0:00:00.402) 0:05:19.068 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 13 December 2024 20:30:29 -0500 (0:00:00.104) 0:05:19.172 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 13 December 2024 20:30:31 -0500 (0:00:01.408) 0:05:20.581 ******* 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.022958", "end": "2024-12-13 20:30:31.305322", "rc": 0, "start": "2024-12-13 20:30:31.282364" } 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 13 December 2024 20:30:31 -0500 (0:00:00.431) 0:05:21.013 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 13 December 2024 20:30:31 -0500 (0:00:00.105) 0:05:21.118 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 13 December 2024 20:30:31 -0500 (0:00:00.084) 0:05:21.203 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 13 December 2024 20:30:31 -0500 (0:00:00.088) 0:05:21.291 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 13 December 2024 20:30:31 -0500 (0:00:00.252) 0:05:21.544 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 13 December 2024 20:30:32 -0500 (0:00:00.110) 0:05:21.654 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 13 December 2024 20:30:32 -0500 (0:00:00.135) 0:05:21.789 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 13 December 2024 20:30:32 -0500 (0:00:00.123) 0:05:21.913 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 13 December 2024 20:30:32 -0500 (0:00:00.117) 0:05:22.031 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:30:32 -0500 (0:00:00.228) 0:05:22.260 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003825", "end": "2024-12-13 20:30:32.992014", "rc": 0, "start": "2024-12-13 20:30:32.988189" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:30:33 -0500 (0:00:00.397) 0:05:22.657 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:30:33 -0500 (0:00:00.103) 0:05:22.760 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:30:33 -0500 (0:00:00.085) 0:05:22.846 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 13 December 2024 20:30:33 -0500 (0:00:00.080) 0:05:22.926 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:30:33 -0500 (0:00:00.197) 0:05:23.124 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003820", "end": "2024-12-13 20:30:33.876915", "rc": 0, "start": "2024-12-13 20:30:33.873095" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:30:34 -0500 (0:00:00.461) 0:05:23.586 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:30:34 -0500 (0:00:00.153) 0:05:23.740 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:30:34 -0500 (0:00:00.135) 0:05:23.875 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 13 December 2024 20:30:34 -0500 (0:00:00.103) 0:05:23.978 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:30:34 -0500 (0:00:00.346) 0:05:24.325 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003937", "end": "2024-12-13 20:30:35.210660", "rc": 0, "start": "2024-12-13 20:30:35.206723" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:30:35 -0500 (0:00:00.549) 0:05:24.875 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:30:35 -0500 (0:00:00.123) 0:05:24.998 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:30:35 -0500 (0:00:00.119) 0:05:25.118 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 13 December 2024 20:30:35 -0500 (0:00:00.107) 0:05:25.226 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 13 December 2024 20:30:35 -0500 (0:00:00.166) 0:05:25.392 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004473", "end": "2024-12-13 20:30:36.386703", "rc": 0, "start": "2024-12-13 20:30:36.382230" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 13 December 2024 20:30:36 -0500 (0:00:00.804) 0:05:26.196 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 13 December 2024 20:30:36 -0500 (0:00:00.170) 0:05:26.367 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 13 December 2024 20:30:36 -0500 (0:00:00.173) 0:05:26.541 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 13 December 2024 20:30:37 -0500 (0:00:00.129) 0:05:26.670 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 13 December 2024 20:30:37 -0500 (0:00:00.136) 0:05:26.807 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 13 December 2024 20:30:40 -0500 (0:00:02.977) 0:05:29.784 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 13 December 2024 20:30:40 -0500 (0:00:00.337) 0:05:30.122 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 13 December 2024 20:30:40 -0500 (0:00:00.227) 0:05:30.349 ******* 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-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 13 December 2024 20:30:40 -0500 (0:00:00.214) 0:05:30.564 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 13 December 2024 20:30:41 -0500 (0:00:00.135) 0:05:30.700 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 13 December 2024 20:30:41 -0500 (0:00:00.135) 0:05:30.835 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 13 December 2024 20:30:41 -0500 (0:00:00.135) 0:05:30.970 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 13 December 2024 20:30:41 -0500 (0:00:00.378) 0:05:31.349 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 13 December 2024 20:30:41 -0500 (0:00:00.144) 0:05:31.493 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 13 December 2024 20:30:42 -0500 (0:00:00.137) 0:05:31.630 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 13 December 2024 20:30:42 -0500 (0:00:00.137) 0:05:31.768 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 13 December 2024 20:30:42 -0500 (0:00:00.142) 0:05:31.910 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 13 December 2024 20:30:42 -0500 (0:00:00.134) 0:05:32.045 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 13 December 2024 20:30:42 -0500 (0:00:00.122) 0:05:32.167 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 13 December 2024 20:30:42 -0500 (0:00:00.142) 0:05:32.310 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 13 December 2024 20:30:42 -0500 (0:00:00.100) 0:05:32.410 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 13 December 2024 20:30:42 -0500 (0:00:00.090) 0:05:32.501 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 13 December 2024 20:30:43 -0500 (0:00:00.111) 0:05:32.613 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 13 December 2024 20:30:43 -0500 (0:00:00.120) 0:05:32.733 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 13 December 2024 20:30:43 -0500 (0:00:00.112) 0:05:32.846 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 13 December 2024 20:30:43 -0500 (0:00:00.112) 0:05:32.958 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 13 December 2024 20:30:43 -0500 (0:00:00.088) 0:05:33.047 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 13 December 2024 20:30:43 -0500 (0:00:00.102) 0:05:33.149 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 13 December 2024 20:30:45 -0500 (0:00:01.993) 0:05:35.143 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 13 December 2024 20:30:45 -0500 (0:00:00.351) 0:05:35.494 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 13 December 2024 20:30:46 -0500 (0:00:00.083) 0:05:35.578 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 13 December 2024 20:30:46 -0500 (0:00:00.127) 0:05:35.705 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 13 December 2024 20:30:46 -0500 (0:00:00.236) 0:05:35.941 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 13 December 2024 20:30:47 -0500 (0:00:00.678) 0:05:36.620 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 13 December 2024 20:30:47 -0500 (0:00:00.142) 0:05:36.762 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 13 December 2024 20:30:47 -0500 (0:00:00.139) 0:05:36.901 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 13 December 2024 20:30:47 -0500 (0:00:00.198) 0:05:37.100 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 13 December 2024 20:30:47 -0500 (0:00:00.259) 0:05:37.359 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 13 December 2024 20:30:47 -0500 (0:00:00.132) 0:05:37.492 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 13 December 2024 20:30:48 -0500 (0:00:00.162) 0:05:37.654 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 13 December 2024 20:30:48 -0500 (0:00:00.192) 0:05:37.846 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 13 December 2024 20:30:48 -0500 (0:00:00.349) 0:05:38.195 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 13 December 2024 20:30:49 -0500 (0:00:00.852) 0:05:39.048 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 13 December 2024 20:30:50 -0500 (0:00:00.797) 0:05:39.846 ******* 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.005170", "end": "2024-12-13 20:30:50.613554", "rc": 0, "start": "2024-12-13 20:30:50.608384" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 13 December 2024 20:30:50 -0500 (0:00:00.504) 0:05:40.350 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 13 December 2024 20:30:52 -0500 (0:00:01.329) 0:05:41.680 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 13 December 2024 20:30:52 -0500 (0:00:00.181) 0:05:41.862 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 13 December 2024 20:30:52 -0500 (0:00:00.162) 0:05:42.024 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 13 December 2024 20:30:52 -0500 (0:00:00.133) 0:05:42.158 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 13 December 2024 20:30:52 -0500 (0:00:00.150) 0:05:42.308 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 13 December 2024 20:30:52 -0500 (0:00:00.124) 0:05:42.432 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 13 December 2024 20:30:53 -0500 (0:00:00.139) 0:05:42.572 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 13 December 2024 20:30:53 -0500 (0:00:00.957) 0:05:43.530 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:14:15 EST", "ActiveEnterTimestampMonotonic": "10768090", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice network.target systemd-sysctl.service dbus.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:14:14 EST", "AssertTimestampMonotonic": "10053308", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:14:14 EST", "ConditionTimestampMonotonic": "10053306", "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": "851", "ExecMainStartTimestamp": "Fri 2024-12-13 20:14:14 EST", "ExecMainStartTimestampMonotonic": "10053854", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:14:14 EST", "InactiveExitTimestampMonotonic": "10053890", "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": "851", "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 basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:14:15 EST", "WatchdogTimestampMonotonic": "10767357", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 13 December 2024 20:30:54 -0500 (0:00:00.659) 0:05:44.190 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084016", "end": "2024-12-13 20:30:55.005708", "rc": 0, "start": "2024-12-13 20:30:54.921692" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 13 December 2024 20:30:55 -0500 (0:00:00.620) 0:05:44.811 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 13 December 2024 20:30:55 -0500 (0:00:00.143) 0:05:44.955 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 13 December 2024 20:30:55 -0500 (0:00:00.145) 0:05:45.100 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 13 December 2024 20:30:55 -0500 (0:00:00.326) 0:05:45.427 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 13 December 2024 20:30:56 -0500 (0:00:00.563) 0:05:45.990 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 13 December 2024 20:30:56 -0500 (0:00:00.160) 0:05:46.150 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 13 December 2024 20:30:57 -0500 (0:00:00.845) 0:05:46.996 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 13 December 2024 20:30:57 -0500 (0:00:00.167) 0:05:47.163 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 13 December 2024 20:30:57 -0500 (0:00:00.140) 0:05:47.304 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 13 December 2024 20:30:57 -0500 (0:00:00.170) 0:05:47.475 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:30:58 -0500 (0:00:00.254) 0:05:47.729 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002885", "end": "2024-12-13 20:30:58.645200", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:30:58.642315" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:30:58 -0500 (0:00:00.650) 0:05:48.379 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:30:58 -0500 (0:00:00.174) 0:05:48.554 ******* 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.044612", "end": "2024-12-13 20:30:59.385496", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:30:59.340884" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 13 December 2024 20:30:59 -0500 (0:00:00.562) 0:05:49.117 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:30:59 -0500 (0:00:00.339) 0:05:49.457 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003050", "end": "2024-12-13 20:31:00.572489", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:31:00.569439" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:31:00 -0500 (0:00:00.856) 0:05:50.314 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:31:01 -0500 (0:00:00.375) 0:05:50.689 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.044778", "end": "2024-12-13 20:31:01.753714", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:31:01.708936" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 13 December 2024 20:31:01 -0500 (0:00:00.782) 0:05:51.472 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:31:02 -0500 (0:00:00.217) 0:05:51.690 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002895", "end": "2024-12-13 20:31:02.404294", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:31:02.401399" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:31:02 -0500 (0:00:00.413) 0:05:52.104 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:31:02 -0500 (0:00:00.118) 0:05:52.222 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.044427", "end": "2024-12-13 20:31:02.992523", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:31:02.948096" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 13 December 2024 20:31:03 -0500 (0:00:00.493) 0:05:52.716 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:31:03 -0500 (0:00:00.240) 0:05:52.957 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003048", "end": "2024-12-13 20:31:03.679638", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:31:03.676590" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:31:03 -0500 (0:00:00.388) 0:05:53.346 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:31:03 -0500 (0:00:00.101) 0:05:53.447 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.044567", "end": "2024-12-13 20:31:04.423047", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:31:04.378480" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 13 December 2024 20:31:04 -0500 (0:00:00.788) 0:05:54.235 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004363", "end": "2024-12-13 20:31:05.348644", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:31:05.344281" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 13 December 2024 20:31:05 -0500 (0:00:00.978) 0:05:55.214 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 13 December 2024 20:31:05 -0500 (0:00:00.191) 0:05:55.406 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 13 December 2024 20:31:05 -0500 (0:00:00.129) 0:05:55.535 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 13 December 2024 20:31:06 -0500 (0:00:00.136) 0:05:55.672 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 13 December 2024 20:31:06 -0500 (0:00:00.125) 0:05:55.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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 13 December 2024 20:31:06 -0500 (0:00:00.130) 0:05:55.927 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 13 December 2024 20:31:06 -0500 (0:00:00.356) 0:05:56.283 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 13 December 2024 20:31:06 -0500 (0:00:00.163) 0:05:56.447 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 13 December 2024 20:31:07 -0500 (0:00:00.216) 0:05:56.664 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 13 December 2024 20:31:07 -0500 (0:00:00.163) 0:05:56.828 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 13 December 2024 20:31:07 -0500 (0:00:00.137) 0:05:56.965 ******* 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.005436", "end": "2024-12-13 20:31:07.785780", "rc": 0, "start": "2024-12-13 20:31:07.780344" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 13 December 2024 20:31:07 -0500 (0:00:00.550) 0:05:57.515 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 13 December 2024 20:31:08 -0500 (0:00:00.162) 0:05:57.678 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 13 December 2024 20:31:09 -0500 (0:00:01.638) 0:05:59.316 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 13 December 2024 20:31:09 -0500 (0:00:00.136) 0:05:59.453 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 13 December 2024 20:31:10 -0500 (0:00:00.118) 0:05:59.571 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 13 December 2024 20:31:10 -0500 (0:00:00.143) 0:05:59.715 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 13 December 2024 20:31:10 -0500 (0:00:00.121) 0:05:59.836 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 13 December 2024 20:31:10 -0500 (0:00:00.223) 0:06:00.060 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002847", "end": "2024-12-13 20:31:10.831367", "failed_when_result": false, "rc": 1, "start": "2024-12-13 20:31:10.828520" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 13 December 2024 20:31:11 -0500 (0:00:00.543) 0:06:00.604 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044192", "end": "2024-12-13 20:31:11.650884", "failed_when_result": false, "rc": 0, "start": "2024-12-13 20:31:11.606692" } 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 13 December 2024 20:31:12 -0500 (0:00:01.256) 0:06:01.860 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 13 December 2024 20:31:12 -0500 (0:00:00.145) 0:06:02.006 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 13 December 2024 20:31:12 -0500 (0:00:00.201) 0:06:02.208 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 13 December 2024 20:31:12 -0500 (0:00:00.246) 0:06:02.454 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 13 December 2024 20:31:13 -0500 (0:00:00.210) 0:06:02.664 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 13 December 2024 20:31:13 -0500 (0:00:00.135) 0:06:02.800 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 13 December 2024 20:31:13 -0500 (0:00:00.144) 0:06:02.944 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 13 December 2024 20:31:13 -0500 (0:00:00.123) 0:06:03.067 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 13 December 2024 20:31:13 -0500 (0:00:00.121) 0:06:03.188 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 13 December 2024 20:31:13 -0500 (0:00:00.207) 0:06:03.396 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 13 December 2024 20:31:13 -0500 (0:00:00.165) 0:06:03.562 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 13 December 2024 20:31:14 -0500 (0:00:00.162) 0:06:03.725 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 13 December 2024 20:31:14 -0500 (0:00:00.150) 0:06:03.876 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 13 December 2024 20:31:14 -0500 (0:00:00.163) 0:06:04.039 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 13 December 2024 20:31:14 -0500 (0:00:00.206) 0:06:04.246 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 13 December 2024 20:31:14 -0500 (0:00:00.157) 0:06:04.404 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 13 December 2024 20:31:15 -0500 (0:00:00.171) 0:06:04.575 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 13 December 2024 20:31:15 -0500 (0:00:00.151) 0:06:04.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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 13 December 2024 20:31:15 -0500 (0:00:00.364) 0:06:05.092 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 13 December 2024 20:31:15 -0500 (0:00:00.105) 0:06:05.198 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 13 December 2024 20:31:15 -0500 (0:00:00.136) 0:06:05.334 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 13 December 2024 20:31:15 -0500 (0:00:00.129) 0:06:05.463 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 13 December 2024 20:31:16 -0500 (0:00:00.183) 0:06:05.647 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 13 December 2024 20:31:16 -0500 (0:00:00.139) 0:06:05.787 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 13 December 2024 20:31:16 -0500 (0:00:00.137) 0:06:05.925 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 13 December 2024 20:31:16 -0500 (0:00:00.129) 0:06:06.054 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 13 December 2024 20:31:16 -0500 (0:00:00.122) 0:06:06.177 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 13 December 2024 20:31:16 -0500 (0:00:00.125) 0:06:06.303 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 13 December 2024 20:31:16 -0500 (0:00:00.121) 0:06:06.424 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 13 December 2024 20:31:16 -0500 (0:00:00.084) 0:06:06.508 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 13 December 2024 20:31:17 -0500 (0:00:00.097) 0:06:06.605 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 13 December 2024 20:31:17 -0500 (0:00:00.109) 0:06:06.714 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 13 December 2024 20:31:17 -0500 (0:00:00.120) 0:06:06.835 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 13 December 2024 20:31:17 -0500 (0:00:00.131) 0:06:06.966 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 13 December 2024 20:31:17 -0500 (0:00:00.126) 0:06:07.093 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 13 December 2024 20:31:17 -0500 (0:00:00.132) 0:06:07.226 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 13 December 2024 20:31:17 -0500 (0:00:00.131) 0:06:07.357 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 13 December 2024 20:31:18 -0500 (0:00:00.520) 0:06:07.877 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 13 December 2024 20:31:18 -0500 (0:00:00.159) 0:06:08.037 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 13 December 2024 20:31:18 -0500 (0:00:00.162) 0:06:08.200 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 13 December 2024 20:31:18 -0500 (0:00:00.138) 0:06:08.338 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 13 December 2024 20:31:18 -0500 (0:00:00.192) 0:06:08.531 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 13 December 2024 20:31:19 -0500 (0:00:00.135) 0:06:08.666 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 13 December 2024 20:31:19 -0500 (0:00:00.120) 0:06:08.787 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 13 December 2024 20:31:19 -0500 (0:00:00.132) 0:06:08.920 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 13 December 2024 20:31:19 -0500 (0:00:00.124) 0:06:09.044 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 13 December 2024 20:31:19 -0500 (0:00:00.129) 0:06:09.174 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 13 December 2024 20:31:19 -0500 (0:00:00.148) 0:06:09.322 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 13 December 2024 20:31:19 -0500 (0:00:00.122) 0:06:09.444 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 13 December 2024 20:31:20 -0500 (0:00:00.155) 0:06:09.600 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 13 December 2024 20:31:20 -0500 (0:00:00.245) 0:06:09.846 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 13 December 2024 20:31:20 -0500 (0:00:00.258) 0:06:10.104 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 13 December 2024 20:31:20 -0500 (0:00:00.171) 0:06:10.276 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 13 December 2024 20:31:20 -0500 (0:00:00.173) 0:06:10.449 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 13 December 2024 20:31:21 -0500 (0:00:00.154) 0:06:10.604 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 13 December 2024 20:31:21 -0500 (0:00:00.124) 0:06:10.729 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 13 December 2024 20:31:21 -0500 (0:00:00.585) 0:06:11.315 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 13 December 2024 20:31:21 -0500 (0:00:00.205) 0:06:11.520 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 13 December 2024 20:31:22 -0500 (0:00:00.255) 0:06:11.775 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 13 December 2024 20:31:22 -0500 (0:00:00.149) 0:06:11.924 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 13 December 2024 20:31:22 -0500 (0:00:00.128) 0:06:12.053 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 13 December 2024 20:31:22 -0500 (0:00:00.124) 0:06:12.178 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 13 December 2024 20:31:22 -0500 (0:00:00.216) 0:06:12.394 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 13 December 2024 20:31:22 -0500 (0:00:00.138) 0:06:12.533 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 13 December 2024 20:31:23 -0500 (0:00:00.595) 0:06:13.129 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:30:24 EST", "ActiveEnterTimestampMonotonic": "980199148", "ActiveExitTimestamp": "Fri 2024-12-13 20:30:24 EST", "ActiveExitTimestampMonotonic": "979717282", "ActiveState": "active", "After": "basic.target system.slice network.target -.mount systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:30:24 EST", "AssertTimestampMonotonic": "980198446", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-12-13 20:30:24 EST", "ConditionTimestampMonotonic": "980198445", "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": "453", "ExecMainStartTimestamp": "Fri 2024-12-13 20:30:24 EST", "ExecMainStartTimestampMonotonic": "980199068", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-12-13 20:30:24 EST] ; stop_time=[n/a] ; pid=453 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-12-13 20:30:24 EST", "InactiveEnterTimestampMonotonic": "980196404", "InactiveExitTimestamp": "Fri 2024-12-13 20:30:24 EST", "InactiveExitTimestampMonotonic": "980199148", "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": "453", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-12-13 20:30:24 EST", "WatchdogTimestampMonotonic": "980199120", "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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 13 December 2024 20:31:24 -0500 (0:00:01.160) 0:06:14.289 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 13 December 2024 20:31:24 -0500 (0:00:00.151) 0:06:14.441 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:27 Friday 13 December 2024 20:31:25 -0500 (0:00:00.198) 0:06:14.639 ******* included: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 13 December 2024 20:31:25 -0500 (0:00:00.485) 0:06:15.125 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 13 December 2024 20:31:28 -0500 (0:00:02.851) 0:06:17.976 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 13 December 2024 20:31:28 -0500 (0:00:00.425) 0:06:18.401 ******* ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 13 December 2024 20:31:28 -0500 (0:00:00.141) 0:06:18.543 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 13 December 2024 20:31:29 -0500 (0:00:00.329) 0:06:18.872 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 13 December 2024 20:31:29 -0500 (0:00:00.266) 0:06:19.139 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 13 December 2024 20:31:29 -0500 (0:00:00.180) 0:06:19.320 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 13 December 2024 20:31:30 -0500 (0:00:00.678) 0:06:19.998 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 13 December 2024 20:31:30 -0500 (0:00:00.186) 0:06:20.185 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 13 December 2024 20:31:31 -0500 (0:00:00.482) 0:06:20.667 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 13 December 2024 20:31:31 -0500 (0:00:00.136) 0:06:20.804 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 13 December 2024 20:31:32 -0500 (0:00:00.910) 0:06:21.715 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 13 December 2024 20:31:32 -0500 (0:00:00.228) 0:06:21.943 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 13 December 2024 20:31:32 -0500 (0:00:00.192) 0:06:22.135 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 13 December 2024 20:31:32 -0500 (0:00:00.160) 0:06:22.295 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 13 December 2024 20:31:33 -0500 (0:00:00.377) 0:06:22.673 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 13 December 2024 20:31:33 -0500 (0:00:00.173) 0:06:22.846 ******* ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:19:25 EST", "ActiveEnterTimestampMonotonic": "320606340", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service basic.target polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:19:25 EST", "AssertTimestampMonotonic": "320365311", "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": "Fri 2024-12-13 20:19:25 EST", "ConditionTimestampMonotonic": "320365309", "Conflicts": "shutdown.target ip6tables.service iptables.service ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9673", "ExecMainStartTimestamp": "Fri 2024-12-13 20:19:25 EST", "ExecMainStartTimestampMonotonic": "320366422", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:19:25 EST", "InactiveExitTimestampMonotonic": "320366710", "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": "9673", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-12-13 20:19:25 EST", "WatchdogTimestampMonotonic": "320605872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 13 December 2024 20:31:33 -0500 (0:00:00.632) 0:06:23.478 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-12-13 20:19:25 EST", "ActiveEnterTimestampMonotonic": "320606340", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service basic.target polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-12-13 20:19:25 EST", "AssertTimestampMonotonic": "320365311", "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": "Fri 2024-12-13 20:19:25 EST", "ConditionTimestampMonotonic": "320365309", "Conflicts": "shutdown.target ip6tables.service iptables.service ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9673", "ExecMainStartTimestamp": "Fri 2024-12-13 20:19:25 EST", "ExecMainStartTimestampMonotonic": "320366422", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-12-13 20:19:25 EST", "InactiveExitTimestampMonotonic": "320366710", "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": "9673", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-12-13 20:19:25 EST", "WatchdogTimestampMonotonic": "320605872", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 13 December 2024 20:31:34 -0500 (0:00:00.758) 0:06:24.237 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 13 December 2024 20:31:34 -0500 (0:00:00.208) 0:06:24.445 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.55 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 13 December 2024 20:31:35 -0500 (0:00:00.468) 0:06:24.913 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 13 December 2024 20:31:35 -0500 (0:00:00.109) 0:06:25.023 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 13 December 2024 20:31:35 -0500 (0:00:00.115) 0:06:25.139 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 13 December 2024 20:31:35 -0500 (0:00:00.130) 0:06:25.269 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 13 December 2024 20:31:35 -0500 (0:00:00.152) 0:06:25.422 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 13 December 2024 20:31:36 -0500 (0:00:00.146) 0:06:25.568 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 13 December 2024 20:31:36 -0500 (0:00:00.124) 0:06:25.693 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.55 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 13 December 2024 20:31:36 -0500 (0:00:00.740) 0:06:26.433 ******* ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 13 December 2024 20:31:37 -0500 (0:00:00.175) 0:06:26.608 ******* skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 13 December 2024 20:31:37 -0500 (0:00:00.108) 0:06:26.717 ******* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 13 December 2024 20:31:37 -0500 (0:00:00.327) 0:06:27.044 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 13 December 2024 20:31:37 -0500 (0:00:00.181) 0:06:27.226 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 13 December 2024 20:31:37 -0500 (0:00:00.169) 0:06:27.395 ******* included: /tmp/collections-Nyy/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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 13 December 2024 20:31:38 -0500 (0:00:00.242) 0:06:27.637 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 13 December 2024 20:31:38 -0500 (0:00:00.485) 0:06:28.123 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 13 December 2024 20:31:38 -0500 (0:00:00.126) 0:06:28.250 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 13 December 2024 20:31:39 -0500 (0:00:00.440) 0:06:28.690 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 13 December 2024 20:31:39 -0500 (0:00:00.101) 0:06:28.792 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 13 December 2024 20:31:39 -0500 (0:00:00.651) 0:06:29.443 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 13 December 2024 20:31:40 -0500 (0:00:00.123) 0:06:29.566 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 13 December 2024 20:31:40 -0500 (0:00:00.121) 0:06:29.688 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 13 December 2024 20:31:40 -0500 (0:00:00.153) 0:06:29.841 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 13 December 2024 20:31:40 -0500 (0:00:00.123) 0:06:29.964 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 13 December 2024 20:31:40 -0500 (0:00:00.291) 0:06:30.256 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 13 December 2024 20:31:40 -0500 (0:00:00.097) 0:06:30.354 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 13 December 2024 20:31:41 -0500 (0:00:00.677) 0:06:31.031 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 13 December 2024 20:31:41 -0500 (0:00:00.188) 0:06:31.219 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 13 December 2024 20:31:41 -0500 (0:00:00.160) 0:06:31.380 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 13 December 2024 20:31:41 -0500 (0:00:00.146) 0:06:31.527 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 13 December 2024 20:31:42 -0500 (0:00:00.125) 0:06:31.652 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 13 December 2024 20:31:42 -0500 (0:00:00.136) 0:06:31.789 ******* 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.334094", "end": "2024-12-13 20:31:43.045583", "rc": 0, "start": "2024-12-13 20:31:42.711489" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 13 December 2024 20:31:43 -0500 (0:00:00.940) 0:06:32.729 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 13 December 2024 20:31:43 -0500 (0:00:00.084) 0:06:32.814 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 13 December 2024 20:31:43 -0500 (0:00:00.080) 0:06:32.894 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 13 December 2024 20:31:43 -0500 (0:00:00.109) 0:06:33.004 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 13 December 2024 20:31:43 -0500 (0:00:00.100) 0:06:33.104 ******* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 13 December 2024 20:31:43 -0500 (0:00:00.080) 0:06:33.184 ******* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 13 December 2024 20:31:43 -0500 (0:00:00.077) 0:06:33.262 ******* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 13 December 2024 20:31:43 -0500 (0:00:00.217) 0:06:33.479 ******* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 13 December 2024 20:31:43 -0500 (0:00:00.079) 0:06:33.559 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 13 December 2024 20:31:46 -0500 (0:00:02.895) 0:06:36.454 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 13 December 2024 20:31:47 -0500 (0:00:00.137) 0:06:36.592 ******* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 13 December 2024 20:31:47 -0500 (0:00:00.104) 0:06:36.696 ******* TASK [Leave realm] ************************************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 13 December 2024 20:31:47 -0500 (0:00:00.154) 0:06:36.851 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 13 December 2024 20:31:47 -0500 (0:00:00.510) 0:06:37.361 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 13 December 2024 20:31:48 -0500 (0:00:00.220) 0:06:37.581 ******* 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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Friday 13 December 2024 20:31:51 -0500 (0:00:03.400) 0:06:40.982 ******* [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.007364", "end": "2024-12-13 20:31:51.971256", "rc": 0, "start": "2024-12-13 20:31:51.963892" } 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/b8daf574-b658-473f-9186-98de58f9727c’ 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-3918214135-3841797413-2885790515-500/42e7704ae40b0d75de00736cc66b813a_dedcf17c-6211-452c-a037-3f386aa590c0’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3918214135-3841797413-2885790515-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-3918214135-3841797413-2885790515-500/2a6eeb66-36bb-4e88-ac5b-a079aa17fae6’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3918214135-3841797413-2885790515-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3918214135-3841797413-2885790515-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/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133786134274280000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133786131937550000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133786131651920000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133786133490420000.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/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133786131686640000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133786132477870000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133786132996870000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133786133000860000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133786131942950000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133786131646160000.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_133786132474570000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133786134875490000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133786134870630000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133786134271000000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/system_health_0_133786131690890000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133786133493690000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools18’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-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-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Friday 13 December 2024 20:31:52 -0500 (0:00:00.790) 0:06:41.772 ******* ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.358935", "end": "2024-12-13 20:31:52.869653", "rc": 0, "start": "2024-12-13 20:31:52.510718" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 13 December 2024 20:31:53 -0500 (0:00:00.794) 0:06:42.567 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.836632", "end": "2024-12-13 20:31:55.242890", "rc": 0, "start": "2024-12-13 20:31:53.406258" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=396 changed=62 unreachable=0 failed=0 skipped=902 rescued=0 ignored=0 Friday 13 December 2024 20:31:55 -0500 (0:00:02.296) 0:06:44.863 ******* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 38.27s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 4.76s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.68s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.59s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.51s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Remove related packages ------------------------------------------------- 3.40s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Disable TLS encryption -------------------------------------------------- 2.98s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.90s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Gather package facts ---------------------------------------------------- 2.85s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Test with certs created by the certificate role ------------------------- 2.56s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.30s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.21s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.99s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.91s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Copy certificates to hosts ---------------------------------------------- 1.78s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.76s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.74s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.64s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.58s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Wait for mssql-server to prepare for client connections ----------------- 1.57s /tmp/collections-Nyy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93