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-S7n/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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:5 Friday 18 April 2025 22:05:26 -0400 (0:00:00.070) 0:00:00.070 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-fxC/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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:9 Friday 18 April 2025 22:05:26 -0400 (0:00:00.032) 0:00:00.103 ********** ok: [managed-node2] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:24 Friday 18 April 2025 22:05:28 -0400 (0:00:01.349) 0:00:01.453 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed-node2 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 18 April 2025 22:05:28 -0400 (0:00:00.159) 0:00:01.612 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node2 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 18 April 2025 22:05:28 -0400 (0:00:00.058) 0:00:01.671 ********** ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 18 April 2025 22:05:28 -0400 (0:00:00.561) 0:00:02.233 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 18 April 2025 22:05:28 -0400 (0:00:00.035) 0:00:02.269 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 18 April 2025 22:05:28 -0400 (0:00:00.061) 0:00:02.330 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 18 April 2025 22:05:29 -0400 (0:00:00.881) 0:00:03.211 ********** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible._TQzAo", "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 18 April 2025 22:05:30 -0400 (0:00:00.627) 0:00:03.838 ********** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.l7XY7J", "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 18 April 2025 22:05:30 -0400 (0:00:00.322) 0:00:04.160 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.8.102", "-out", "/tmp/ansible._TQzAo", "-keyout", "/tmp/ansible.l7XY7J", "-days", "365" ], "delta": "0:00:00.041943", "end": "2025-04-18 22:05:31.178390", "rc": 0, "start": "2025-04-18 22:05:31.136447" } STDERR: Generating a 2048 bit RSA private key ........+++ ....................+++ writing new private key to '/tmp/ansible.l7XY7J' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 18 April 2025 22:05:31 -0400 (0:00:00.438) 0:00:04.599 ********** changed: [managed-node2] => (item=/tmp/ansible._TQzAo) => { "ansible_loop_var": "item", "changed": true, "checksum": "e3e0c5d2be5bafde989ba5f0993bf9d4d20b4760", "dest": "/tmp/ansible._TQzAo", "item": "/tmp/ansible._TQzAo", "md5sum": "c699f5d198c8012e33c0c2e762fa7d79", "remote_checksum": "e3e0c5d2be5bafde989ba5f0993bf9d4d20b4760", "remote_md5sum": null } changed: [managed-node2] => (item=/tmp/ansible.l7XY7J) => { "ansible_loop_var": "item", "changed": true, "checksum": "4dff730b3cb76ca0ead7cd1a96f95359af167e37", "dest": "/tmp/ansible.l7XY7J", "item": "/tmp/ansible.l7XY7J", "md5sum": "5aec01a7680b0ce4bce76517d11abb48", "remote_checksum": "4dff730b3cb76ca0ead7cd1a96f95359af167e37", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 18 April 2025 22:05:32 -0400 (0:00:00.927) 0:00:05.527 ********** changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "4dff730b3cb76ca0ead7cd1a96f95359af167e37", "dest": "./ansible.l7XY7J", "gid": 0, "group": "root", "md5sum": "5aec01a7680b0ce4bce76517d11abb48", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1745028332.2-19815-24950232329444/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 18 April 2025 22:05:32 -0400 (0:00:00.536) 0:00:06.063 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible._TQzAo", "mssql_tls_private_key": "ansible.l7XY7J" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 18 April 2025 22:05:32 -0400 (0:00:00.037) 0:00:06.101 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 18 April 2025 22:05:33 -0400 (0:00:00.640) 0:00:06.742 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 18 April 2025 22:05:33 -0400 (0:00:00.046) 0:00:06.788 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 18 April 2025 22:05:33 -0400 (0:00:00.040) 0:00:06.828 ********** ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 18 April 2025 22:05:33 -0400 (0:00:00.084) 0:00:06.913 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 18 April 2025 22:05:33 -0400 (0:00:00.033) 0:00:06.947 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 18 April 2025 22:05:33 -0400 (0:00:00.057) 0:00:07.004 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 18 April 2025 22:05:33 -0400 (0:00:00.031) 0:00:07.036 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 18 April 2025 22:05:33 -0400 (0:00:00.033) 0:00:07.069 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 18 April 2025 22:05:33 -0400 (0:00:00.031) 0:00:07.101 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 18 April 2025 22:05:33 -0400 (0:00:00.034) 0:00:07.135 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 18 April 2025 22:05:33 -0400 (0:00:00.033) 0:00:07.169 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 18 April 2025 22:05:33 -0400 (0:00:00.042) 0:00:07.211 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 18 April 2025 22:05:33 -0400 (0:00:00.058) 0:00:07.270 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 18 April 2025 22:05:33 -0400 (0:00:00.031) 0:00:07.301 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 18 April 2025 22:05:33 -0400 (0:00:00.034) 0:00:07.336 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 18 April 2025 22:05:34 -0400 (0:00:00.041) 0:00:07.377 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 18 April 2025 22:05:34 -0400 (0:00:00.046) 0:00:07.424 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 18 April 2025 22:05:34 -0400 (0:00:00.035) 0:00:07.459 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 18 April 2025 22:05:34 -0400 (0:00:00.038) 0:00:07.497 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 18 April 2025 22:05:34 -0400 (0:00:00.031) 0:00:07.528 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 18 April 2025 22:05:34 -0400 (0:00:00.032) 0:00:07.560 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 18 April 2025 22:05:34 -0400 (0:00:00.042) 0:00:07.603 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 18 April 2025 22:05:34 -0400 (0:00:00.043) 0:00:07.646 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 18 April 2025 22:05:36 -0400 (0:00:01.979) 0:00:09.626 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 18 April 2025 22:05:36 -0400 (0:00:00.304) 0:00:09.930 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 18 April 2025 22:05:36 -0400 (0:00:00.112) 0:00:10.043 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 18 April 2025 22:05:36 -0400 (0:00:00.085) 0:00:10.128 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 18 April 2025 22:05:36 -0400 (0:00:00.115) 0:00:10.244 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 18 April 2025 22:05:37 -0400 (0:00:00.807) 0:00:11.051 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 18 April 2025 22:05:37 -0400 (0:00:00.085) 0:00:11.137 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 18 April 2025 22:05:37 -0400 (0:00:00.075) 0:00:11.212 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 18 April 2025 22:05:37 -0400 (0:00:00.073) 0:00:11.286 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 18 April 2025 22:05:37 -0400 (0:00:00.062) 0:00:11.348 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 18 April 2025 22:05:38 -0400 (0:00:00.073) 0:00:11.422 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 18 April 2025 22:05:38 -0400 (0:00:00.085) 0:00:11.507 ********** changed: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 18 April 2025 22:05:38 -0400 (0:00:00.611) 0:00:12.119 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 18 April 2025 22:05:38 -0400 (0:00:00.099) 0:00:12.218 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 18 April 2025 22:05:39 -0400 (0:00:00.762) 0:00:12.980 ********** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0: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 57 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 18 April 2025 22:06:15 -0400 (0:00:36.162) 0:00:49.143 ********** ok: [managed-node2] => { "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.005437", "end": "2025-04-18 22:06:16.041135", "rc": 0, "start": "2025-04-18 22:06:16.035698" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 18 April 2025 22:06:16 -0400 (0:00:00.357) 0:00:49.500 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 18 April 2025 22:06:17 -0400 (0:00:01.104) 0:00:50.605 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 18 April 2025 22:06:17 -0400 (0:00:00.084) 0:00:50.689 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 18 April 2025 22:06:17 -0400 (0:00:00.070) 0:00:50.759 ********** changed: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 18 April 2025 22:06:22 -0400 (0:00:04.985) 0:00:55.745 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 18 April 2025 22:06:22 -0400 (0:00:00.076) 0:00:55.822 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 18 April 2025 22:06:22 -0400 (0:00:00.066) 0:00:55.888 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 18 April 2025 22:06:22 -0400 (0:00:00.063) 0:00:55.952 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 18 April 2025 22:06:23 -0400 (0:00:00.558) 0:00:56.511 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:41:31 EDT", "ActiveEnterTimestampMonotonic": "14765511", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice network.target systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:41:30 EDT", "AssertTimestampMonotonic": "13951648", "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 2025-04-18 21:41:30 EDT", "ConditionTimestampMonotonic": "13951647", "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": "873", "ExecMainStartTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ExecMainStartTimestampMonotonic": "13952299", "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 2025-04-18 21:41:30 EDT", "InactiveExitTimestampMonotonic": "13952340", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "873", "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 2025-04-18 21:41:31 EDT", "WatchdogTimestampMonotonic": "14765336", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 18 April 2025 22:06:23 -0400 (0:00:00.741) 0:00:57.252 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092055", "end": "2025-04-18 22:06:24.261234", "rc": 0, "start": "2025-04-18 22:06:24.169179" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 18 April 2025 22:06:24 -0400 (0:00:00.461) 0:00:57.713 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 18 April 2025 22:06:24 -0400 (0:00:00.067) 0:00:57.781 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 18 April 2025 22:06:24 -0400 (0:00:00.066) 0:00:57.847 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 18 April 2025 22:06:24 -0400 (0:00:00.067) 0:00:57.914 ********** changed: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 18 April 2025 22:06:24 -0400 (0:00:00.406) 0:00:58.320 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 18 April 2025 22:06:25 -0400 (0:00:00.063) 0:00:58.384 ********** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-tools18", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be installed\n--> Processing Dependency: msodbcsql18 >= 18.0.0.0 for package: mssql-tools18-18.4.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 293 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 923 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.6 M\nInstalled size: 3.9 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 5.2 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 18 April 2025 22:06:29 -0400 (0:00:04.451) 0:01:02.836 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 18 April 2025 22:06:29 -0400 (0:00:00.066) 0:01:02.903 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 18 April 2025 22:06:29 -0400 (0:00:00.069) 0:01:02.972 ********** changed: [managed-node2] => (item=/tmp/ansible._TQzAo) => { "ansible_loop_var": "item", "changed": true, "checksum": "e3e0c5d2be5bafde989ba5f0993bf9d4d20b4760", "dest": "/etc/pki/tls/certs/ansible._TQzAo", "gid": 994, "group": "mssql", "item": "/tmp/ansible._TQzAo", "md5sum": "c699f5d198c8012e33c0c2e762fa7d79", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1745028389.67-21521-109185255583239/source", "state": "file", "uid": 996 } changed: [managed-node2] => (item=ansible.l7XY7J) => { "ansible_loop_var": "item", "changed": true, "checksum": "4dff730b3cb76ca0ead7cd1a96f95359af167e37", "dest": "/etc/pki/tls/private/ansible.l7XY7J", "gid": 994, "group": "mssql", "item": "ansible.l7XY7J", "md5sum": "5aec01a7680b0ce4bce76517d11abb48", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1745028390.21-21521-32861526158530/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 18 April 2025 22:06:30 -0400 (0:00:01.121) 0:01:04.093 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:06:30 -0400 (0:00:00.119) 0:01:04.213 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003447", "end": "2025-04-18 22:06:31.104315", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:06:31.100868" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:06:31 -0400 (0:00:00.377) 0:01:04.591 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible._TQzAo" ], "delta": "0:00:00.046301", "end": "2025-04-18 22:06:31.539287", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:06:31.492986" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:06:31 -0400 (0:00:00.402) 0:01:04.993 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 18 April 2025 22:06:31 -0400 (0:00:00.068) 0:01:05.062 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:06:31 -0400 (0:00:00.122) 0:01:05.184 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002945", "end": "2025-04-18 22:06:32.074297", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:06:32.071352" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:06:32 -0400 (0:00:00.334) 0:01:05.519 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.l7XY7J" ], "delta": "0:00:00.047189", "end": "2025-04-18 22:06:32.467088", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:06:32.419899" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:06:32 -0400 (0:00:00.401) 0:01:05.920 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 18 April 2025 22:06:32 -0400 (0:00:00.066) 0:01:05.987 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:06:32 -0400 (0:00:00.124) 0:01:06.112 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002953", "end": "2025-04-18 22:06:33.007097", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:06:33.004144" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:06:33 -0400 (0:00:00.342) 0:01:06.454 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.046789", "end": "2025-04-18 22:06:33.400065", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:06:33.353276" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:06:33 -0400 (0:00:00.402) 0:01:06.856 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 18 April 2025 22:06:33 -0400 (0:00:00.065) 0:01:06.922 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:06:33 -0400 (0:00:00.178) 0:01:07.101 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003042", "end": "2025-04-18 22:06:33.987973", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:06:33.984931" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:06:34 -0400 (0:00:00.336) 0:01:07.437 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.046945", "end": "2025-04-18 22:06:34.383280", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:06:34.336335" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:06:34 -0400 (0:00:00.400) 0:01:07.838 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 18 April 2025 22:06:34 -0400 (0:00:00.067) 0:01:07.905 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004382", "end": "2025-04-18 22:06:34.798970", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:06:34.794588" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 18 April 2025 22:06:34 -0400 (0:00:00.340) 0:01:08.246 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 18 April 2025 22:06:34 -0400 (0:00:00.065) 0:01:08.311 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 18 April 2025 22:06:35 -0400 (0:00:00.080) 0:01:08.392 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 18 April 2025 22:06:35 -0400 (0:00:00.063) 0:01:08.456 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 18 April 2025 22:06:35 -0400 (0:00:00.063) 0:01:08.519 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 18 April 2025 22:06:35 -0400 (0:00:00.063) 0:01:08.583 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 18 April 2025 22:06:35 -0400 (0:00:00.062) 0:01:08.646 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 18 April 2025 22:06:35 -0400 (0:00:00.069) 0:01:08.715 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 18 April 2025 22:06:35 -0400 (0:00:00.062) 0:01:08.778 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 18 April 2025 22:06:35 -0400 (0:00:00.063) 0:01:08.842 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 18 April 2025 22:06:35 -0400 (0:00:00.063) 0:01:08.905 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 18 April 2025 22:06:35 -0400 (0:00:00.121) 0:01:09.027 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 18 April 2025 22:06:35 -0400 (0:00:00.064) 0:01:09.092 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 18 April 2025 22:06:35 -0400 (0:00:00.068) 0:01:09.161 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 18 April 2025 22:06:35 -0400 (0:00:00.066) 0:01:09.228 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 18 April 2025 22:06:35 -0400 (0:00:00.062) 0:01:09.291 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 18 April 2025 22:06:36 -0400 (0:00:00.067) 0:01:09.358 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 18 April 2025 22:06:36 -0400 (0:00:00.066) 0:01:09.424 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:06:36 -0400 (0:00:00.117) 0:01:09.542 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002983", "end": "2025-04-18 22:06:36.444428", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:06:36.441445" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:06:36 -0400 (0:00:00.350) 0:01:09.892 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048596", "end": "2025-04-18 22:06:36.837459", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:06:36.788863" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:06:36 -0400 (0:00:00.402) 0:01:10.295 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 18 April 2025 22:06:37 -0400 (0:00:00.063) 0:01:10.358 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 18 April 2025 22:06:37 -0400 (0:00:00.065) 0:01:10.424 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 18 April 2025 22:06:37 -0400 (0:00:00.066) 0:01:10.490 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 18 April 2025 22:06:37 -0400 (0:00:00.067) 0:01:10.557 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 18 April 2025 22:06:37 -0400 (0:00:00.065) 0:01:10.623 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 18 April 2025 22:06:37 -0400 (0:00:00.068) 0:01:10.692 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 18 April 2025 22:06:37 -0400 (0:00:00.120) 0:01:10.812 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 18 April 2025 22:06:37 -0400 (0:00:00.064) 0:01:10.877 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 18 April 2025 22:06:37 -0400 (0:00:00.066) 0:01:10.943 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 18 April 2025 22:06:37 -0400 (0:00:00.064) 0:01:11.008 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 18 April 2025 22:06:37 -0400 (0:00:00.067) 0:01:11.076 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 18 April 2025 22:06:37 -0400 (0:00:00.063) 0:01:11.139 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 18 April 2025 22:06:37 -0400 (0:00:00.065) 0:01:11.204 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 18 April 2025 22:06:37 -0400 (0:00:00.067) 0:01:11.272 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 18 April 2025 22:06:37 -0400 (0:00:00.069) 0:01:11.341 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 18 April 2025 22:06:38 -0400 (0:00:00.067) 0:01:11.409 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 18 April 2025 22:06:38 -0400 (0:00:00.066) 0:01:11.476 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 18 April 2025 22:06:38 -0400 (0:00:00.068) 0:01:11.545 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 18 April 2025 22:06:38 -0400 (0:00:00.066) 0:01:11.611 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 18 April 2025 22:06:38 -0400 (0:00:00.067) 0:01:11.679 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 18 April 2025 22:06:38 -0400 (0:00:00.070) 0:01:11.750 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 18 April 2025 22:06:38 -0400 (0:00:00.067) 0:01:11.817 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 18 April 2025 22:06:38 -0400 (0:00:00.066) 0:01:11.884 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 18 April 2025 22:06:38 -0400 (0:00:00.065) 0:01:11.949 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 18 April 2025 22:06:38 -0400 (0:00:00.066) 0:01:12.015 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 18 April 2025 22:06:38 -0400 (0:00:00.064) 0:01:12.079 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 18 April 2025 22:06:38 -0400 (0:00:00.128) 0:01:12.208 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 18 April 2025 22:06:38 -0400 (0:00:00.100) 0:01:12.308 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 18 April 2025 22:06:39 -0400 (0:00:00.082) 0:01:12.391 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 18 April 2025 22:06:39 -0400 (0:00:00.081) 0:01:12.473 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 18 April 2025 22:06:39 -0400 (0:00:00.071) 0:01:12.545 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 18 April 2025 22:06:39 -0400 (0:00:00.072) 0:01:12.617 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 18 April 2025 22:06:39 -0400 (0:00:00.098) 0:01:12.716 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 18 April 2025 22:06:39 -0400 (0:00:00.092) 0:01:12.808 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 18 April 2025 22:06:39 -0400 (0:00:00.100) 0:01:12.909 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 18 April 2025 22:06:39 -0400 (0:00:00.109) 0:01:13.018 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 18 April 2025 22:06:39 -0400 (0:00:00.083) 0:01:13.102 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 18 April 2025 22:06:39 -0400 (0:00:00.096) 0:01:13.199 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 18 April 2025 22:06:39 -0400 (0:00:00.066) 0:01:13.265 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 18 April 2025 22:06:39 -0400 (0:00:00.063) 0:01:13.329 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 18 April 2025 22:06:40 -0400 (0:00:00.078) 0:01:13.408 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 18 April 2025 22:06:40 -0400 (0:00:00.063) 0:01:13.471 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 18 April 2025 22:06:40 -0400 (0:00:00.065) 0:01:13.537 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 18 April 2025 22:06:40 -0400 (0:00:00.064) 0:01:13.602 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 18 April 2025 22:06:40 -0400 (0:00:00.067) 0:01:13.670 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 18 April 2025 22:06:40 -0400 (0:00:00.064) 0:01:13.735 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 18 April 2025 22:06:40 -0400 (0:00:00.187) 0:01:13.922 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 18 April 2025 22:06:40 -0400 (0:00:00.110) 0:01:14.033 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 18 April 2025 22:06:40 -0400 (0:00:00.107) 0:01:14.141 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 18 April 2025 22:06:40 -0400 (0:00:00.108) 0:01:14.250 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 18 April 2025 22:06:40 -0400 (0:00:00.083) 0:01:14.333 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 18 April 2025 22:06:41 -0400 (0:00:00.083) 0:01:14.416 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 18 April 2025 22:06:41 -0400 (0:00:00.065) 0:01:14.481 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 18 April 2025 22:06:41 -0400 (0:00:00.082) 0:01:14.564 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 18 April 2025 22:06:41 -0400 (0:00:00.066) 0:01:14.631 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 18 April 2025 22:06:41 -0400 (0:00:00.066) 0:01:14.697 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 18 April 2025 22:06:41 -0400 (0:00:00.071) 0:01:14.769 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 18 April 2025 22:06:41 -0400 (0:00:00.066) 0:01:14.836 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 18 April 2025 22:06:41 -0400 (0:00:00.077) 0:01:14.913 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 18 April 2025 22:06:41 -0400 (0:00:00.064) 0:01:14.977 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 18 April 2025 22:06:41 -0400 (0:00:00.065) 0:01:15.043 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 18 April 2025 22:06:41 -0400 (0:00:00.066) 0:01:15.110 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 18 April 2025 22:06:41 -0400 (0:00:00.070) 0:01:15.180 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 18 April 2025 22:06:42 -0400 (0:00:00.608) 0:01:15.788 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:06:22 EDT", "ActiveEnterTimestampMonotonic": "1505449251", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service -.mount basic.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:06:22 EDT", "AssertTimestampMonotonic": "1505447941", "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 2025-04-18 22:06:22 EDT", "ConditionTimestampMonotonic": "1505447940", "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": "14661", "ExecMainStartTimestamp": "Fri 2025-04-18 22:06:22 EDT", "ExecMainStartTimestampMonotonic": "1505449196", "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 2025-04-18 22:06:22 EDT", "InactiveExitTimestampMonotonic": "1505449251", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14661", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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 2025-04-18 22:06:22 EDT", "WatchdogTimestampMonotonic": "1505449235", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 18 April 2025 22:06:43 -0400 (0:00:00.767) 0:01:16.556 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 18 April 2025 22:06:43 -0400 (0:00:00.062) 0:01:16.618 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 18 April 2025 22:06:43 -0400 (0:00:00.066) 0:01:16.684 ********** changed: [managed-node2 -> localhost] => { "changed": true, "path": "ansible.l7XY7J", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 18 April 2025 22:06:43 -0400 (0:00:00.316) 0:01:17.000 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node2 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 18 April 2025 22:06:43 -0400 (0:00:00.114) 0:01:17.115 ********** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 18 April 2025 22:06:44 -0400 (0:00:00.541) 0:01:17.657 ********** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 18 April 2025 22:06:44 -0400 (0:00:00.387) 0:01:18.045 ********** ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 18 April 2025 22:06:45 -0400 (0:00:00.499) 0:01:18.545 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 18 April 2025 22:06:45 -0400 (0:00:00.194) 0:01:18.739 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 18 April 2025 22:06:45 -0400 (0:00:00.069) 0:01:18.808 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 18 April 2025 22:06:45 -0400 (0:00:00.065) 0:01:18.874 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 18 April 2025 22:06:45 -0400 (0:00:00.067) 0:01:18.941 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 18 April 2025 22:06:45 -0400 (0:00:00.064) 0:01:19.006 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 18 April 2025 22:06:45 -0400 (0:00:00.065) 0:01:19.071 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 18 April 2025 22:06:45 -0400 (0:00:00.062) 0:01:19.134 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 18 April 2025 22:06:45 -0400 (0:00:00.065) 0:01:19.199 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 18 April 2025 22:06:45 -0400 (0:00:00.063) 0:01:19.263 ********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 18 April 2025 22:06:46 -0400 (0:00:00.126) 0:01:19.389 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:06:43 EDT", "ActiveEnterTimestampMonotonic": "1526383551", "ActiveExitTimestamp": "Fri 2025-04-18 22:06:42 EDT", "ActiveExitTimestampMonotonic": "1526161705", "ActiveState": "active", "After": "system.slice auditd.service basic.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:06:43 EDT", "AssertTimestampMonotonic": "1526382431", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:06:43 EDT", "ConditionTimestampMonotonic": "1526382430", "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": "16027", "ExecMainStartTimestamp": "Fri 2025-04-18 22:06:43 EDT", "ExecMainStartTimestampMonotonic": "1526383501", "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 2025-04-18 22:06:43 EDT", "InactiveEnterTimestampMonotonic": "1526381287", "InactiveExitTimestamp": "Fri 2025-04-18 22:06:43 EDT", "InactiveExitTimestampMonotonic": "1526383551", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "16027", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 22:06:43 EDT", "WatchdogTimestampMonotonic": "1526383535", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 18 April 2025 22:06:46 -0400 (0:00:00.432) 0:01:19.822 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004346", "end": "2025-04-18 22:06:47.729964", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:06:46.725618" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 18 April 2025 22:06:47 -0400 (0:00:01.392) 0:01:21.215 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002959", "end": "2025-04-18 22:06:48.132032", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:06:48.129073" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 18 April 2025 22:06:48 -0400 (0:00:00.411) 0:01:21.626 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 18 April 2025 22:06:48 -0400 (0:00:00.125) 0:01:21.752 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 18 April 2025 22:06:49 -0400 (0:00:01.492) 0:01:23.244 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023972", "end": "2025-04-18 22:06:50.196214", "rc": 0, "start": "2025-04-18 22:06:50.172242" } 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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 18 April 2025 22:06:50 -0400 (0:00:00.419) 0:01:23.664 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 18 April 2025 22:06:50 -0400 (0:00:00.073) 0:01:23.737 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 18 April 2025 22:06:50 -0400 (0:00:00.064) 0:01:23.802 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 18 April 2025 22:06:50 -0400 (0:00:00.067) 0:01:23.869 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 18 April 2025 22:06:50 -0400 (0:00:00.064) 0:01:23.934 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 18 April 2025 22:06:50 -0400 (0:00:00.064) 0:01:23.999 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 18 April 2025 22:06:50 -0400 (0:00:00.064) 0:01:24.063 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 18 April 2025 22:06:50 -0400 (0:00:00.061) 0:01:24.125 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 18 April 2025 22:06:50 -0400 (0:00:00.064) 0:01:24.190 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:06:51 -0400 (0:00:00.166) 0:01:24.356 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004391", "end": "2025-04-18 22:06:51.247273", "rc": 0, "start": "2025-04-18 22:06:51.242882" } STDOUT: tlscert = /etc/pki/tls/certs/ansible._TQzAo TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:06:51 -0400 (0:00:00.337) 0:01:24.693 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:06:51 -0400 (0:00:00.098) 0:01:24.792 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible._TQzAo] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:06:51 -0400 (0:00:00.083) 0:01:24.876 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 18 April 2025 22:06:51 -0400 (0:00:00.071) 0:01:24.947 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:06:51 -0400 (0:00:00.120) 0:01:25.068 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004621", "end": "2025-04-18 22:06:51.962536", "rc": 0, "start": "2025-04-18 22:06:51.957915" } STDOUT: tlskey = /etc/pki/tls/private/ansible.l7XY7J TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:06:52 -0400 (0:00:00.340) 0:01:25.409 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:06:52 -0400 (0:00:00.083) 0:01:25.493 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.l7XY7J] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:06:52 -0400 (0:00:00.072) 0:01:25.565 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 18 April 2025 22:06:52 -0400 (0:00:00.068) 0:01:25.633 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:06:52 -0400 (0:00:00.123) 0:01:25.756 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004159", "end": "2025-04-18 22:06:52.649177", "rc": 0, "start": "2025-04-18 22:06:52.645018" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:06:52 -0400 (0:00:00.336) 0:01:26.093 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:06:52 -0400 (0:00:00.080) 0:01:26.173 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:06:52 -0400 (0:00:00.068) 0:01:26.242 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 18 April 2025 22:06:53 -0400 (0:00:00.120) 0:01:26.362 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:06:53 -0400 (0:00:00.128) 0:01:26.491 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004157", "end": "2025-04-18 22:06:53.384210", "rc": 0, "start": "2025-04-18 22:06:53.380053" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:06:53 -0400 (0:00:00.340) 0:01:26.831 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:06:53 -0400 (0:00:00.074) 0:01:26.905 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:06:53 -0400 (0:00:00.082) 0:01:26.988 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 18 April 2025 22:06:53 -0400 (0:00:00.067) 0:01:27.056 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 18 April 2025 22:06:53 -0400 (0:00:00.063) 0:01:27.120 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 18 April 2025 22:06:54 -0400 (0:00:00.364) 0:01:27.484 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 18 April 2025 22:06:54 -0400 (0:00:00.183) 0:01:27.668 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 18 April 2025 22:06:54 -0400 (0:00:00.111) 0:01:27.779 ********** ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 18 April 2025 22:06:54 -0400 (0:00:00.116) 0:01:27.896 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 18 April 2025 22:06:54 -0400 (0:00:00.127) 0:01:28.023 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 18 April 2025 22:06:54 -0400 (0:00:00.068) 0:01:28.091 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 18 April 2025 22:06:54 -0400 (0:00:00.068) 0:01:28.160 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 18 April 2025 22:06:54 -0400 (0:00:00.068) 0:01:28.228 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 18 April 2025 22:06:54 -0400 (0:00:00.065) 0:01:28.294 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 18 April 2025 22:06:55 -0400 (0:00:00.068) 0:01:28.362 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 18 April 2025 22:06:55 -0400 (0:00:00.066) 0:01:28.429 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 18 April 2025 22:06:55 -0400 (0:00:00.068) 0:01:28.497 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 18 April 2025 22:06:55 -0400 (0:00:00.067) 0:01:28.564 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 18 April 2025 22:06:55 -0400 (0:00:00.066) 0:01:28.631 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 18 April 2025 22:06:55 -0400 (0:00:00.068) 0:01:28.699 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 18 April 2025 22:06:55 -0400 (0:00:00.069) 0:01:28.768 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 18 April 2025 22:06:55 -0400 (0:00:00.078) 0:01:28.847 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 18 April 2025 22:06:55 -0400 (0:00:00.065) 0:01:28.912 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 18 April 2025 22:06:55 -0400 (0:00:00.071) 0:01:28.984 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 18 April 2025 22:06:55 -0400 (0:00:00.068) 0:01:29.053 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 18 April 2025 22:06:55 -0400 (0:00:00.065) 0:01:29.118 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 18 April 2025 22:06:55 -0400 (0:00:00.069) 0:01:29.188 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 18 April 2025 22:06:55 -0400 (0:00:00.066) 0:01:29.255 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 18 April 2025 22:06:57 -0400 (0:00:01.265) 0:01:30.521 ********** ok: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 18 April 2025 22:06:57 -0400 (0:00:00.176) 0:01:30.697 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 18 April 2025 22:06:57 -0400 (0:00:00.069) 0:01:30.767 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 18 April 2025 22:06:57 -0400 (0:00:00.072) 0:01:30.839 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 18 April 2025 22:06:57 -0400 (0:00:00.133) 0:01:30.972 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 18 April 2025 22:06:58 -0400 (0:00:00.500) 0:01:31.473 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 18 April 2025 22:06:58 -0400 (0:00:00.070) 0:01:31.543 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 18 April 2025 22:06:58 -0400 (0:00:00.073) 0:01:31.617 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 18 April 2025 22:06:58 -0400 (0:00:00.070) 0:01:31.688 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 18 April 2025 22:06:58 -0400 (0:00:00.128) 0:01:31.816 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 18 April 2025 22:06:58 -0400 (0:00:00.073) 0:01:31.890 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 18 April 2025 22:06:58 -0400 (0:00:00.078) 0:01:31.968 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 18 April 2025 22:06:58 -0400 (0:00:00.116) 0:01:32.084 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 18 April 2025 22:06:58 -0400 (0:00:00.107) 0:01:32.192 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 18 April 2025 22:06:59 -0400 (0:00:00.640) 0:01:32.833 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 18 April 2025 22:07:00 -0400 (0:00:00.607) 0:01:33.440 ********** ok: [managed-node2] => { "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.004856", "end": "2025-04-18 22:07:00.366084", "rc": 0, "start": "2025-04-18 22:07:00.361228" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 18 April 2025 22:07:00 -0400 (0:00:00.392) 0:01:33.833 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 18 April 2025 22:07:01 -0400 (0:00:00.972) 0:01:34.805 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 18 April 2025 22:07:01 -0400 (0:00:00.112) 0:01:34.918 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 18 April 2025 22:07:01 -0400 (0:00:00.069) 0:01:34.988 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 18 April 2025 22:07:01 -0400 (0:00:00.161) 0:01:35.149 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 18 April 2025 22:07:01 -0400 (0:00:00.110) 0:01:35.259 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 18 April 2025 22:07:01 -0400 (0:00:00.091) 0:01:35.351 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 18 April 2025 22:07:02 -0400 (0:00:00.067) 0:01:35.418 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 18 April 2025 22:07:02 -0400 (0:00:00.559) 0:01:35.978 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:41:31 EDT", "ActiveEnterTimestampMonotonic": "14765511", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-sysctl.service basic.target network.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:41:30 EDT", "AssertTimestampMonotonic": "13951648", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ConditionTimestampMonotonic": "13951647", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "873", "ExecMainStartTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ExecMainStartTimestampMonotonic": "13952299", "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 2025-04-18 21:41:30 EDT", "InactiveExitTimestampMonotonic": "13952340", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "873", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 21:41:31 EDT", "WatchdogTimestampMonotonic": "14765336", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 18 April 2025 22:07:03 -0400 (0:00:00.441) 0:01:36.419 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088633", "end": "2025-04-18 22:07:03.390978", "rc": 0, "start": "2025-04-18 22:07:03.302345" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 18 April 2025 22:07:03 -0400 (0:00:00.418) 0:01:36.838 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 18 April 2025 22:07:03 -0400 (0:00:00.067) 0:01:36.906 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 18 April 2025 22:07:03 -0400 (0:00:00.071) 0:01:36.978 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 18 April 2025 22:07:03 -0400 (0:00:00.074) 0:01:37.052 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 18 April 2025 22:07:04 -0400 (0:00:00.370) 0:01:37.422 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 18 April 2025 22:07:04 -0400 (0:00:00.073) 0:01:37.496 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 18 April 2025 22:07:04 -0400 (0:00:00.578) 0:01:38.074 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 18 April 2025 22:07:04 -0400 (0:00:00.141) 0:01:38.216 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 18 April 2025 22:07:04 -0400 (0:00:00.101) 0:01:38.317 ********** skipping: [managed-node2] => (item=/tmp/ansible._TQzAo) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible._TQzAo", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.l7XY7J) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.l7XY7J", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 18 April 2025 22:07:05 -0400 (0:00:00.127) 0:01:38.445 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:05 -0400 (0:00:00.146) 0:01:38.591 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003032", "end": "2025-04-18 22:07:05.481031", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:05.477999" } STDOUT: tlscert = /etc/pki/tls/certs/ansible._TQzAo TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:05 -0400 (0:00:00.377) 0:01:38.969 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:05 -0400 (0:00:00.107) 0:01:39.076 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.047242", "end": "2025-04-18 22:07:06.023809", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:05.976567" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 18 April 2025 22:07:06 -0400 (0:00:00.449) 0:01:39.526 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:06 -0400 (0:00:00.210) 0:01:39.736 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003074", "end": "2025-04-18 22:07:06.672849", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:06.669775" } STDOUT: tlskey = /etc/pki/tls/private/ansible.l7XY7J TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:06 -0400 (0:00:00.424) 0:01:40.161 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:06 -0400 (0:00:00.123) 0:01:40.285 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047092", "end": "2025-04-18 22:07:07.273561", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:07.226469" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 18 April 2025 22:07:07 -0400 (0:00:00.484) 0:01:40.769 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:07 -0400 (0:00:00.211) 0:01:40.980 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003138", "end": "2025-04-18 22:07:07.909087", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:07.905949" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:08 -0400 (0:00:00.396) 0:01:41.377 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:08 -0400 (0:00:00.121) 0:01:41.498 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047230", "end": "2025-04-18 22:07:08.461330", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:08.414100" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 18 April 2025 22:07:08 -0400 (0:00:00.433) 0:01:41.932 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:08 -0400 (0:00:00.219) 0:01:42.151 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003028", "end": "2025-04-18 22:07:09.094431", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:09.091403" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:09 -0400 (0:00:00.437) 0:01:42.589 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:09 -0400 (0:00:00.122) 0:01:42.712 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.045715", "end": "2025-04-18 22:07:09.693411", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:09.647696" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 18 April 2025 22:07:09 -0400 (0:00:00.494) 0:01:43.206 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004360", "end": "2025-04-18 22:07:10.139554", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:10.135194" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 18 April 2025 22:07:10 -0400 (0:00:00.425) 0:01:43.631 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 18 April 2025 22:07:10 -0400 (0:00:00.126) 0:01:43.758 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 18 April 2025 22:07:10 -0400 (0:00:00.117) 0:01:43.875 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 18 April 2025 22:07:10 -0400 (0:00:00.116) 0:01:43.992 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 18 April 2025 22:07:10 -0400 (0:00:00.112) 0:01:44.105 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 18 April 2025 22:07:10 -0400 (0:00:00.117) 0:01:44.223 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 18 April 2025 22:07:10 -0400 (0:00:00.106) 0:01:44.330 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 18 April 2025 22:07:11 -0400 (0:00:00.209) 0:01:44.540 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 18 April 2025 22:07:11 -0400 (0:00:00.114) 0:01:44.654 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 18 April 2025 22:07:11 -0400 (0:00:00.111) 0:01:44.766 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 18 April 2025 22:07:11 -0400 (0:00:00.112) 0:01:44.878 ********** ok: [managed-node2] => { "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.004993", "end": "2025-04-18 22:07:11.820313", "rc": 0, "start": "2025-04-18 22:07:11.815320" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 18 April 2025 22:07:11 -0400 (0:00:00.439) 0:01:45.318 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 18 April 2025 22:07:12 -0400 (0:00:00.114) 0:01:45.433 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 18 April 2025 22:07:13 -0400 (0:00:01.365) 0:01:46.798 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 18 April 2025 22:07:13 -0400 (0:00:00.115) 0:01:46.914 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 18 April 2025 22:07:13 -0400 (0:00:00.111) 0:01:47.025 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 18 April 2025 22:07:13 -0400 (0:00:00.108) 0:01:47.133 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 18 April 2025 22:07:13 -0400 (0:00:00.110) 0:01:47.244 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:14 -0400 (0:00:00.282) 0:01:47.526 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002993", "end": "2025-04-18 22:07:14.459783", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:14.456790" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:14 -0400 (0:00:00.428) 0:01:47.954 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047430", "end": "2025-04-18 22:07:14.958943", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:14.911513" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:15 -0400 (0:00:00.498) 0:01:48.453 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 18 April 2025 22:07:15 -0400 (0:00:00.099) 0:01:48.552 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 18 April 2025 22:07:15 -0400 (0:00:00.085) 0:01:48.638 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 18 April 2025 22:07:15 -0400 (0:00:00.108) 0:01:48.747 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 18 April 2025 22:07:15 -0400 (0:00:00.086) 0:01:48.834 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 18 April 2025 22:07:15 -0400 (0:00:00.085) 0:01:48.919 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 18 April 2025 22:07:15 -0400 (0:00:00.066) 0:01:48.986 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 18 April 2025 22:07:15 -0400 (0:00:00.068) 0:01:49.054 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 18 April 2025 22:07:15 -0400 (0:00:00.068) 0:01:49.123 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 18 April 2025 22:07:15 -0400 (0:00:00.065) 0:01:49.188 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 18 April 2025 22:07:15 -0400 (0:00:00.066) 0:01:49.255 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 18 April 2025 22:07:15 -0400 (0:00:00.073) 0:01:49.328 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 18 April 2025 22:07:16 -0400 (0:00:00.067) 0:01:49.395 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 18 April 2025 22:07:16 -0400 (0:00:00.066) 0:01:49.462 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 18 April 2025 22:07:16 -0400 (0:00:00.067) 0:01:49.530 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 18 April 2025 22:07:16 -0400 (0:00:00.132) 0:01:49.662 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 18 April 2025 22:07:16 -0400 (0:00:00.068) 0:01:49.731 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 18 April 2025 22:07:16 -0400 (0:00:00.071) 0:01:49.802 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 18 April 2025 22:07:16 -0400 (0:00:00.081) 0:01:49.884 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 18 April 2025 22:07:16 -0400 (0:00:00.111) 0:01:49.995 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 18 April 2025 22:07:16 -0400 (0:00:00.114) 0:01:50.110 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 18 April 2025 22:07:16 -0400 (0:00:00.107) 0:01:50.217 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 18 April 2025 22:07:16 -0400 (0:00:00.114) 0:01:50.332 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 18 April 2025 22:07:17 -0400 (0:00:00.109) 0:01:50.442 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 18 April 2025 22:07:17 -0400 (0:00:00.113) 0:01:50.555 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 18 April 2025 22:07:17 -0400 (0:00:00.105) 0:01:50.661 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 18 April 2025 22:07:17 -0400 (0:00:00.108) 0:01:50.769 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 18 April 2025 22:07:17 -0400 (0:00:00.107) 0:01:50.877 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 18 April 2025 22:07:17 -0400 (0:00:00.098) 0:01:50.975 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 18 April 2025 22:07:17 -0400 (0:00:00.101) 0:01:51.076 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 18 April 2025 22:07:17 -0400 (0:00:00.103) 0:01:51.180 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 18 April 2025 22:07:17 -0400 (0:00:00.102) 0:01:51.282 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 18 April 2025 22:07:18 -0400 (0:00:00.087) 0:01:51.370 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 18 April 2025 22:07:18 -0400 (0:00:00.069) 0:01:51.440 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 18 April 2025 22:07:18 -0400 (0:00:00.078) 0:01:51.519 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 18 April 2025 22:07:18 -0400 (0:00:00.177) 0:01:51.696 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 18 April 2025 22:07:18 -0400 (0:00:00.085) 0:01:51.781 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 18 April 2025 22:07:18 -0400 (0:00:00.068) 0:01:51.850 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 18 April 2025 22:07:18 -0400 (0:00:00.104) 0:01:51.955 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 18 April 2025 22:07:18 -0400 (0:00:00.097) 0:01:52.052 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 18 April 2025 22:07:18 -0400 (0:00:00.087) 0:01:52.139 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 18 April 2025 22:07:18 -0400 (0:00:00.097) 0:01:52.236 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 18 April 2025 22:07:18 -0400 (0:00:00.068) 0:01:52.305 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 18 April 2025 22:07:19 -0400 (0:00:00.072) 0:01:52.378 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 18 April 2025 22:07:19 -0400 (0:00:00.068) 0:01:52.447 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 18 April 2025 22:07:19 -0400 (0:00:00.069) 0:01:52.516 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 18 April 2025 22:07:19 -0400 (0:00:00.081) 0:01:52.597 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 18 April 2025 22:07:19 -0400 (0:00:00.110) 0:01:52.708 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 18 April 2025 22:07:19 -0400 (0:00:00.109) 0:01:52.817 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 18 April 2025 22:07:19 -0400 (0:00:00.111) 0:01:52.929 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 18 April 2025 22:07:19 -0400 (0:00:00.109) 0:01:53.039 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 18 April 2025 22:07:19 -0400 (0:00:00.110) 0:01:53.149 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 18 April 2025 22:07:19 -0400 (0:00:00.112) 0:01:53.262 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 18 April 2025 22:07:20 -0400 (0:00:00.107) 0:01:53.369 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 18 April 2025 22:07:20 -0400 (0:00:00.217) 0:01:53.587 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 18 April 2025 22:07:20 -0400 (0:00:00.111) 0:01:53.698 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 18 April 2025 22:07:20 -0400 (0:00:00.110) 0:01:53.809 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 18 April 2025 22:07:20 -0400 (0:00:00.110) 0:01:53.919 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 18 April 2025 22:07:20 -0400 (0:00:00.116) 0:01:54.036 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 18 April 2025 22:07:20 -0400 (0:00:00.103) 0:01:54.140 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 18 April 2025 22:07:20 -0400 (0:00:00.092) 0:01:54.232 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 18 April 2025 22:07:20 -0400 (0:00:00.075) 0:01:54.308 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 18 April 2025 22:07:21 -0400 (0:00:00.067) 0:01:54.375 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 18 April 2025 22:07:21 -0400 (0:00:00.089) 0:01:54.465 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 18 April 2025 22:07:21 -0400 (0:00:00.508) 0:01:54.974 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:06:43 EDT", "ActiveEnterTimestampMonotonic": "1526383551", "ActiveExitTimestamp": "Fri 2025-04-18 22:06:42 EDT", "ActiveExitTimestampMonotonic": "1526161705", "ActiveState": "active", "After": "system.slice auditd.service basic.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:06:43 EDT", "AssertTimestampMonotonic": "1526382431", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:06:43 EDT", "ConditionTimestampMonotonic": "1526382430", "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": "16027", "ExecMainStartTimestamp": "Fri 2025-04-18 22:06:43 EDT", "ExecMainStartTimestampMonotonic": "1526383501", "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 2025-04-18 22:06:43 EDT", "InactiveEnterTimestampMonotonic": "1526381287", "InactiveExitTimestamp": "Fri 2025-04-18 22:06:43 EDT", "InactiveExitTimestampMonotonic": "1526383551", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "16027", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 22:06:43 EDT", "WatchdogTimestampMonotonic": "1526383535", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 18 April 2025 22:07:22 -0400 (0:00:00.760) 0:01:55.734 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 18 April 2025 22:07:22 -0400 (0:00:00.066) 0:01:55.801 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 18 April 2025 22:07:22 -0400 (0:00:00.070) 0:01:55.871 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 18 April 2025 22:07:22 -0400 (0:00:00.318) 0:01:56.190 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 18 April 2025 22:07:22 -0400 (0:00:00.069) 0:01:56.259 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 18 April 2025 22:07:22 -0400 (0:00:00.067) 0:01:56.327 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 18 April 2025 22:07:23 -0400 (0:00:00.090) 0:01:56.417 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 18 April 2025 22:07:23 -0400 (0:00:00.077) 0:01:56.494 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 18 April 2025 22:07:23 -0400 (0:00:00.067) 0:01:56.562 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 18 April 2025 22:07:23 -0400 (0:00:00.067) 0:01:56.630 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 18 April 2025 22:07:23 -0400 (0:00:00.065) 0:01:56.696 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 18 April 2025 22:07:23 -0400 (0:00:00.066) 0:01:56.762 ********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 18 April 2025 22:07:23 -0400 (0:00:00.177) 0:01:56.940 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ActiveEnterTimestampMonotonic": "1565557970", "ActiveExitTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ActiveExitTimestampMonotonic": "1565339561", "ActiveState": "active", "After": "system.slice auditd.service basic.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:07:22 EDT", "AssertTimestampMonotonic": "1565557375", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ConditionTimestampMonotonic": "1565557374", "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": "18272", "ExecMainStartTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ExecMainStartTimestampMonotonic": "1565557900", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-18 22:07:22 EDT] ; stop_time=[n/a] ; pid=18272 ; 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 2025-04-18 22:07:22 EDT", "InactiveEnterTimestampMonotonic": "1565556207", "InactiveExitTimestamp": "Fri 2025-04-18 22:07:22 EDT", "InactiveExitTimestampMonotonic": "1565557970", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "18272", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 22:07:22 EDT", "WatchdogTimestampMonotonic": "1565557932", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 18 April 2025 22:07:24 -0400 (0:00:00.523) 0:01:57.463 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003205", "end": "2025-04-18 22:07:24.427632", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:24.424427" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 18 April 2025 22:07:24 -0400 (0:00:00.457) 0:01:57.920 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004065", "end": "2025-04-18 22:07:25.890015", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:24.885950" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 18 April 2025 22:07:26 -0400 (0:00:01.471) 0:01:59.392 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 18 April 2025 22:07:26 -0400 (0:00:00.133) 0:01:59.525 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 18 April 2025 22:07:27 -0400 (0:00:01.425) 0:02:00.951 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031328", "end": "2025-04-18 22:07:27.912220", "rc": 0, "start": "2025-04-18 22:07:27.880892" } 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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 18 April 2025 22:07:28 -0400 (0:00:00.467) 0:02:01.418 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 18 April 2025 22:07:28 -0400 (0:00:00.116) 0:02:01.535 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 18 April 2025 22:07:28 -0400 (0:00:00.114) 0:02:01.649 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 18 April 2025 22:07:28 -0400 (0:00:00.108) 0:02:01.757 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 18 April 2025 22:07:28 -0400 (0:00:00.109) 0:02:01.867 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 18 April 2025 22:07:28 -0400 (0:00:00.111) 0:02:01.979 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 18 April 2025 22:07:28 -0400 (0:00:00.111) 0:02:02.091 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 18 April 2025 22:07:28 -0400 (0:00:00.111) 0:02:02.202 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 18 April 2025 22:07:28 -0400 (0:00:00.108) 0:02:02.311 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:07:29 -0400 (0:00:00.200) 0:02:02.512 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004167", "end": "2025-04-18 22:07:29.458130", "rc": 0, "start": "2025-04-18 22:07:29.453963" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:07:29 -0400 (0:00:00.446) 0:02:02.959 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:07:29 -0400 (0:00:00.137) 0:02:03.096 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:07:29 -0400 (0:00:00.119) 0:02:03.216 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 18 April 2025 22:07:29 -0400 (0:00:00.115) 0:02:03.331 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:07:30 -0400 (0:00:00.206) 0:02:03.538 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004118", "end": "2025-04-18 22:07:30.477759", "rc": 0, "start": "2025-04-18 22:07:30.473641" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:07:30 -0400 (0:00:00.427) 0:02:03.966 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:07:30 -0400 (0:00:00.138) 0:02:04.105 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:07:30 -0400 (0:00:00.102) 0:02:04.207 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 18 April 2025 22:07:30 -0400 (0:00:00.094) 0:02:04.302 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:07:31 -0400 (0:00:00.131) 0:02:04.434 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004685", "end": "2025-04-18 22:07:31.322557", "rc": 0, "start": "2025-04-18 22:07:31.317872" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:07:31 -0400 (0:00:00.336) 0:02:04.770 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:07:31 -0400 (0:00:00.086) 0:02:04.856 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:07:31 -0400 (0:00:00.072) 0:02:04.929 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 18 April 2025 22:07:31 -0400 (0:00:00.071) 0:02:05.000 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:07:31 -0400 (0:00:00.250) 0:02:05.251 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004134", "end": "2025-04-18 22:07:32.197579", "rc": 0, "start": "2025-04-18 22:07:32.193445" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:07:32 -0400 (0:00:00.499) 0:02:05.750 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:07:32 -0400 (0:00:00.120) 0:02:05.871 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:07:32 -0400 (0:00:00.140) 0:02:06.012 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 18 April 2025 22:07:32 -0400 (0:00:00.114) 0:02:06.127 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 18 April 2025 22:07:32 -0400 (0:00:00.109) 0:02:06.236 ********** changed: [managed-node2] => (item=/etc/pki/tls/certs/ansible._TQzAo) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible._TQzAo", "path": "/etc/pki/tls/certs/ansible._TQzAo", "state": "absent" } changed: [managed-node2] => (item=/etc/pki/tls/private/ansible.l7XY7J) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.l7XY7J", "path": "/etc/pki/tls/private/ansible.l7XY7J", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 18 April 2025 22:07:33 -0400 (0:00:00.689) 0:02:06.926 ********** ok: [managed-node2] => (item=/tmp/ansible._TQzAo) => { "ansible_loop_var": "item", "changed": false, "checksum": "e3e0c5d2be5bafde989ba5f0993bf9d4d20b4760", "dest": "/tmp/ansible._TQzAo", "gid": 0, "group": "root", "item": "/tmp/ansible._TQzAo", "mode": "0600", "owner": "root", "path": "/tmp/ansible._TQzAo", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed-node2] => (item=/tmp/ansible.l7XY7J) => { "ansible_loop_var": "item", "changed": false, "checksum": "4dff730b3cb76ca0ead7cd1a96f95359af167e37", "dest": "/tmp/ansible.l7XY7J", "gid": 0, "group": "root", "item": "/tmp/ansible.l7XY7J", "mode": "0600", "owner": "root", "path": "/tmp/ansible.l7XY7J", "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 18 April 2025 22:07:34 -0400 (0:00:01.195) 0:02:08.121 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible._TQzAo", "mssql_tls_private_key": "ansible.l7XY7J" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 18 April 2025 22:07:34 -0400 (0:00:00.098) 0:02:08.220 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 18 April 2025 22:07:35 -0400 (0:00:00.844) 0:02:09.065 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 18 April 2025 22:07:35 -0400 (0:00:00.148) 0:02:09.214 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 18 April 2025 22:07:35 -0400 (0:00:00.117) 0:02:09.331 ********** ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 18 April 2025 22:07:36 -0400 (0:00:00.125) 0:02:09.457 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 18 April 2025 22:07:36 -0400 (0:00:00.065) 0:02:09.523 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 18 April 2025 22:07:36 -0400 (0:00:00.067) 0:02:09.591 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 18 April 2025 22:07:36 -0400 (0:00:00.068) 0:02:09.659 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 18 April 2025 22:07:36 -0400 (0:00:00.065) 0:02:09.725 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 18 April 2025 22:07:36 -0400 (0:00:00.073) 0:02:09.798 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 18 April 2025 22:07:36 -0400 (0:00:00.065) 0:02:09.864 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 18 April 2025 22:07:36 -0400 (0:00:00.066) 0:02:09.931 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 18 April 2025 22:07:36 -0400 (0:00:00.067) 0:02:09.999 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 18 April 2025 22:07:36 -0400 (0:00:00.078) 0:02:10.078 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 18 April 2025 22:07:36 -0400 (0:00:00.216) 0:02:10.294 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 18 April 2025 22:07:37 -0400 (0:00:00.114) 0:02:10.409 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 18 April 2025 22:07:37 -0400 (0:00:00.114) 0:02:10.523 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 18 April 2025 22:07:37 -0400 (0:00:00.120) 0:02:10.644 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 18 April 2025 22:07:37 -0400 (0:00:00.110) 0:02:10.755 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 18 April 2025 22:07:37 -0400 (0:00:00.107) 0:02:10.863 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 18 April 2025 22:07:37 -0400 (0:00:00.109) 0:02:10.972 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 18 April 2025 22:07:37 -0400 (0:00:00.092) 0:02:11.064 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 18 April 2025 22:07:37 -0400 (0:00:00.088) 0:02:11.153 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 18 April 2025 22:07:37 -0400 (0:00:00.072) 0:02:11.225 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 18 April 2025 22:07:39 -0400 (0:00:01.253) 0:02:12.479 ********** ok: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 18 April 2025 22:07:39 -0400 (0:00:00.281) 0:02:12.760 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 18 April 2025 22:07:39 -0400 (0:00:00.213) 0:02:12.973 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 18 April 2025 22:07:39 -0400 (0:00:00.103) 0:02:13.077 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 18 April 2025 22:07:39 -0400 (0:00:00.138) 0:02:13.216 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 18 April 2025 22:07:40 -0400 (0:00:00.564) 0:02:13.780 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 18 April 2025 22:07:40 -0400 (0:00:00.076) 0:02:13.857 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 18 April 2025 22:07:40 -0400 (0:00:00.108) 0:02:13.966 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 18 April 2025 22:07:40 -0400 (0:00:00.118) 0:02:14.085 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 18 April 2025 22:07:40 -0400 (0:00:00.116) 0:02:14.202 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 18 April 2025 22:07:40 -0400 (0:00:00.121) 0:02:14.323 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 18 April 2025 22:07:41 -0400 (0:00:00.118) 0:02:14.441 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 18 April 2025 22:07:41 -0400 (0:00:00.145) 0:02:14.587 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 18 April 2025 22:07:41 -0400 (0:00:00.095) 0:02:14.682 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 18 April 2025 22:07:41 -0400 (0:00:00.629) 0:02:15.312 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 18 April 2025 22:07:42 -0400 (0:00:00.593) 0:02:15.906 ********** ok: [managed-node2] => { "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.004985", "end": "2025-04-18 22:07:42.815085", "rc": 0, "start": "2025-04-18 22:07:42.810100" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 18 April 2025 22:07:43 -0400 (0:00:00.463) 0:02:16.369 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 18 April 2025 22:07:43 -0400 (0:00:00.956) 0:02:17.325 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 18 April 2025 22:07:44 -0400 (0:00:00.107) 0:02:17.433 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 18 April 2025 22:07:44 -0400 (0:00:00.070) 0:02:17.504 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 18 April 2025 22:07:44 -0400 (0:00:00.067) 0:02:17.571 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 18 April 2025 22:07:44 -0400 (0:00:00.112) 0:02:17.684 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 18 April 2025 22:07:44 -0400 (0:00:00.113) 0:02:17.798 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 18 April 2025 22:07:44 -0400 (0:00:00.111) 0:02:17.910 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 18 April 2025 22:07:45 -0400 (0:00:00.630) 0:02:18.540 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:41:31 EDT", "ActiveEnterTimestampMonotonic": "14765511", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-sysctl.service basic.target network.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:41:30 EDT", "AssertTimestampMonotonic": "13951648", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ConditionTimestampMonotonic": "13951647", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "873", "ExecMainStartTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ExecMainStartTimestampMonotonic": "13952299", "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 2025-04-18 21:41:30 EDT", "InactiveExitTimestampMonotonic": "13952340", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "873", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 21:41:31 EDT", "WatchdogTimestampMonotonic": "14765336", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 18 April 2025 22:07:45 -0400 (0:00:00.509) 0:02:19.050 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085750", "end": "2025-04-18 22:07:46.029149", "rc": 0, "start": "2025-04-18 22:07:45.943399" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 18 April 2025 22:07:46 -0400 (0:00:00.476) 0:02:19.526 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 18 April 2025 22:07:46 -0400 (0:00:00.210) 0:02:19.736 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 18 April 2025 22:07:46 -0400 (0:00:00.112) 0:02:19.849 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 18 April 2025 22:07:46 -0400 (0:00:00.115) 0:02:19.965 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 18 April 2025 22:07:47 -0400 (0:00:00.444) 0:02:20.410 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 18 April 2025 22:07:47 -0400 (0:00:00.092) 0:02:20.502 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 18 April 2025 22:07:47 -0400 (0:00:00.563) 0:02:21.065 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 18 April 2025 22:07:47 -0400 (0:00:00.075) 0:02:21.141 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 18 April 2025 22:07:47 -0400 (0:00:00.073) 0:02:21.214 ********** changed: [managed-node2] => (item=/tmp/ansible._TQzAo) => { "ansible_loop_var": "item", "changed": true, "checksum": "e3e0c5d2be5bafde989ba5f0993bf9d4d20b4760", "dest": "/etc/pki/tls/certs/ansible._TQzAo", "gid": 994, "group": "mssql", "item": "/tmp/ansible._TQzAo", "md5sum": "c699f5d198c8012e33c0c2e762fa7d79", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible._TQzAo", "state": "file", "uid": 996 } changed: [managed-node2] => (item=/tmp/ansible.l7XY7J) => { "ansible_loop_var": "item", "changed": true, "checksum": "4dff730b3cb76ca0ead7cd1a96f95359af167e37", "dest": "/etc/pki/tls/private/ansible.l7XY7J", "gid": 994, "group": "mssql", "item": "/tmp/ansible.l7XY7J", "md5sum": "5aec01a7680b0ce4bce76517d11abb48", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.l7XY7J", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 18 April 2025 22:07:48 -0400 (0:00:00.691) 0:02:21.906 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:48 -0400 (0:00:00.205) 0:02:22.111 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002986", "end": "2025-04-18 22:07:49.046885", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:49.043899" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:49 -0400 (0:00:00.427) 0:02:22.538 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible._TQzAo" ], "delta": "0:00:00.048568", "end": "2025-04-18 22:07:49.533594", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:49.485026" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:49 -0400 (0:00:00.454) 0:02:22.993 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 18 April 2025 22:07:49 -0400 (0:00:00.111) 0:02:23.105 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:50 -0400 (0:00:00.266) 0:02:23.371 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002953", "end": "2025-04-18 22:07:50.269387", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:50.266434" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:50 -0400 (0:00:00.396) 0:02:23.767 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.l7XY7J" ], "delta": "0:00:00.046451", "end": "2025-04-18 22:07:50.768723", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:50.722272" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:50 -0400 (0:00:00.512) 0:02:24.280 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 18 April 2025 22:07:51 -0400 (0:00:00.123) 0:02:24.404 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:51 -0400 (0:00:00.217) 0:02:24.621 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003473", "end": "2025-04-18 22:07:51.563884", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:51.560411" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:51 -0400 (0:00:00.438) 0:02:25.060 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.046666", "end": "2025-04-18 22:07:52.062272", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:52.015606" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:52 -0400 (0:00:00.511) 0:02:25.571 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 18 April 2025 22:07:52 -0400 (0:00:00.114) 0:02:25.686 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:52 -0400 (0:00:00.218) 0:02:25.905 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003533", "end": "2025-04-18 22:07:52.840286", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:52.836753" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:52 -0400 (0:00:00.432) 0:02:26.337 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.046514", "end": "2025-04-18 22:07:53.333323", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:53.286809" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:53 -0400 (0:00:00.597) 0:02:26.935 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 18 April 2025 22:07:53 -0400 (0:00:00.118) 0:02:27.053 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004392", "end": "2025-04-18 22:07:53.996970", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:53.992578" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 18 April 2025 22:07:54 -0400 (0:00:00.432) 0:02:27.485 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 18 April 2025 22:07:54 -0400 (0:00:00.112) 0:02:27.598 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 18 April 2025 22:07:54 -0400 (0:00:00.122) 0:02:27.721 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 18 April 2025 22:07:54 -0400 (0:00:00.114) 0:02:27.836 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 18 April 2025 22:07:54 -0400 (0:00:00.118) 0:02:27.954 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 18 April 2025 22:07:54 -0400 (0:00:00.113) 0:02:28.068 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 18 April 2025 22:07:54 -0400 (0:00:00.115) 0:02:28.183 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 18 April 2025 22:07:54 -0400 (0:00:00.123) 0:02:28.307 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 18 April 2025 22:07:55 -0400 (0:00:00.113) 0:02:28.420 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 18 April 2025 22:07:55 -0400 (0:00:00.107) 0:02:28.528 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 18 April 2025 22:07:55 -0400 (0:00:00.109) 0:02:28.637 ********** ok: [managed-node2] => { "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.004750", "end": "2025-04-18 22:07:55.582058", "rc": 0, "start": "2025-04-18 22:07:55.577308" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 18 April 2025 22:07:55 -0400 (0:00:00.444) 0:02:29.082 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 18 April 2025 22:07:55 -0400 (0:00:00.120) 0:02:29.202 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 18 April 2025 22:07:57 -0400 (0:00:01.511) 0:02:30.714 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 18 April 2025 22:07:57 -0400 (0:00:00.077) 0:02:30.791 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 18 April 2025 22:07:57 -0400 (0:00:00.068) 0:02:30.860 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 18 April 2025 22:07:57 -0400 (0:00:00.070) 0:02:30.931 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 18 April 2025 22:07:57 -0400 (0:00:00.073) 0:02:31.005 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:07:57 -0400 (0:00:00.120) 0:02:31.125 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003546", "end": "2025-04-18 22:07:58.014765", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:07:58.011219" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:07:58 -0400 (0:00:00.368) 0:02:31.494 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047510", "end": "2025-04-18 22:07:58.504103", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:07:58.456593" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:07:58 -0400 (0:00:00.521) 0:02:32.016 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 18 April 2025 22:07:58 -0400 (0:00:00.112) 0:02:32.128 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 18 April 2025 22:07:58 -0400 (0:00:00.108) 0:02:32.237 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 18 April 2025 22:07:58 -0400 (0:00:00.114) 0:02:32.352 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 18 April 2025 22:07:59 -0400 (0:00:00.109) 0:02:32.461 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 18 April 2025 22:07:59 -0400 (0:00:00.209) 0:02:32.671 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 18 April 2025 22:07:59 -0400 (0:00:00.109) 0:02:32.781 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 18 April 2025 22:07:59 -0400 (0:00:00.108) 0:02:32.889 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 18 April 2025 22:07:59 -0400 (0:00:00.110) 0:02:33.000 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 18 April 2025 22:07:59 -0400 (0:00:00.108) 0:02:33.108 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 18 April 2025 22:07:59 -0400 (0:00:00.110) 0:02:33.219 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 18 April 2025 22:07:59 -0400 (0:00:00.088) 0:02:33.307 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 18 April 2025 22:08:00 -0400 (0:00:00.099) 0:02:33.407 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 18 April 2025 22:08:00 -0400 (0:00:00.075) 0:02:33.482 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 18 April 2025 22:08:00 -0400 (0:00:00.074) 0:02:33.556 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 18 April 2025 22:08:00 -0400 (0:00:00.087) 0:02:33.644 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 18 April 2025 22:08:00 -0400 (0:00:00.115) 0:02:33.759 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 18 April 2025 22:08:00 -0400 (0:00:00.083) 0:02:33.843 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 18 April 2025 22:08:00 -0400 (0:00:00.090) 0:02:33.933 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 18 April 2025 22:08:00 -0400 (0:00:00.077) 0:02:34.011 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 18 April 2025 22:08:00 -0400 (0:00:00.074) 0:02:34.086 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 18 April 2025 22:08:00 -0400 (0:00:00.076) 0:02:34.162 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 18 April 2025 22:08:00 -0400 (0:00:00.115) 0:02:34.277 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 18 April 2025 22:08:01 -0400 (0:00:00.084) 0:02:34.361 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 18 April 2025 22:08:01 -0400 (0:00:00.176) 0:02:34.538 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 18 April 2025 22:08:01 -0400 (0:00:00.071) 0:02:34.609 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 18 April 2025 22:08:01 -0400 (0:00:00.094) 0:02:34.704 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 18 April 2025 22:08:01 -0400 (0:00:00.114) 0:02:34.818 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 18 April 2025 22:08:01 -0400 (0:00:00.107) 0:02:34.926 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 18 April 2025 22:08:01 -0400 (0:00:00.086) 0:02:35.012 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 18 April 2025 22:08:01 -0400 (0:00:00.084) 0:02:35.097 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 18 April 2025 22:08:01 -0400 (0:00:00.071) 0:02:35.169 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 18 April 2025 22:08:01 -0400 (0:00:00.069) 0:02:35.238 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 18 April 2025 22:08:01 -0400 (0:00:00.072) 0:02:35.311 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 18 April 2025 22:08:02 -0400 (0:00:00.071) 0:02:35.382 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 18 April 2025 22:08:02 -0400 (0:00:00.072) 0:02:35.454 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 18 April 2025 22:08:02 -0400 (0:00:00.068) 0:02:35.523 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 18 April 2025 22:08:02 -0400 (0:00:00.066) 0:02:35.590 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 18 April 2025 22:08:02 -0400 (0:00:00.081) 0:02:35.672 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 18 April 2025 22:08:02 -0400 (0:00:00.069) 0:02:35.741 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 18 April 2025 22:08:02 -0400 (0:00:00.067) 0:02:35.809 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 18 April 2025 22:08:02 -0400 (0:00:00.085) 0:02:35.894 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 18 April 2025 22:08:02 -0400 (0:00:00.067) 0:02:35.962 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 18 April 2025 22:08:02 -0400 (0:00:00.150) 0:02:36.112 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 18 April 2025 22:08:02 -0400 (0:00:00.070) 0:02:36.183 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 18 April 2025 22:08:02 -0400 (0:00:00.105) 0:02:36.289 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 18 April 2025 22:08:03 -0400 (0:00:00.098) 0:02:36.387 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 18 April 2025 22:08:03 -0400 (0:00:00.089) 0:02:36.477 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 18 April 2025 22:08:03 -0400 (0:00:00.075) 0:02:36.552 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 18 April 2025 22:08:03 -0400 (0:00:00.076) 0:02:36.629 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 18 April 2025 22:08:03 -0400 (0:00:00.111) 0:02:36.740 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 18 April 2025 22:08:03 -0400 (0:00:00.115) 0:02:36.856 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 18 April 2025 22:08:03 -0400 (0:00:00.122) 0:02:36.979 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 18 April 2025 22:08:03 -0400 (0:00:00.116) 0:02:37.096 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 18 April 2025 22:08:03 -0400 (0:00:00.127) 0:02:37.224 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 18 April 2025 22:08:03 -0400 (0:00:00.111) 0:02:37.336 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 18 April 2025 22:08:04 -0400 (0:00:00.109) 0:02:37.445 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 18 April 2025 22:08:04 -0400 (0:00:00.107) 0:02:37.552 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 18 April 2025 22:08:04 -0400 (0:00:00.112) 0:02:37.665 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 18 April 2025 22:08:04 -0400 (0:00:00.127) 0:02:37.792 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 18 April 2025 22:08:04 -0400 (0:00:00.107) 0:02:37.900 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 18 April 2025 22:08:04 -0400 (0:00:00.109) 0:02:38.009 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 18 April 2025 22:08:04 -0400 (0:00:00.182) 0:02:38.192 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 18 April 2025 22:08:04 -0400 (0:00:00.071) 0:02:38.263 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 18 April 2025 22:08:05 -0400 (0:00:00.563) 0:02:38.827 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ActiveEnterTimestampMonotonic": "1565557970", "ActiveExitTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ActiveExitTimestampMonotonic": "1565339561", "ActiveState": "active", "After": "system.slice auditd.service basic.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:07:22 EDT", "AssertTimestampMonotonic": "1565557375", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ConditionTimestampMonotonic": "1565557374", "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": "18272", "ExecMainStartTimestamp": "Fri 2025-04-18 22:07:22 EDT", "ExecMainStartTimestampMonotonic": "1565557900", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-18 22:07:22 EDT] ; stop_time=[n/a] ; pid=18272 ; 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 2025-04-18 22:07:22 EDT", "InactiveEnterTimestampMonotonic": "1565556207", "InactiveExitTimestamp": "Fri 2025-04-18 22:07:22 EDT", "InactiveExitTimestampMonotonic": "1565557970", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "18272", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 22:07:22 EDT", "WatchdogTimestampMonotonic": "1565557932", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 18 April 2025 22:08:07 -0400 (0:00:01.830) 0:02:40.657 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 18 April 2025 22:08:07 -0400 (0:00:00.074) 0:02:40.731 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 18 April 2025 22:08:07 -0400 (0:00:00.100) 0:02:40.832 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 18 April 2025 22:08:08 -0400 (0:00:00.623) 0:02:41.456 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 18 April 2025 22:08:08 -0400 (0:00:00.093) 0:02:41.550 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 18 April 2025 22:08:08 -0400 (0:00:00.069) 0:02:41.619 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 18 April 2025 22:08:08 -0400 (0:00:00.217) 0:02:41.837 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 18 April 2025 22:08:08 -0400 (0:00:00.092) 0:02:41.929 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 18 April 2025 22:08:08 -0400 (0:00:00.071) 0:02:42.001 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 18 April 2025 22:08:08 -0400 (0:00:00.078) 0:02:42.079 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 18 April 2025 22:08:08 -0400 (0:00:00.107) 0:02:42.187 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 18 April 2025 22:08:08 -0400 (0:00:00.091) 0:02:42.279 ********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 18 April 2025 22:08:09 -0400 (0:00:00.143) 0:02:42.423 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:08:07 EDT", "ActiveEnterTimestampMonotonic": "1610471361", "ActiveExitTimestamp": "Fri 2025-04-18 22:08:05 EDT", "ActiveExitTimestampMonotonic": "1609221064", "ActiveState": "active", "After": "system.slice auditd.service basic.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:08:07 EDT", "AssertTimestampMonotonic": "1610470735", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:08:07 EDT", "ConditionTimestampMonotonic": "1610470734", "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": "20722", "ExecMainStartTimestamp": "Fri 2025-04-18 22:08:07 EDT", "ExecMainStartTimestampMonotonic": "1610471290", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-18 22:08:07 EDT] ; stop_time=[n/a] ; pid=20722 ; 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 2025-04-18 22:08:07 EDT", "InactiveEnterTimestampMonotonic": "1610469805", "InactiveExitTimestamp": "Fri 2025-04-18 22:08:07 EDT", "InactiveExitTimestampMonotonic": "1610471361", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20722", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 22:08:07 EDT", "WatchdogTimestampMonotonic": "1610471336", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 18 April 2025 22:08:09 -0400 (0:00:00.491) 0:02:42.914 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003908", "end": "2025-04-18 22:08:09.874035", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:08:09.870127" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 18 April 2025 22:08:10 -0400 (0:00:00.456) 0:02:43.370 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003590", "end": "2025-04-18 22:08:10.328637", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:08:10.325047" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 18 April 2025 22:08:10 -0400 (0:00:00.453) 0:02:43.824 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 18 April 2025 22:08:10 -0400 (0:00:00.136) 0:02:43.961 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 18 April 2025 22:08:12 -0400 (0:00:01.535) 0:02:45.496 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022159", "end": "2025-04-18 22:08:12.464324", "rc": 0, "start": "2025-04-18 22:08:12.442165" } 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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 18 April 2025 22:08:12 -0400 (0:00:00.471) 0:02:45.968 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 18 April 2025 22:08:12 -0400 (0:00:00.121) 0:02:46.089 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 18 April 2025 22:08:12 -0400 (0:00:00.112) 0:02:46.201 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 18 April 2025 22:08:12 -0400 (0:00:00.110) 0:02:46.311 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 18 April 2025 22:08:13 -0400 (0:00:00.096) 0:02:46.408 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 18 April 2025 22:08:13 -0400 (0:00:00.090) 0:02:46.498 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 18 April 2025 22:08:13 -0400 (0:00:00.077) 0:02:46.575 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 18 April 2025 22:08:13 -0400 (0:00:00.071) 0:02:46.647 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 18 April 2025 22:08:13 -0400 (0:00:00.068) 0:02:46.715 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:08:13 -0400 (0:00:00.123) 0:02:46.839 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004550", "end": "2025-04-18 22:08:13.733691", "rc": 0, "start": "2025-04-18 22:08:13.729141" } STDOUT: tlscert = /etc/pki/tls/certs/ansible._TQzAo TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:08:13 -0400 (0:00:00.344) 0:02:47.183 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:08:13 -0400 (0:00:00.087) 0:02:47.271 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible._TQzAo] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:08:14 -0400 (0:00:00.088) 0:02:47.360 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 18 April 2025 22:08:14 -0400 (0:00:00.102) 0:02:47.462 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:08:14 -0400 (0:00:00.331) 0:02:47.794 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004086", "end": "2025-04-18 22:08:14.746970", "rc": 0, "start": "2025-04-18 22:08:14.742884" } STDOUT: tlskey = /etc/pki/tls/private/ansible.l7XY7J TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:08:14 -0400 (0:00:00.454) 0:02:48.249 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:08:15 -0400 (0:00:00.126) 0:02:48.375 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.l7XY7J] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:08:15 -0400 (0:00:00.103) 0:02:48.478 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 18 April 2025 22:08:15 -0400 (0:00:00.073) 0:02:48.552 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:08:15 -0400 (0:00:00.133) 0:02:48.685 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004492", "end": "2025-04-18 22:08:15.602275", "rc": 0, "start": "2025-04-18 22:08:15.597783" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:08:15 -0400 (0:00:00.408) 0:02:49.094 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:08:15 -0400 (0:00:00.133) 0:02:49.227 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:08:15 -0400 (0:00:00.115) 0:02:49.343 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 18 April 2025 22:08:16 -0400 (0:00:00.113) 0:02:49.457 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:08:16 -0400 (0:00:00.221) 0:02:49.678 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004589", "end": "2025-04-18 22:08:16.614754", "rc": 0, "start": "2025-04-18 22:08:16.610165" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:08:16 -0400 (0:00:00.392) 0:02:50.071 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:08:16 -0400 (0:00:00.074) 0:02:50.146 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:08:16 -0400 (0:00:00.088) 0:02:50.234 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 18 April 2025 22:08:17 -0400 (0:00:00.173) 0:02:50.407 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 18 April 2025 22:08:17 -0400 (0:00:00.113) 0:02:50.521 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node2 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 18 April 2025 22:08:17 -0400 (0:00:00.454) 0:02:50.976 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003501", "end": "2025-04-18 22:08:18.068680", "rc": 0, "start": "2025-04-18 22:08:18.065179" } 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._TQzAo tlskey = /etc/pki/tls/private/ansible.l7XY7J tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 18 April 2025 22:08:18 -0400 (0:00:00.576) 0:02:51.552 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 18 April 2025 22:08:19 -0400 (0:00:00.944) 0:02:52.496 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 18 April 2025 22:08:19 -0400 (0:00:00.199) 0:02:52.695 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 18 April 2025 22:08:19 -0400 (0:00:00.156) 0:02:52.852 ********** ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 18 April 2025 22:08:19 -0400 (0:00:00.166) 0:02:53.018 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 18 April 2025 22:08:19 -0400 (0:00:00.110) 0:02:53.129 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 18 April 2025 22:08:19 -0400 (0:00:00.112) 0:02:53.241 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 18 April 2025 22:08:19 -0400 (0:00:00.112) 0:02:53.354 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 18 April 2025 22:08:20 -0400 (0:00:00.114) 0:02:53.469 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 18 April 2025 22:08:20 -0400 (0:00:00.091) 0:02:53.561 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 18 April 2025 22:08:20 -0400 (0:00:00.092) 0:02:53.653 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 18 April 2025 22:08:20 -0400 (0:00:00.072) 0:02:53.725 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 18 April 2025 22:08:20 -0400 (0:00:00.076) 0:02:53.801 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 18 April 2025 22:08:20 -0400 (0:00:00.070) 0:02:53.871 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 18 April 2025 22:08:20 -0400 (0:00:00.072) 0:02:53.944 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 18 April 2025 22:08:20 -0400 (0:00:00.106) 0:02:54.050 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 18 April 2025 22:08:20 -0400 (0:00:00.107) 0:02:54.158 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 18 April 2025 22:08:20 -0400 (0:00:00.102) 0:02:54.260 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 18 April 2025 22:08:20 -0400 (0:00:00.083) 0:02:54.343 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 18 April 2025 22:08:21 -0400 (0:00:00.209) 0:02:54.553 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 18 April 2025 22:08:21 -0400 (0:00:00.111) 0:02:54.664 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 18 April 2025 22:08:21 -0400 (0:00:00.096) 0:02:54.761 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 18 April 2025 22:08:21 -0400 (0:00:00.097) 0:02:54.858 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 18 April 2025 22:08:21 -0400 (0:00:00.070) 0:02:54.929 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 18 April 2025 22:08:22 -0400 (0:00:01.243) 0:02:56.173 ********** ok: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 18 April 2025 22:08:23 -0400 (0:00:00.251) 0:02:56.424 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 18 April 2025 22:08:23 -0400 (0:00:00.115) 0:02:56.540 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 18 April 2025 22:08:23 -0400 (0:00:00.122) 0:02:56.662 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 18 April 2025 22:08:23 -0400 (0:00:00.195) 0:02:56.857 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 18 April 2025 22:08:24 -0400 (0:00:00.669) 0:02:57.526 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 18 April 2025 22:08:24 -0400 (0:00:00.121) 0:02:57.648 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 18 April 2025 22:08:24 -0400 (0:00:00.107) 0:02:57.756 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 18 April 2025 22:08:24 -0400 (0:00:00.100) 0:02:57.856 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 18 April 2025 22:08:24 -0400 (0:00:00.085) 0:02:57.941 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 18 April 2025 22:08:24 -0400 (0:00:00.084) 0:02:58.026 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 18 April 2025 22:08:24 -0400 (0:00:00.113) 0:02:58.140 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 18 April 2025 22:08:24 -0400 (0:00:00.138) 0:02:58.278 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 18 April 2025 22:08:25 -0400 (0:00:00.088) 0:02:58.367 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 18 April 2025 22:08:25 -0400 (0:00:00.632) 0:02:59.000 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 18 April 2025 22:08:26 -0400 (0:00:00.589) 0:02:59.590 ********** ok: [managed-node2] => { "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.005298", "end": "2025-04-18 22:08:26.491336", "rc": 0, "start": "2025-04-18 22:08:26.486038" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 18 April 2025 22:08:26 -0400 (0:00:00.351) 0:02:59.941 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 18 April 2025 22:08:27 -0400 (0:00:01.095) 0:03:01.037 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 18 April 2025 22:08:27 -0400 (0:00:00.145) 0:03:01.183 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 18 April 2025 22:08:27 -0400 (0:00:00.096) 0:03:01.279 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 18 April 2025 22:08:27 -0400 (0:00:00.075) 0:03:01.354 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 18 April 2025 22:08:28 -0400 (0:00:00.101) 0:03:01.456 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 18 April 2025 22:08:28 -0400 (0:00:00.118) 0:03:01.574 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 18 April 2025 22:08:28 -0400 (0:00:00.091) 0:03:01.665 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 18 April 2025 22:08:28 -0400 (0:00:00.627) 0:03:02.293 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:41:31 EDT", "ActiveEnterTimestampMonotonic": "14765511", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-sysctl.service basic.target network.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:41:30 EDT", "AssertTimestampMonotonic": "13951648", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ConditionTimestampMonotonic": "13951647", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "873", "ExecMainStartTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ExecMainStartTimestampMonotonic": "13952299", "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 2025-04-18 21:41:30 EDT", "InactiveExitTimestampMonotonic": "13952340", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "873", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 21:41:31 EDT", "WatchdogTimestampMonotonic": "14765336", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 18 April 2025 22:08:29 -0400 (0:00:00.517) 0:03:02.810 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087871", "end": "2025-04-18 22:08:29.797363", "rc": 0, "start": "2025-04-18 22:08:29.709492" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 18 April 2025 22:08:29 -0400 (0:00:00.478) 0:03:03.289 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 18 April 2025 22:08:30 -0400 (0:00:00.106) 0:03:03.395 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 18 April 2025 22:08:30 -0400 (0:00:00.093) 0:03:03.488 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 18 April 2025 22:08:30 -0400 (0:00:00.075) 0:03:03.564 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 18 April 2025 22:08:30 -0400 (0:00:00.574) 0:03:04.139 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 18 April 2025 22:08:30 -0400 (0:00:00.113) 0:03:04.252 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 18 April 2025 22:08:31 -0400 (0:00:00.647) 0:03:04.900 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 18 April 2025 22:08:31 -0400 (0:00:00.073) 0:03:04.974 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 18 April 2025 22:08:31 -0400 (0:00:00.109) 0:03:05.083 ********** skipping: [managed-node2] => (item=/tmp/ansible._TQzAo) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible._TQzAo", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.l7XY7J) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.l7XY7J", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 18 April 2025 22:08:31 -0400 (0:00:00.143) 0:03:05.226 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:08:32 -0400 (0:00:00.178) 0:03:05.405 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003461", "end": "2025-04-18 22:08:32.304585", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:32.301124" } STDOUT: tlscert = /etc/pki/tls/certs/ansible._TQzAo TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:08:32 -0400 (0:00:00.352) 0:03:05.758 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:08:32 -0400 (0:00:00.083) 0:03:05.842 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.046527", "end": "2025-04-18 22:08:32.788975", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:32.742448" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 18 April 2025 22:08:32 -0400 (0:00:00.421) 0:03:06.263 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:08:33 -0400 (0:00:00.208) 0:03:06.471 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003067", "end": "2025-04-18 22:08:33.434584", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:33.431517" } STDOUT: tlskey = /etc/pki/tls/private/ansible.l7XY7J TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:08:33 -0400 (0:00:00.459) 0:03:06.931 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:08:33 -0400 (0:00:00.260) 0:03:07.191 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047016", "end": "2025-04-18 22:08:34.183994", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:34.136978" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 18 April 2025 22:08:34 -0400 (0:00:00.460) 0:03:07.652 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:08:34 -0400 (0:00:00.200) 0:03:07.852 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003516", "end": "2025-04-18 22:08:34.765949", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:34.762433" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:08:34 -0400 (0:00:00.393) 0:03:08.246 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:08:35 -0400 (0:00:00.129) 0:03:08.376 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.045942", "end": "2025-04-18 22:08:35.366827", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:35.320885" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 18 April 2025 22:08:35 -0400 (0:00:00.495) 0:03:08.871 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:08:35 -0400 (0:00:00.224) 0:03:09.096 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003104", "end": "2025-04-18 22:08:36.042083", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:36.038979" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:08:36 -0400 (0:00:00.441) 0:03:09.538 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:08:36 -0400 (0:00:00.125) 0:03:09.663 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.046614", "end": "2025-04-18 22:08:36.669753", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:36.623139" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 18 April 2025 22:08:36 -0400 (0:00:00.515) 0:03:10.179 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005282", "end": "2025-04-18 22:08:37.129208", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:08:37.123926" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 18 April 2025 22:08:37 -0400 (0:00:00.446) 0:03:10.625 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 18 April 2025 22:08:37 -0400 (0:00:00.120) 0:03:10.746 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 18 April 2025 22:08:37 -0400 (0:00:00.253) 0:03:10.999 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 18 April 2025 22:08:37 -0400 (0:00:00.113) 0:03:11.113 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 18 April 2025 22:08:37 -0400 (0:00:00.124) 0:03:11.237 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 18 April 2025 22:08:38 -0400 (0:00:00.118) 0:03:11.356 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 18 April 2025 22:08:38 -0400 (0:00:00.113) 0:03:11.470 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 18 April 2025 22:08:38 -0400 (0:00:00.121) 0:03:11.591 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 18 April 2025 22:08:38 -0400 (0:00:00.118) 0:03:11.710 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 18 April 2025 22:08:38 -0400 (0:00:00.117) 0:03:11.827 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 18 April 2025 22:08:38 -0400 (0:00:00.112) 0:03:11.940 ********** ok: [managed-node2] => { "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.005087", "end": "2025-04-18 22:08:38.889675", "rc": 0, "start": "2025-04-18 22:08:38.884588" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 18 April 2025 22:08:39 -0400 (0:00:00.439) 0:03:12.379 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 18 April 2025 22:08:39 -0400 (0:00:00.117) 0:03:12.497 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 18 April 2025 22:08:40 -0400 (0:00:01.368) 0:03:13.865 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 18 April 2025 22:08:40 -0400 (0:00:00.264) 0:03:14.130 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 18 April 2025 22:08:40 -0400 (0:00:00.121) 0:03:14.251 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 18 April 2025 22:08:41 -0400 (0:00:00.120) 0:03:14.372 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 18 April 2025 22:08:41 -0400 (0:00:00.119) 0:03:14.492 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:08:41 -0400 (0:00:00.203) 0:03:14.696 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003149", "end": "2025-04-18 22:08:41.651542", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:08:41.648393" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:08:41 -0400 (0:00:00.427) 0:03:15.123 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047542", "end": "2025-04-18 22:08:42.107660", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:08:42.060118" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:08:42 -0400 (0:00:00.500) 0:03:15.624 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 18 April 2025 22:08:42 -0400 (0:00:00.074) 0:03:15.699 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 18 April 2025 22:08:42 -0400 (0:00:00.068) 0:03:15.767 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 18 April 2025 22:08:42 -0400 (0:00:00.072) 0:03:15.840 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 18 April 2025 22:08:42 -0400 (0:00:00.072) 0:03:15.913 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 18 April 2025 22:08:42 -0400 (0:00:00.074) 0:03:15.987 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 18 April 2025 22:08:42 -0400 (0:00:00.068) 0:03:16.055 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 18 April 2025 22:08:42 -0400 (0:00:00.069) 0:03:16.125 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 18 April 2025 22:08:42 -0400 (0:00:00.070) 0:03:16.196 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 18 April 2025 22:08:42 -0400 (0:00:00.071) 0:03:16.267 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 18 April 2025 22:08:43 -0400 (0:00:00.168) 0:03:16.436 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 18 April 2025 22:08:43 -0400 (0:00:00.072) 0:03:16.508 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 18 April 2025 22:08:43 -0400 (0:00:00.071) 0:03:16.580 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 18 April 2025 22:08:43 -0400 (0:00:00.068) 0:03:16.648 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 18 April 2025 22:08:43 -0400 (0:00:00.075) 0:03:16.723 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 18 April 2025 22:08:43 -0400 (0:00:00.073) 0:03:16.797 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 18 April 2025 22:08:43 -0400 (0:00:00.069) 0:03:16.867 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 18 April 2025 22:08:43 -0400 (0:00:00.072) 0:03:16.939 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 18 April 2025 22:08:43 -0400 (0:00:00.074) 0:03:17.014 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 18 April 2025 22:08:43 -0400 (0:00:00.107) 0:03:17.121 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 18 April 2025 22:08:43 -0400 (0:00:00.118) 0:03:17.240 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 18 April 2025 22:08:44 -0400 (0:00:00.120) 0:03:17.360 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 18 April 2025 22:08:44 -0400 (0:00:00.112) 0:03:17.473 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 18 April 2025 22:08:44 -0400 (0:00:00.112) 0:03:17.585 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 18 April 2025 22:08:44 -0400 (0:00:00.114) 0:03:17.700 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 18 April 2025 22:08:44 -0400 (0:00:00.112) 0:03:17.813 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 18 April 2025 22:08:44 -0400 (0:00:00.113) 0:03:17.926 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 18 April 2025 22:08:44 -0400 (0:00:00.108) 0:03:18.035 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 18 April 2025 22:08:44 -0400 (0:00:00.111) 0:03:18.147 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 18 April 2025 22:08:44 -0400 (0:00:00.111) 0:03:18.259 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 18 April 2025 22:08:45 -0400 (0:00:00.236) 0:03:18.496 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 18 April 2025 22:08:45 -0400 (0:00:00.116) 0:03:18.612 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 18 April 2025 22:08:45 -0400 (0:00:00.105) 0:03:18.718 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 18 April 2025 22:08:45 -0400 (0:00:00.116) 0:03:18.834 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 18 April 2025 22:08:45 -0400 (0:00:00.111) 0:03:18.945 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 18 April 2025 22:08:45 -0400 (0:00:00.111) 0:03:19.057 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 18 April 2025 22:08:45 -0400 (0:00:00.110) 0:03:19.167 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 18 April 2025 22:08:45 -0400 (0:00:00.112) 0:03:19.280 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 18 April 2025 22:08:46 -0400 (0:00:00.112) 0:03:19.392 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 18 April 2025 22:08:46 -0400 (0:00:00.089) 0:03:19.481 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 18 April 2025 22:08:46 -0400 (0:00:00.077) 0:03:19.559 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 18 April 2025 22:08:46 -0400 (0:00:00.086) 0:03:19.645 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 18 April 2025 22:08:46 -0400 (0:00:00.070) 0:03:19.716 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 18 April 2025 22:08:46 -0400 (0:00:00.075) 0:03:19.792 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 18 April 2025 22:08:46 -0400 (0:00:00.098) 0:03:19.891 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 18 April 2025 22:08:46 -0400 (0:00:00.102) 0:03:19.994 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 18 April 2025 22:08:46 -0400 (0:00:00.083) 0:03:20.078 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 18 April 2025 22:08:46 -0400 (0:00:00.079) 0:03:20.157 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 18 April 2025 22:08:46 -0400 (0:00:00.068) 0:03:20.226 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 18 April 2025 22:08:47 -0400 (0:00:00.220) 0:03:20.446 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 18 April 2025 22:08:47 -0400 (0:00:00.088) 0:03:20.535 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 18 April 2025 22:08:47 -0400 (0:00:00.080) 0:03:20.615 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 18 April 2025 22:08:47 -0400 (0:00:00.080) 0:03:20.696 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 18 April 2025 22:08:47 -0400 (0:00:00.106) 0:03:20.802 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 18 April 2025 22:08:47 -0400 (0:00:00.142) 0:03:20.945 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 18 April 2025 22:08:47 -0400 (0:00:00.092) 0:03:21.037 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 18 April 2025 22:08:47 -0400 (0:00:00.090) 0:03:21.128 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 18 April 2025 22:08:47 -0400 (0:00:00.074) 0:03:21.203 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 18 April 2025 22:08:47 -0400 (0:00:00.071) 0:03:21.274 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 18 April 2025 22:08:48 -0400 (0:00:00.082) 0:03:21.357 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 18 April 2025 22:08:48 -0400 (0:00:00.072) 0:03:21.429 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 18 April 2025 22:08:48 -0400 (0:00:00.070) 0:03:21.500 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 18 April 2025 22:08:48 -0400 (0:00:00.069) 0:03:21.569 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 18 April 2025 22:08:48 -0400 (0:00:00.070) 0:03:21.639 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 18 April 2025 22:08:48 -0400 (0:00:00.451) 0:03:22.090 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:08:07 EDT", "ActiveEnterTimestampMonotonic": "1610471361", "ActiveExitTimestamp": "Fri 2025-04-18 22:08:05 EDT", "ActiveExitTimestampMonotonic": "1609221064", "ActiveState": "active", "After": "system.slice auditd.service basic.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:08:07 EDT", "AssertTimestampMonotonic": "1610470735", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:08:07 EDT", "ConditionTimestampMonotonic": "1610470734", "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": "20722", "ExecMainStartTimestamp": "Fri 2025-04-18 22:08:07 EDT", "ExecMainStartTimestampMonotonic": "1610471290", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-18 22:08:07 EDT] ; stop_time=[n/a] ; pid=20722 ; 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 2025-04-18 22:08:07 EDT", "InactiveEnterTimestampMonotonic": "1610469805", "InactiveExitTimestamp": "Fri 2025-04-18 22:08:07 EDT", "InactiveExitTimestampMonotonic": "1610471361", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20722", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 22:08:07 EDT", "WatchdogTimestampMonotonic": "1610471336", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 18 April 2025 22:08:50 -0400 (0:00:01.563) 0:03:23.654 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 18 April 2025 22:08:50 -0400 (0:00:00.091) 0:03:23.746 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 18 April 2025 22:08:50 -0400 (0:00:00.089) 0:03:23.836 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 18 April 2025 22:08:51 -0400 (0:00:00.818) 0:03:24.654 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 18 April 2025 22:08:51 -0400 (0:00:00.094) 0:03:24.748 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 18 April 2025 22:08:51 -0400 (0:00:00.089) 0:03:24.838 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 18 April 2025 22:08:51 -0400 (0:00:00.073) 0:03:24.911 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 18 April 2025 22:08:51 -0400 (0:00:00.079) 0:03:24.991 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 18 April 2025 22:08:51 -0400 (0:00:00.113) 0:03:25.104 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 18 April 2025 22:08:51 -0400 (0:00:00.110) 0:03:25.215 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 18 April 2025 22:08:52 -0400 (0:00:00.252) 0:03:25.468 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 18 April 2025 22:08:52 -0400 (0:00:00.113) 0:03:25.582 ********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 18 April 2025 22:08:52 -0400 (0:00:00.210) 0:03:25.792 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:08:50 EDT", "ActiveEnterTimestampMonotonic": "1653434225", "ActiveExitTimestamp": "Fri 2025-04-18 22:08:49 EDT", "ActiveExitTimestampMonotonic": "1652453126", "ActiveState": "active", "After": "system.slice auditd.service basic.target network.target systemd-journald.socket -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:08:50 EDT", "AssertTimestampMonotonic": "1653433567", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:08:50 EDT", "ConditionTimestampMonotonic": "1653433566", "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": "22878", "ExecMainStartTimestamp": "Fri 2025-04-18 22:08:50 EDT", "ExecMainStartTimestampMonotonic": "1653434164", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-18 22:08:50 EDT] ; stop_time=[n/a] ; pid=22878 ; 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 2025-04-18 22:08:50 EDT", "InactiveEnterTimestampMonotonic": "1653433041", "InactiveExitTimestamp": "Fri 2025-04-18 22:08:50 EDT", "InactiveExitTimestampMonotonic": "1653434225", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "22878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 22:08:50 EDT", "WatchdogTimestampMonotonic": "1653434205", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 18 April 2025 22:08:53 -0400 (0:00:00.645) 0:03:26.437 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002869", "end": "2025-04-18 22:08:53.392666", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:08:53.389797" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 18 April 2025 22:08:53 -0400 (0:00:00.413) 0:03:26.850 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002917", "end": "2025-04-18 22:08:53.772034", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:08:53.769117" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 18 April 2025 22:08:53 -0400 (0:00:00.409) 0:03:27.260 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 18 April 2025 22:08:54 -0400 (0:00:00.133) 0:03:27.394 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 18 April 2025 22:08:55 -0400 (0:00:01.445) 0:03:28.840 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023410", "end": "2025-04-18 22:08:55.812361", "rc": 0, "start": "2025-04-18 22:08:55.788951" } 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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 18 April 2025 22:08:55 -0400 (0:00:00.483) 0:03:29.323 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 18 April 2025 22:08:56 -0400 (0:00:00.118) 0:03:29.442 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 18 April 2025 22:08:56 -0400 (0:00:00.117) 0:03:29.560 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 18 April 2025 22:08:56 -0400 (0:00:00.116) 0:03:29.676 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 18 April 2025 22:08:56 -0400 (0:00:00.255) 0:03:29.931 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 18 April 2025 22:08:56 -0400 (0:00:00.114) 0:03:30.046 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 18 April 2025 22:08:56 -0400 (0:00:00.115) 0:03:30.161 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 18 April 2025 22:08:56 -0400 (0:00:00.114) 0:03:30.276 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 18 April 2025 22:08:57 -0400 (0:00:00.109) 0:03:30.385 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:08:57 -0400 (0:00:00.211) 0:03:30.597 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004133", "end": "2025-04-18 22:08:57.544373", "rc": 0, "start": "2025-04-18 22:08:57.540240" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:08:57 -0400 (0:00:00.444) 0:03:31.041 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:08:57 -0400 (0:00:00.142) 0:03:31.184 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:08:57 -0400 (0:00:00.127) 0:03:31.311 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 18 April 2025 22:08:58 -0400 (0:00:00.116) 0:03:31.428 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:08:58 -0400 (0:00:00.221) 0:03:31.649 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004684", "end": "2025-04-18 22:08:58.602023", "rc": 0, "start": "2025-04-18 22:08:58.597339" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:08:58 -0400 (0:00:00.451) 0:03:32.101 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:08:58 -0400 (0:00:00.142) 0:03:32.243 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:08:59 -0400 (0:00:00.124) 0:03:32.368 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 18 April 2025 22:08:59 -0400 (0:00:00.093) 0:03:32.462 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:08:59 -0400 (0:00:00.275) 0:03:32.737 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004400", "end": "2025-04-18 22:08:59.643081", "rc": 0, "start": "2025-04-18 22:08:59.638681" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:08:59 -0400 (0:00:00.358) 0:03:33.095 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:08:59 -0400 (0:00:00.090) 0:03:33.186 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:08:59 -0400 (0:00:00.076) 0:03:33.263 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 18 April 2025 22:08:59 -0400 (0:00:00.074) 0:03:33.338 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:09:00 -0400 (0:00:00.197) 0:03:33.536 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004348", "end": "2025-04-18 22:09:00.491666", "rc": 0, "start": "2025-04-18 22:09:00.487318" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:09:00 -0400 (0:00:00.448) 0:03:33.984 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:09:00 -0400 (0:00:00.117) 0:03:34.101 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:09:00 -0400 (0:00:00.138) 0:03:34.240 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 18 April 2025 22:09:00 -0400 (0:00:00.114) 0:03:34.355 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 18 April 2025 22:09:01 -0400 (0:00:00.098) 0:03:34.453 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 18 April 2025 22:09:02 -0400 (0:00:01.803) 0:03:36.256 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 18 April 2025 22:09:03 -0400 (0:00:00.145) 0:03:36.402 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 18 April 2025 22:09:03 -0400 (0:00:00.093) 0:03:36.495 ********** ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 18 April 2025 22:09:03 -0400 (0:00:00.107) 0:03:36.603 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 18 April 2025 22:09:03 -0400 (0:00:00.070) 0:03:36.674 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 18 April 2025 22:09:03 -0400 (0:00:00.087) 0:03:36.761 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 18 April 2025 22:09:03 -0400 (0:00:00.110) 0:03:36.871 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 18 April 2025 22:09:03 -0400 (0:00:00.252) 0:03:37.124 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 18 April 2025 22:09:03 -0400 (0:00:00.072) 0:03:37.197 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 18 April 2025 22:09:03 -0400 (0:00:00.074) 0:03:37.271 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 18 April 2025 22:09:03 -0400 (0:00:00.071) 0:03:37.342 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 18 April 2025 22:09:04 -0400 (0:00:00.094) 0:03:37.437 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 18 April 2025 22:09:04 -0400 (0:00:00.104) 0:03:37.541 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 18 April 2025 22:09:04 -0400 (0:00:00.095) 0:03:37.637 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 18 April 2025 22:09:04 -0400 (0:00:00.083) 0:03:37.720 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 18 April 2025 22:09:04 -0400 (0:00:00.087) 0:03:37.808 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 18 April 2025 22:09:04 -0400 (0:00:00.120) 0:03:37.929 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 18 April 2025 22:09:04 -0400 (0:00:00.093) 0:03:38.022 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 18 April 2025 22:09:04 -0400 (0:00:00.091) 0:03:38.113 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 18 April 2025 22:09:04 -0400 (0:00:00.071) 0:03:38.185 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 18 April 2025 22:09:04 -0400 (0:00:00.069) 0:03:38.255 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 18 April 2025 22:09:04 -0400 (0:00:00.073) 0:03:38.328 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 18 April 2025 22:09:05 -0400 (0:00:00.068) 0:03:38.397 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 18 April 2025 22:09:06 -0400 (0:00:01.527) 0:03:39.924 ********** ok: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 18 April 2025 22:09:06 -0400 (0:00:00.285) 0:03:40.210 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 18 April 2025 22:09:06 -0400 (0:00:00.097) 0:03:40.308 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 18 April 2025 22:09:07 -0400 (0:00:00.080) 0:03:40.389 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 18 April 2025 22:09:07 -0400 (0:00:00.155) 0:03:40.545 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 18 April 2025 22:09:07 -0400 (0:00:00.602) 0:03:41.148 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 18 April 2025 22:09:07 -0400 (0:00:00.116) 0:03:41.265 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 18 April 2025 22:09:08 -0400 (0:00:00.114) 0:03:41.379 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 18 April 2025 22:09:08 -0400 (0:00:00.109) 0:03:41.488 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 18 April 2025 22:09:08 -0400 (0:00:00.093) 0:03:41.582 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 18 April 2025 22:09:08 -0400 (0:00:00.084) 0:03:41.666 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 18 April 2025 22:09:08 -0400 (0:00:00.086) 0:03:41.753 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 18 April 2025 22:09:08 -0400 (0:00:00.158) 0:03:41.911 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 18 April 2025 22:09:08 -0400 (0:00:00.265) 0:03:42.176 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 18 April 2025 22:09:09 -0400 (0:00:00.671) 0:03:42.848 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 18 April 2025 22:09:10 -0400 (0:00:00.674) 0:03:43.523 ********** ok: [managed-node2] => { "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.005426", "end": "2025-04-18 22:09:10.486555", "rc": 0, "start": "2025-04-18 22:09:10.481129" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 18 April 2025 22:09:10 -0400 (0:00:00.424) 0:03:43.948 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 18 April 2025 22:09:11 -0400 (0:00:00.977) 0:03:44.925 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 18 April 2025 22:09:11 -0400 (0:00:00.103) 0:03:45.029 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 18 April 2025 22:09:11 -0400 (0:00:00.075) 0:03:45.104 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 18 April 2025 22:09:11 -0400 (0:00:00.089) 0:03:45.194 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 18 April 2025 22:09:11 -0400 (0:00:00.137) 0:03:45.331 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 18 April 2025 22:09:12 -0400 (0:00:00.113) 0:03:45.445 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 18 April 2025 22:09:12 -0400 (0:00:00.105) 0:03:45.550 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 18 April 2025 22:09:12 -0400 (0:00:00.610) 0:03:46.160 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:41:31 EDT", "ActiveEnterTimestampMonotonic": "14765511", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-sysctl.service basic.target network.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:41:30 EDT", "AssertTimestampMonotonic": "13951648", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ConditionTimestampMonotonic": "13951647", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "873", "ExecMainStartTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ExecMainStartTimestampMonotonic": "13952299", "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 2025-04-18 21:41:30 EDT", "InactiveExitTimestampMonotonic": "13952340", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "873", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 21:41:31 EDT", "WatchdogTimestampMonotonic": "14765336", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 18 April 2025 22:09:13 -0400 (0:00:00.650) 0:03:46.811 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088304", "end": "2025-04-18 22:09:13.819318", "rc": 0, "start": "2025-04-18 22:09:13.731014" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 18 April 2025 22:09:13 -0400 (0:00:00.493) 0:03:47.305 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 18 April 2025 22:09:14 -0400 (0:00:00.097) 0:03:47.402 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 18 April 2025 22:09:14 -0400 (0:00:00.080) 0:03:47.482 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 18 April 2025 22:09:14 -0400 (0:00:00.076) 0:03:47.559 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 18 April 2025 22:09:14 -0400 (0:00:00.387) 0:03:47.947 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 18 April 2025 22:09:14 -0400 (0:00:00.072) 0:03:48.020 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 18 April 2025 22:09:15 -0400 (0:00:00.664) 0:03:48.685 ********** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 18 April 2025 22:09:15 -0400 (0:00:00.249) 0:03:48.934 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 18 April 2025 22:09:15 -0400 (0:00:00.223) 0:03:49.158 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 18 April 2025 22:09:15 -0400 (0:00:00.160) 0:03:49.319 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 18 April 2025 22:09:16 -0400 (0:00:00.418) 0:03:49.738 ********** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 18 April 2025 22:09:16 -0400 (0:00:00.287) 0:03:50.026 ********** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 18 April 2025 22:09:16 -0400 (0:00:00.226) 0:03:50.252 ********** changed: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 18 April 2025 22:09:21 -0400 (0:00:04.361) 0:03:54.614 ********** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.3 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 18 April 2025 22:09:25 -0400 (0:00:04.240) 0:03:58.855 ********** changed: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 18 April 2025 22:09:26 -0400 (0:00:00.530) 0:03:59.386 ********** changed: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 18 April 2025 22:09:26 -0400 (0:00:00.510) 0:03:59.897 ********** changed: [managed-node2] => (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": "syslog.target system.slice systemd-journald.socket dbus.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "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": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 18 April 2025 22:09:27 -0400 (0:00:00.714) 0:04:00.612 ********** changed: [managed-node2] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.102', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.8.102", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 18 April 2025 22:09:28 -0400 (0:00:01.346) 0:04:01.958 ********** skipping: [managed-node2] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.102', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.8.102", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.102', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.8.102", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.102', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.8.102", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 18 April 2025 22:09:28 -0400 (0:00:00.190) 0:04:02.149 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 18 April 2025 22:09:28 -0400 (0:00:00.109) 0:04:02.258 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 18 April 2025 22:09:28 -0400 (0:00:00.096) 0:04:02.355 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 18 April 2025 22:09:29 -0400 (0:00:00.087) 0:04:02.442 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 18 April 2025 22:09:29 -0400 (0:00:00.083) 0:04:02.526 ********** skipping: [managed-node2] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 18 April 2025 22:09:29 -0400 (0:00:00.098) 0:04:02.624 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:09:29 -0400 (0:00:00.250) 0:04:02.874 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005058", "end": "2025-04-18 22:09:30.778017", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:09:29.772959" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:09:30 -0400 (0:00:01.400) 0:04:04.275 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.046498", "end": "2025-04-18 22:09:31.294860", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:09:31.248362" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:09:31 -0400 (0:00:00.534) 0:04:04.809 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 18 April 2025 22:09:31 -0400 (0:00:00.117) 0:04:04.927 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:09:31 -0400 (0:00:00.170) 0:04:05.097 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003125", "end": "2025-04-18 22:09:32.039261", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:09:32.036136" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:09:32 -0400 (0:00:00.434) 0:04:05.532 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.046652", "end": "2025-04-18 22:09:32.536468", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:09:32.489816" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:09:32 -0400 (0:00:00.465) 0:04:05.997 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 18 April 2025 22:09:32 -0400 (0:00:00.099) 0:04:06.096 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:09:32 -0400 (0:00:00.231) 0:04:06.328 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004061", "end": "2025-04-18 22:09:34.276922", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:09:33.272861" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:09:34 -0400 (0:00:01.443) 0:04:07.771 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.045759", "end": "2025-04-18 22:09:34.781334", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:09:34.735575" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:09:34 -0400 (0:00:00.531) 0:04:08.303 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 18 April 2025 22:09:35 -0400 (0:00:00.290) 0:04:08.594 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:09:35 -0400 (0:00:00.236) 0:04:08.830 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004077", "end": "2025-04-18 22:09:35.791347", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:09:35.787270" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:09:35 -0400 (0:00:00.464) 0:04:09.294 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.044964", "end": "2025-04-18 22:09:36.302232", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:09:36.257268" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:09:36 -0400 (0:00:00.515) 0:04:09.810 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 18 April 2025 22:09:36 -0400 (0:00:00.117) 0:04:09.928 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004867", "end": "2025-04-18 22:09:36.872692", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:09:36.867825" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 18 April 2025 22:09:37 -0400 (0:00:00.449) 0:04:10.377 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 18 April 2025 22:09:37 -0400 (0:00:00.117) 0:04:10.495 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 18 April 2025 22:09:37 -0400 (0:00:00.129) 0:04:10.624 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 18 April 2025 22:09:37 -0400 (0:00:00.113) 0:04:10.738 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 18 April 2025 22:09:37 -0400 (0:00:00.113) 0:04:10.851 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 18 April 2025 22:09:37 -0400 (0:00:00.114) 0:04:10.965 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 18 April 2025 22:09:37 -0400 (0:00:00.110) 0:04:11.076 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 18 April 2025 22:09:37 -0400 (0:00:00.121) 0:04:11.197 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 18 April 2025 22:09:37 -0400 (0:00:00.116) 0:04:11.313 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 18 April 2025 22:09:38 -0400 (0:00:00.125) 0:04:11.439 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 18 April 2025 22:09:38 -0400 (0:00:00.114) 0:04:11.553 ********** ok: [managed-node2] => { "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.005684", "end": "2025-04-18 22:09:38.508791", "rc": 0, "start": "2025-04-18 22:09:38.503107" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 18 April 2025 22:09:38 -0400 (0:00:00.555) 0:04:12.109 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 18 April 2025 22:09:38 -0400 (0:00:00.125) 0:04:12.234 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 18 April 2025 22:09:40 -0400 (0:00:01.276) 0:04:13.511 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 18 April 2025 22:09:40 -0400 (0:00:00.114) 0:04:13.625 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 18 April 2025 22:09:40 -0400 (0:00:00.119) 0:04:13.745 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 18 April 2025 22:09:40 -0400 (0:00:00.122) 0:04:13.867 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 18 April 2025 22:09:40 -0400 (0:00:00.117) 0:04:13.985 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:09:40 -0400 (0:00:00.199) 0:04:14.184 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003004", "end": "2025-04-18 22:09:41.149653", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:09:41.146649" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:09:41 -0400 (0:00:00.463) 0:04:14.648 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047412", "end": "2025-04-18 22:09:41.647689", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:09:41.600277" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:09:41 -0400 (0:00:00.471) 0:04:15.120 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 18 April 2025 22:09:41 -0400 (0:00:00.191) 0:04:15.311 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 18 April 2025 22:09:42 -0400 (0:00:00.110) 0:04:15.422 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 18 April 2025 22:09:42 -0400 (0:00:00.129) 0:04:15.551 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 18 April 2025 22:09:42 -0400 (0:00:00.121) 0:04:15.673 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 18 April 2025 22:09:42 -0400 (0:00:00.116) 0:04:15.789 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 18 April 2025 22:09:42 -0400 (0:00:00.118) 0:04:15.908 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 18 April 2025 22:09:42 -0400 (0:00:00.114) 0:04:16.023 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 18 April 2025 22:09:42 -0400 (0:00:00.117) 0:04:16.140 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 18 April 2025 22:09:42 -0400 (0:00:00.118) 0:04:16.258 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 18 April 2025 22:09:43 -0400 (0:00:00.112) 0:04:16.370 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 18 April 2025 22:09:43 -0400 (0:00:00.120) 0:04:16.490 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 18 April 2025 22:09:43 -0400 (0:00:00.092) 0:04:16.583 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 18 April 2025 22:09:43 -0400 (0:00:00.095) 0:04:16.678 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 18 April 2025 22:09:43 -0400 (0:00:00.081) 0:04:16.760 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 18 April 2025 22:09:43 -0400 (0:00:00.073) 0:04:16.833 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 18 April 2025 22:09:43 -0400 (0:00:00.073) 0:04:16.907 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 18 April 2025 22:09:43 -0400 (0:00:00.075) 0:04:16.982 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 18 April 2025 22:09:43 -0400 (0:00:00.115) 0:04:17.098 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 18 April 2025 22:09:43 -0400 (0:00:00.130) 0:04:17.228 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 18 April 2025 22:09:44 -0400 (0:00:00.261) 0:04:17.489 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 18 April 2025 22:09:44 -0400 (0:00:00.084) 0:04:17.573 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 18 April 2025 22:09:44 -0400 (0:00:00.073) 0:04:17.646 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 18 April 2025 22:09:44 -0400 (0:00:00.076) 0:04:17.723 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 18 April 2025 22:09:44 -0400 (0:00:00.073) 0:04:17.797 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 18 April 2025 22:09:44 -0400 (0:00:00.110) 0:04:17.907 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 18 April 2025 22:09:44 -0400 (0:00:00.101) 0:04:18.008 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 18 April 2025 22:09:44 -0400 (0:00:00.097) 0:04:18.105 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 18 April 2025 22:09:44 -0400 (0:00:00.079) 0:04:18.185 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 18 April 2025 22:09:44 -0400 (0:00:00.078) 0:04:18.263 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 18 April 2025 22:09:45 -0400 (0:00:00.114) 0:04:18.378 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 18 April 2025 22:09:45 -0400 (0:00:00.098) 0:04:18.476 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 18 April 2025 22:09:45 -0400 (0:00:00.098) 0:04:18.575 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 18 April 2025 22:09:45 -0400 (0:00:00.075) 0:04:18.650 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 18 April 2025 22:09:45 -0400 (0:00:00.071) 0:04:18.722 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 18 April 2025 22:09:45 -0400 (0:00:00.073) 0:04:18.795 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 18 April 2025 22:09:45 -0400 (0:00:00.072) 0:04:18.867 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 18 April 2025 22:09:45 -0400 (0:00:00.071) 0:04:18.939 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 18 April 2025 22:09:45 -0400 (0:00:00.085) 0:04:19.024 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 18 April 2025 22:09:45 -0400 (0:00:00.213) 0:04:19.238 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 18 April 2025 22:09:46 -0400 (0:00:00.125) 0:04:19.363 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 18 April 2025 22:09:46 -0400 (0:00:00.144) 0:04:19.508 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 18 April 2025 22:09:46 -0400 (0:00:00.124) 0:04:19.632 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 18 April 2025 22:09:46 -0400 (0:00:00.119) 0:04:19.751 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 18 April 2025 22:09:46 -0400 (0:00:00.123) 0:04:19.875 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 18 April 2025 22:09:46 -0400 (0:00:00.116) 0:04:19.991 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 18 April 2025 22:09:46 -0400 (0:00:00.121) 0:04:20.113 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 18 April 2025 22:09:46 -0400 (0:00:00.113) 0:04:20.227 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 18 April 2025 22:09:46 -0400 (0:00:00.088) 0:04:20.315 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 18 April 2025 22:09:47 -0400 (0:00:00.086) 0:04:20.401 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 18 April 2025 22:09:47 -0400 (0:00:00.071) 0:04:20.473 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 18 April 2025 22:09:47 -0400 (0:00:00.071) 0:04:20.544 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 18 April 2025 22:09:47 -0400 (0:00:00.077) 0:04:20.621 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 18 April 2025 22:09:47 -0400 (0:00:00.091) 0:04:20.713 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 18 April 2025 22:09:47 -0400 (0:00:00.139) 0:04:20.853 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 18 April 2025 22:09:47 -0400 (0:00:00.090) 0:04:20.944 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 18 April 2025 22:09:47 -0400 (0:00:00.092) 0:04:21.036 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 18 April 2025 22:09:47 -0400 (0:00:00.069) 0:04:21.106 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 18 April 2025 22:09:47 -0400 (0:00:00.234) 0:04:21.340 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 18 April 2025 22:09:48 -0400 (0:00:00.133) 0:04:21.474 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 18 April 2025 22:09:48 -0400 (0:00:00.100) 0:04:21.575 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 18 April 2025 22:09:48 -0400 (0:00:00.101) 0:04:21.676 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 18 April 2025 22:09:48 -0400 (0:00:00.078) 0:04:21.754 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 18 April 2025 22:09:48 -0400 (0:00:00.076) 0:04:21.831 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 18 April 2025 22:09:49 -0400 (0:00:00.562) 0:04:22.394 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:08:50 EDT", "ActiveEnterTimestampMonotonic": "1653434225", "ActiveExitTimestamp": "Fri 2025-04-18 22:08:49 EDT", "ActiveExitTimestampMonotonic": "1652453126", "ActiveState": "active", "After": "system.slice -.mount basic.target network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:08:50 EDT", "AssertTimestampMonotonic": "1653433567", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:08:50 EDT", "ConditionTimestampMonotonic": "1653433566", "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": "22878", "ExecMainStartTimestamp": "Fri 2025-04-18 22:08:50 EDT", "ExecMainStartTimestampMonotonic": "1653434164", "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 2025-04-18 22:08:50 EDT", "InactiveEnterTimestampMonotonic": "1653433041", "InactiveExitTimestamp": "Fri 2025-04-18 22:08:50 EDT", "InactiveExitTimestampMonotonic": "1653434225", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "22878", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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 2025-04-18 22:08:50 EDT", "WatchdogTimestampMonotonic": "1653434205", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 18 April 2025 22:09:49 -0400 (0:00:00.812) 0:04:23.206 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 18 April 2025 22:09:49 -0400 (0:00:00.084) 0:04:23.291 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 18 April 2025 22:09:50 -0400 (0:00:00.118) 0:04:23.410 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 18 April 2025 22:09:51 -0400 (0:00:01.195) 0:04:24.605 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 18 April 2025 22:09:51 -0400 (0:00:00.125) 0:04:24.730 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 18 April 2025 22:09:51 -0400 (0:00:00.124) 0:04:24.855 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 18 April 2025 22:09:51 -0400 (0:00:00.119) 0:04:24.975 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 18 April 2025 22:09:51 -0400 (0:00:00.125) 0:04:25.101 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 18 April 2025 22:09:51 -0400 (0:00:00.146) 0:04:25.247 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 18 April 2025 22:09:52 -0400 (0:00:00.129) 0:04:25.377 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 18 April 2025 22:09:52 -0400 (0:00:00.099) 0:04:25.476 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 18 April 2025 22:09:52 -0400 (0:00:00.071) 0:04:25.547 ********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 18 April 2025 22:09:52 -0400 (0:00:00.125) 0:04:25.672 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ActiveEnterTimestampMonotonic": "1713024502", "ActiveExitTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ActiveExitTimestampMonotonic": "1712787487", "ActiveState": "active", "After": "system.slice -.mount basic.target network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:09:49 EDT", "AssertTimestampMonotonic": "1713023877", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ConditionTimestampMonotonic": "1713023876", "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": "8407", "ExecMainStartTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ExecMainStartTimestampMonotonic": "1713024437", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-18 22:09:49 EDT] ; stop_time=[n/a] ; pid=8407 ; 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 2025-04-18 22:09:49 EDT", "InactiveEnterTimestampMonotonic": "1713022702", "InactiveExitTimestamp": "Fri 2025-04-18 22:09:49 EDT", "InactiveExitTimestampMonotonic": "1713024502", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8407", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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 2025-04-18 22:09:49 EDT", "WatchdogTimestampMonotonic": "1713024479", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 18 April 2025 22:09:52 -0400 (0:00:00.495) 0:04:26.168 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003393", "end": "2025-04-18 22:09:53.072615", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:09:53.069222" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 18 April 2025 22:09:53 -0400 (0:00:00.358) 0:04:26.527 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002879", "end": "2025-04-18 22:09:53.433934", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:09:53.431055" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 18 April 2025 22:09:53 -0400 (0:00:00.496) 0:04:27.023 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 18 April 2025 22:09:53 -0400 (0:00:00.094) 0:04:27.118 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 18 April 2025 22:09:55 -0400 (0:00:01.355) 0:04:28.474 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-C", "-No", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022741", "end": "2025-04-18 22:09:55.404942", "rc": 0, "start": "2025-04-18 22:09:55.382201" } 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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 18 April 2025 22:09:55 -0400 (0:00:00.394) 0:04:28.869 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 18 April 2025 22:09:55 -0400 (0:00:00.081) 0:04:28.950 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 18 April 2025 22:09:55 -0400 (0:00:00.075) 0:04:29.025 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 18 April 2025 22:09:55 -0400 (0:00:00.076) 0:04:29.101 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 18 April 2025 22:09:55 -0400 (0:00:00.074) 0:04:29.176 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 18 April 2025 22:09:55 -0400 (0:00:00.072) 0:04:29.249 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 18 April 2025 22:09:55 -0400 (0:00:00.075) 0:04:29.325 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 18 April 2025 22:09:56 -0400 (0:00:00.073) 0:04:29.398 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 18 April 2025 22:09:56 -0400 (0:00:00.084) 0:04:29.482 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:09:56 -0400 (0:00:00.208) 0:04:29.691 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004561", "end": "2025-04-18 22:09:56.629025", "rc": 0, "start": "2025-04-18 22:09:56.624464" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:09:56 -0400 (0:00:00.521) 0:04:30.212 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:09:56 -0400 (0:00:00.099) 0:04:30.312 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:09:57 -0400 (0:00:00.082) 0:04:30.395 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 18 April 2025 22:09:57 -0400 (0:00:00.078) 0:04:30.473 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:09:57 -0400 (0:00:00.138) 0:04:30.612 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004612", "end": "2025-04-18 22:09:57.533385", "rc": 0, "start": "2025-04-18 22:09:57.528773" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:09:57 -0400 (0:00:00.376) 0:04:30.989 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:09:57 -0400 (0:00:00.094) 0:04:31.084 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:09:57 -0400 (0:00:00.081) 0:04:31.165 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 18 April 2025 22:09:57 -0400 (0:00:00.072) 0:04:31.238 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:09:58 -0400 (0:00:00.138) 0:04:31.377 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004184", "end": "2025-04-18 22:09:58.283045", "rc": 0, "start": "2025-04-18 22:09:58.278861" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:09:58 -0400 (0:00:00.361) 0:04:31.738 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:09:58 -0400 (0:00:00.094) 0:04:31.833 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:09:58 -0400 (0:00:00.079) 0:04:31.913 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 18 April 2025 22:09:58 -0400 (0:00:00.074) 0:04:31.987 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 18 April 2025 22:09:58 -0400 (0:00:00.262) 0:04:32.250 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004081", "end": "2025-04-18 22:09:59.150480", "rc": 0, "start": "2025-04-18 22:09:59.146399" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 18 April 2025 22:09:59 -0400 (0:00:00.358) 0:04:32.608 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 18 April 2025 22:09:59 -0400 (0:00:00.079) 0:04:32.688 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 18 April 2025 22:09:59 -0400 (0:00:00.104) 0:04:32.793 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 18 April 2025 22:09:59 -0400 (0:00:00.077) 0:04:32.871 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 18 April 2025 22:09:59 -0400 (0:00:00.071) 0:04:32.942 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 18 April 2025 22:10:01 -0400 (0:00:01.692) 0:04:34.635 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 18 April 2025 22:10:01 -0400 (0:00:00.178) 0:04:34.814 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 18 April 2025 22:10:01 -0400 (0:00:00.151) 0:04:34.966 ********** ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 18 April 2025 22:10:01 -0400 (0:00:00.145) 0:04:35.111 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 18 April 2025 22:10:01 -0400 (0:00:00.070) 0:04:35.181 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 18 April 2025 22:10:01 -0400 (0:00:00.073) 0:04:35.255 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 18 April 2025 22:10:01 -0400 (0:00:00.070) 0:04:35.325 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 18 April 2025 22:10:02 -0400 (0:00:00.079) 0:04:35.405 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 18 April 2025 22:10:02 -0400 (0:00:00.103) 0:04:35.509 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 18 April 2025 22:10:02 -0400 (0:00:00.113) 0:04:35.622 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 18 April 2025 22:10:02 -0400 (0:00:00.122) 0:04:35.744 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 18 April 2025 22:10:02 -0400 (0:00:00.115) 0:04:35.860 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 18 April 2025 22:10:02 -0400 (0:00:00.325) 0:04:36.185 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 18 April 2025 22:10:02 -0400 (0:00:00.113) 0:04:36.299 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 18 April 2025 22:10:03 -0400 (0:00:00.091) 0:04:36.391 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 18 April 2025 22:10:03 -0400 (0:00:00.078) 0:04:36.470 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 18 April 2025 22:10:03 -0400 (0:00:00.082) 0:04:36.552 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 18 April 2025 22:10:03 -0400 (0:00:00.074) 0:04:36.626 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 18 April 2025 22:10:03 -0400 (0:00:00.071) 0:04:36.698 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 18 April 2025 22:10:03 -0400 (0:00:00.073) 0:04:36.771 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 18 April 2025 22:10:03 -0400 (0:00:00.071) 0:04:36.842 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 18 April 2025 22:10:03 -0400 (0:00:00.112) 0:04:36.954 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 18 April 2025 22:10:03 -0400 (0:00:00.118) 0:04:37.073 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 18 April 2025 22:10:05 -0400 (0:00:01.362) 0:04:38.435 ********** ok: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 18 April 2025 22:10:05 -0400 (0:00:00.215) 0:04:38.651 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 18 April 2025 22:10:05 -0400 (0:00:00.074) 0:04:38.725 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 18 April 2025 22:10:05 -0400 (0:00:00.104) 0:04:38.830 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 18 April 2025 22:10:05 -0400 (0:00:00.423) 0:04:39.254 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 18 April 2025 22:10:06 -0400 (0:00:00.594) 0:04:39.848 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 18 April 2025 22:10:06 -0400 (0:00:00.078) 0:04:39.927 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 18 April 2025 22:10:06 -0400 (0:00:00.085) 0:04:40.012 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 18 April 2025 22:10:06 -0400 (0:00:00.098) 0:04:40.110 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 18 April 2025 22:10:06 -0400 (0:00:00.128) 0:04:40.239 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 18 April 2025 22:10:07 -0400 (0:00:00.120) 0:04:40.359 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 18 April 2025 22:10:07 -0400 (0:00:00.125) 0:04:40.484 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 18 April 2025 22:10:07 -0400 (0:00:00.138) 0:04:40.623 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 18 April 2025 22:10:07 -0400 (0:00:00.097) 0:04:40.721 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 18 April 2025 22:10:08 -0400 (0:00:00.664) 0:04:41.386 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 18 April 2025 22:10:08 -0400 (0:00:00.665) 0:04:42.051 ********** ok: [managed-node2] => { "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.004821", "end": "2025-04-18 22:10:08.977490", "rc": 0, "start": "2025-04-18 22:10:08.972669" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 18 April 2025 22:10:09 -0400 (0:00:00.401) 0:04:42.452 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 18 April 2025 22:10:10 -0400 (0:00:00.988) 0:04:43.441 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 18 April 2025 22:10:10 -0400 (0:00:00.161) 0:04:43.602 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 18 April 2025 22:10:10 -0400 (0:00:00.328) 0:04:43.931 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 18 April 2025 22:10:10 -0400 (0:00:00.131) 0:04:44.062 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 18 April 2025 22:10:10 -0400 (0:00:00.144) 0:04:44.207 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 18 April 2025 22:10:10 -0400 (0:00:00.124) 0:04:44.331 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 18 April 2025 22:10:11 -0400 (0:00:00.109) 0:04:44.441 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 18 April 2025 22:10:11 -0400 (0:00:00.662) 0:04:45.103 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:41:31 EDT", "ActiveEnterTimestampMonotonic": "14765511", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-sysctl.service basic.target network.target systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:41:30 EDT", "AssertTimestampMonotonic": "13951648", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ConditionTimestampMonotonic": "13951647", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "873", "ExecMainStartTimestamp": "Fri 2025-04-18 21:41:30 EDT", "ExecMainStartTimestampMonotonic": "13952299", "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 2025-04-18 21:41:30 EDT", "InactiveExitTimestampMonotonic": "13952340", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "873", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-18 21:41:31 EDT", "WatchdogTimestampMonotonic": "14765336", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 18 April 2025 22:10:12 -0400 (0:00:00.480) 0:04:45.584 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087510", "end": "2025-04-18 22:10:12.572953", "rc": 0, "start": "2025-04-18 22:10:12.485443" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 18 April 2025 22:10:12 -0400 (0:00:00.475) 0:04:46.059 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 18 April 2025 22:10:12 -0400 (0:00:00.110) 0:04:46.170 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 18 April 2025 22:10:12 -0400 (0:00:00.126) 0:04:46.296 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 18 April 2025 22:10:13 -0400 (0:00:00.120) 0:04:46.417 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 18 April 2025 22:10:13 -0400 (0:00:00.477) 0:04:46.895 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 18 April 2025 22:10:13 -0400 (0:00:00.114) 0:04:47.009 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 18 April 2025 22:10:14 -0400 (0:00:00.601) 0:04:47.611 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 18 April 2025 22:10:14 -0400 (0:00:00.074) 0:04:47.685 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 18 April 2025 22:10:14 -0400 (0:00:00.224) 0:04:47.909 ********** skipping: [managed-node2] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 18 April 2025 22:10:14 -0400 (0:00:00.092) 0:04:48.002 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:10:14 -0400 (0:00:00.140) 0:04:48.142 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003041", "end": "2025-04-18 22:10:15.071819", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:15.068778" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:10:15 -0400 (0:00:00.402) 0:04:48.545 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:10:15 -0400 (0:00:00.085) 0:04:48.630 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.045899", "end": "2025-04-18 22:10:15.598032", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:15.552133" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 18 April 2025 22:10:15 -0400 (0:00:00.479) 0:04:49.110 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:10:15 -0400 (0:00:00.234) 0:04:49.345 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003669", "end": "2025-04-18 22:10:16.300529", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:16.296860" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:10:16 -0400 (0:00:00.461) 0:04:49.807 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:10:16 -0400 (0:00:00.137) 0:04:49.944 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.046617", "end": "2025-04-18 22:10:16.960622", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:16.914005" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 18 April 2025 22:10:17 -0400 (0:00:00.518) 0:04:50.463 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:10:17 -0400 (0:00:00.225) 0:04:50.688 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003084", "end": "2025-04-18 22:10:17.653325", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:17.650241" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:10:17 -0400 (0:00:00.466) 0:04:51.155 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:10:17 -0400 (0:00:00.136) 0:04:51.291 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047217", "end": "2025-04-18 22:10:18.299180", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:18.251963" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 18 April 2025 22:10:18 -0400 (0:00:00.731) 0:04:52.023 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:10:18 -0400 (0:00:00.246) 0:04:52.269 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003645", "end": "2025-04-18 22:10:19.224315", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:19.220670" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:10:19 -0400 (0:00:00.457) 0:04:52.726 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:10:19 -0400 (0:00:00.135) 0:04:52.862 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.046443", "end": "2025-04-18 22:10:19.877959", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:19.831516" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 18 April 2025 22:10:20 -0400 (0:00:00.522) 0:04:53.384 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004791", "end": "2025-04-18 22:10:20.343235", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:10:20.338444" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 18 April 2025 22:10:20 -0400 (0:00:00.455) 0:04:53.839 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 18 April 2025 22:10:20 -0400 (0:00:00.125) 0:04:53.965 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 18 April 2025 22:10:20 -0400 (0:00:00.120) 0:04:54.086 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 18 April 2025 22:10:20 -0400 (0:00:00.122) 0:04:54.208 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 18 April 2025 22:10:20 -0400 (0:00:00.130) 0:04:54.339 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 18 April 2025 22:10:21 -0400 (0:00:00.123) 0:04:54.462 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 18 April 2025 22:10:21 -0400 (0:00:00.126) 0:04:54.589 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 18 April 2025 22:10:21 -0400 (0:00:00.122) 0:04:54.711 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 18 April 2025 22:10:21 -0400 (0:00:00.123) 0:04:54.834 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 18 April 2025 22:10:21 -0400 (0:00:00.120) 0:04:54.955 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 18 April 2025 22:10:21 -0400 (0:00:00.116) 0:04:55.072 ********** ok: [managed-node2] => { "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.004777", "end": "2025-04-18 22:10:22.034432", "rc": 0, "start": "2025-04-18 22:10:22.029655" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 18 April 2025 22:10:22 -0400 (0:00:00.667) 0:04:55.739 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 18 April 2025 22:10:22 -0400 (0:00:00.130) 0:04:55.869 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 18 April 2025 22:10:23 -0400 (0:00:01.290) 0:04:57.160 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 18 April 2025 22:10:23 -0400 (0:00:00.101) 0:04:57.261 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 18 April 2025 22:10:24 -0400 (0:00:00.125) 0:04:57.386 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 18 April 2025 22:10:24 -0400 (0:00:00.121) 0:04:57.508 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 18 April 2025 22:10:24 -0400 (0:00:00.124) 0:04:57.632 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 18 April 2025 22:10:24 -0400 (0:00:00.216) 0:04:57.848 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003456", "end": "2025-04-18 22:10:24.790560", "failed_when_result": false, "rc": 1, "start": "2025-04-18 22:10:24.787104" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 18 April 2025 22:10:24 -0400 (0:00:00.441) 0:04:58.290 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047991", "end": "2025-04-18 22:10:25.315648", "failed_when_result": false, "rc": 0, "start": "2025-04-18 22:10:25.267657" } 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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 18 April 2025 22:10:25 -0400 (0:00:00.540) 0:04:58.830 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 18 April 2025 22:10:25 -0400 (0:00:00.121) 0:04:58.951 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 18 April 2025 22:10:25 -0400 (0:00:00.120) 0:04:59.071 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 18 April 2025 22:10:25 -0400 (0:00:00.130) 0:04:59.202 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 18 April 2025 22:10:25 -0400 (0:00:00.121) 0:04:59.324 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 18 April 2025 22:10:26 -0400 (0:00:00.345) 0:04:59.670 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 18 April 2025 22:10:26 -0400 (0:00:00.127) 0:04:59.797 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 18 April 2025 22:10:26 -0400 (0:00:00.086) 0:04:59.884 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 18 April 2025 22:10:26 -0400 (0:00:00.102) 0:04:59.986 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 18 April 2025 22:10:26 -0400 (0:00:00.079) 0:05:00.066 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 18 April 2025 22:10:26 -0400 (0:00:00.076) 0:05:00.143 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 18 April 2025 22:10:26 -0400 (0:00:00.075) 0:05:00.218 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 18 April 2025 22:10:26 -0400 (0:00:00.084) 0:05:00.303 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 18 April 2025 22:10:27 -0400 (0:00:00.115) 0:05:00.419 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 18 April 2025 22:10:27 -0400 (0:00:00.104) 0:05:00.523 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 18 April 2025 22:10:27 -0400 (0:00:00.099) 0:05:00.622 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 18 April 2025 22:10:27 -0400 (0:00:00.078) 0:05:00.701 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 18 April 2025 22:10:27 -0400 (0:00:00.083) 0:05:00.785 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 18 April 2025 22:10:27 -0400 (0:00:00.120) 0:05:00.905 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 18 April 2025 22:10:27 -0400 (0:00:00.095) 0:05:01.000 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 18 April 2025 22:10:27 -0400 (0:00:00.090) 0:05:01.091 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 18 April 2025 22:10:27 -0400 (0:00:00.070) 0:05:01.162 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 18 April 2025 22:10:27 -0400 (0:00:00.073) 0:05:01.235 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 18 April 2025 22:10:27 -0400 (0:00:00.085) 0:05:01.321 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 18 April 2025 22:10:28 -0400 (0:00:00.288) 0:05:01.610 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 18 April 2025 22:10:28 -0400 (0:00:00.075) 0:05:01.686 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 18 April 2025 22:10:28 -0400 (0:00:00.073) 0:05:01.759 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 18 April 2025 22:10:28 -0400 (0:00:00.076) 0:05:01.836 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 18 April 2025 22:10:28 -0400 (0:00:00.072) 0:05:01.909 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 18 April 2025 22:10:28 -0400 (0:00:00.074) 0:05:01.983 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 18 April 2025 22:10:28 -0400 (0:00:00.072) 0:05:02.056 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 18 April 2025 22:10:28 -0400 (0:00:00.075) 0:05:02.131 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 18 April 2025 22:10:28 -0400 (0:00:00.088) 0:05:02.220 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 18 April 2025 22:10:28 -0400 (0:00:00.115) 0:05:02.336 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 18 April 2025 22:10:29 -0400 (0:00:00.120) 0:05:02.457 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 18 April 2025 22:10:29 -0400 (0:00:00.105) 0:05:02.562 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 18 April 2025 22:10:29 -0400 (0:00:00.094) 0:05:02.657 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 18 April 2025 22:10:29 -0400 (0:00:00.076) 0:05:02.733 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 18 April 2025 22:10:29 -0400 (0:00:00.086) 0:05:02.820 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 18 April 2025 22:10:29 -0400 (0:00:00.074) 0:05:02.894 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 18 April 2025 22:10:29 -0400 (0:00:00.072) 0:05:02.967 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 18 April 2025 22:10:29 -0400 (0:00:00.090) 0:05:03.058 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 18 April 2025 22:10:29 -0400 (0:00:00.221) 0:05:03.279 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 18 April 2025 22:10:29 -0400 (0:00:00.074) 0:05:03.354 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 18 April 2025 22:10:30 -0400 (0:00:00.077) 0:05:03.431 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 18 April 2025 22:10:30 -0400 (0:00:00.073) 0:05:03.504 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 18 April 2025 22:10:30 -0400 (0:00:00.079) 0:05:03.584 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 18 April 2025 22:10:30 -0400 (0:00:00.073) 0:05:03.657 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 18 April 2025 22:10:30 -0400 (0:00:00.076) 0:05:03.734 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 18 April 2025 22:10:30 -0400 (0:00:00.100) 0:05:03.835 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 18 April 2025 22:10:30 -0400 (0:00:00.108) 0:05:03.943 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 18 April 2025 22:10:30 -0400 (0:00:00.094) 0:05:04.037 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 18 April 2025 22:10:30 -0400 (0:00:00.084) 0:05:04.122 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 18 April 2025 22:10:30 -0400 (0:00:00.073) 0:05:04.196 ********** skipping: [managed-node2] => (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-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 18 April 2025 22:10:30 -0400 (0:00:00.118) 0:05:04.314 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 18 April 2025 22:10:31 -0400 (0:00:00.114) 0:05:04.429 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 18 April 2025 22:10:31 -0400 (0:00:00.117) 0:05:04.547 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 18 April 2025 22:10:31 -0400 (0:00:00.124) 0:05:04.672 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 18 April 2025 22:10:31 -0400 (0:00:00.119) 0:05:04.791 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 18 April 2025 22:10:31 -0400 (0:00:00.134) 0:05:04.926 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 18 April 2025 22:10:31 -0400 (0:00:00.115) 0:05:05.042 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 18 April 2025 22:10:32 -0400 (0:00:00.319) 0:05:05.361 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 18 April 2025 22:10:32 -0400 (0:00:00.122) 0:05:05.484 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 18 April 2025 22:10:32 -0400 (0:00:00.127) 0:05:05.611 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 18 April 2025 22:10:32 -0400 (0:00:00.540) 0:05:06.152 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ActiveEnterTimestampMonotonic": "1713024502", "ActiveExitTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ActiveExitTimestampMonotonic": "1712787487", "ActiveState": "active", "After": "system.slice -.mount basic.target network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 22:09:49 EDT", "AssertTimestampMonotonic": "1713023877", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ConditionTimestampMonotonic": "1713023876", "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": "8407", "ExecMainStartTimestamp": "Fri 2025-04-18 22:09:49 EDT", "ExecMainStartTimestampMonotonic": "1713024437", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-18 22:09:49 EDT] ; stop_time=[n/a] ; pid=8407 ; 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 2025-04-18 22:09:49 EDT", "InactiveEnterTimestampMonotonic": "1713022702", "InactiveExitTimestamp": "Fri 2025-04-18 22:09:49 EDT", "InactiveExitTimestampMonotonic": "1713024502", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8407", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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 2025-04-18 22:09:49 EDT", "WatchdogTimestampMonotonic": "1713024479", "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 18 April 2025 22:10:33 -0400 (0:00:00.913) 0:05:07.066 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 18 April 2025 22:10:33 -0400 (0:00:00.122) 0:05:07.188 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:27 Friday 18 April 2025 22:10:33 -0400 (0:00:00.127) 0:05:07.316 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 18 April 2025 22:10:34 -0400 (0:00:00.228) 0:05:07.544 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 18 April 2025 22:10:35 -0400 (0:00:01.593) 0:05:09.137 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 18 April 2025 22:10:35 -0400 (0:00:00.156) 0:05:09.294 ********** ok: [managed-node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 18 April 2025 22:10:36 -0400 (0:00:00.120) 0:05:09.414 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 18 April 2025 22:10:36 -0400 (0:00:00.313) 0:05:09.728 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 18 April 2025 22:10:36 -0400 (0:00:00.227) 0:05:09.956 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 18 April 2025 22:10:37 -0400 (0:00:00.421) 0:05:10.377 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 18 April 2025 22:10:37 -0400 (0:00:00.647) 0:05:11.024 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 18 April 2025 22:10:37 -0400 (0:00:00.137) 0:05:11.162 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 18 April 2025 22:10:38 -0400 (0:00:00.441) 0:05:11.603 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 18 April 2025 22:10:38 -0400 (0:00:00.136) 0:05:11.739 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 18 April 2025 22:10:39 -0400 (0:00:00.703) 0:05:12.443 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 18 April 2025 22:10:39 -0400 (0:00:00.116) 0:05:12.560 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 18 April 2025 22:10:39 -0400 (0:00:00.126) 0:05:12.686 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 18 April 2025 22:10:39 -0400 (0:00:00.110) 0:05:12.797 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 18 April 2025 22:10:39 -0400 (0:00:00.121) 0:05:12.919 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 18 April 2025 22:10:39 -0400 (0:00:00.143) 0:05:13.063 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:48:35 EDT", "ActiveEnterTimestampMonotonic": "438562674", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:48:35 EDT", "AssertTimestampMonotonic": "438301887", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 21:48:35 EDT", "ConditionTimestampMonotonic": "438301886", "Conflicts": "ip6tables.service shutdown.target ipset.service iptables.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": "11723", "ExecMainStartTimestamp": "Fri 2025-04-18 21:48:35 EDT", "ExecMainStartTimestampMonotonic": "438303578", "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 2025-04-18 21:48:35 EDT", "InactiveExitTimestampMonotonic": "438303613", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-04-18 21:48:35 EDT", "WatchdogTimestampMonotonic": "438562616", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 18 April 2025 22:10:40 -0400 (0:00:00.587) 0:05:13.651 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-18 21:48:35 EDT", "ActiveEnterTimestampMonotonic": "438562674", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-18 21:48:35 EDT", "AssertTimestampMonotonic": "438301887", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-18 21:48:35 EDT", "ConditionTimestampMonotonic": "438301886", "Conflicts": "ip6tables.service shutdown.target ipset.service iptables.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": "11723", "ExecMainStartTimestamp": "Fri 2025-04-18 21:48:35 EDT", "ExecMainStartTimestampMonotonic": "438303578", "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 2025-04-18 21:48:35 EDT", "InactiveExitTimestampMonotonic": "438303613", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-04-18 21:48:35 EDT", "WatchdogTimestampMonotonic": "438562616", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 18 April 2025 22:10:40 -0400 (0:00:00.578) 0:05:14.230 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 18 April 2025 22:10:40 -0400 (0:00:00.084) 0:05:14.314 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.102 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 18 April 2025 22:10:41 -0400 (0:00:00.505) 0:05:14.819 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 18 April 2025 22:10:41 -0400 (0:00:00.089) 0:05:14.909 ********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 18 April 2025 22:10:41 -0400 (0:00:00.079) 0:05:14.988 ********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 18 April 2025 22:10:41 -0400 (0:00:00.108) 0:05:15.097 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 18 April 2025 22:10:41 -0400 (0:00:00.131) 0:05:15.228 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 18 April 2025 22:10:41 -0400 (0:00:00.119) 0:05:15.348 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 18 April 2025 22:10:42 -0400 (0:00:00.120) 0:05:15.469 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.102 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 18 April 2025 22:10:42 -0400 (0:00:00.446) 0:05:15.915 ********** ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 18 April 2025 22:10:42 -0400 (0:00:00.139) 0:05:16.054 ********** skipping: [managed-node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 18 April 2025 22:10:42 -0400 (0:00:00.127) 0:05:16.182 ********** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 18 April 2025 22:10:43 -0400 (0:00:00.250) 0:05:16.432 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 18 April 2025 22:10:43 -0400 (0:00:00.133) 0:05:16.566 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 18 April 2025 22:10:43 -0400 (0:00:00.101) 0:05:16.667 ********** included: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 18 April 2025 22:10:43 -0400 (0:00:00.198) 0:05:16.865 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 18 April 2025 22:10:44 -0400 (0:00:00.653) 0:05:17.519 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 18 April 2025 22:10:44 -0400 (0:00:00.131) 0:05:17.651 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 18 April 2025 22:10:44 -0400 (0:00:00.403) 0:05:18.054 ********** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 18 April 2025 22:10:44 -0400 (0:00:00.082) 0:05:18.137 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 18 April 2025 22:10:45 -0400 (0:00:00.591) 0:05:18.729 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 18 April 2025 22:10:45 -0400 (0:00:00.077) 0:05:18.806 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 18 April 2025 22:10:45 -0400 (0:00:00.082) 0:05:18.888 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 18 April 2025 22:10:45 -0400 (0:00:00.122) 0:05:19.010 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 18 April 2025 22:10:45 -0400 (0:00:00.098) 0:05:19.109 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 18 April 2025 22:10:45 -0400 (0:00:00.099) 0:05:19.209 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 18 April 2025 22:10:45 -0400 (0:00:00.076) 0:05:19.286 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 18 April 2025 22:10:46 -0400 (0:00:00.616) 0:05:19.903 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 18 April 2025 22:10:46 -0400 (0:00:00.081) 0:05:19.985 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 18 April 2025 22:10:46 -0400 (0:00:00.072) 0:05:20.057 ********** ok: [managed-node2] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 18 April 2025 22:10:46 -0400 (0:00:00.231) 0:05:20.289 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 18 April 2025 22:10:47 -0400 (0:00:00.120) 0:05:20.409 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 18 April 2025 22:10:47 -0400 (0:00:00.125) 0:05:20.535 ********** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.364003", "end": "2025-04-18 22:10:47.852256", "rc": 0, "start": "2025-04-18 22:10:47.488253" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 18 April 2025 22:10:47 -0400 (0:00:00.795) 0:05:21.330 ********** skipping: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 18 April 2025 22:10:48 -0400 (0:00:00.082) 0:05:21.412 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 18 April 2025 22:10:48 -0400 (0:00:00.077) 0:05:21.490 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 18 April 2025 22:10:48 -0400 (0:00:00.072) 0:05:21.563 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 18 April 2025 22:10:48 -0400 (0:00:00.074) 0:05:21.638 ********** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 18 April 2025 22:10:48 -0400 (0:00:00.098) 0:05:21.737 ********** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 18 April 2025 22:10:48 -0400 (0:00:00.109) 0:05:21.846 ********** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 18 April 2025 22:10:48 -0400 (0:00:00.100) 0:05:21.947 ********** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 18 April 2025 22:10:48 -0400 (0:00:00.100) 0:05:22.048 ********** ok: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 18 April 2025 22:10:51 -0400 (0:00:03.121) 0:05:25.169 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 18 April 2025 22:10:52 -0400 (0:00:00.283) 0:05:25.453 ********** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 18 April 2025 22:10:52 -0400 (0:00:00.098) 0:05:25.551 ********** TASK [Leave realm] ************************************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 18 April 2025 22:10:52 -0400 (0:00:00.128) 0:05:25.680 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 18 April 2025 22:10:52 -0400 (0:00:00.208) 0:05:25.888 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 18 April 2025 22:10:52 -0400 (0:00:00.191) 0:05:26.079 ********** changed: [managed-node2] => { "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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Friday 18 April 2025 22:10:56 -0400 (0:00:03.365) 0:05:29.445 ********** [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-node2] => { "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.007539", "end": "2025-04-18 22:10:56.392223", "rc": 0, "start": "2025-04-18 22:10:56.384684" } 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/aca1f920-523c-4e8d-9044-663352c06201’ 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-3239529392-1741687471-3699760014-500/42e7704ae40b0d75de00736cc66b813a_992e68ac-3f4b-43ab-b317-1269cad0f80f’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3239529392-1741687471-3699760014-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-3239529392-1741687471-3699760014-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3239529392-1741687471-3699760014-500/e5321877-523d-4104-bb36-780065dcd3ea’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3239529392-1741687471-3699760014-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/errorlog.6’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133895022358070000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/system_health_0_133895020895720000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133895019843540000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/system_health_0_133895020446180000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133895021918720000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133895021921900000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133895020893140000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133895020052490000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133895020054580000.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_133895020443890000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133895019805840000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133895019812650000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133895022360440000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133895021323380000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133895021326210000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133895019846360000.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-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Friday 18 April 2025 22:10:56 -0400 (0:00:00.677) 0:05:30.123 ********** ok: [managed-node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.196797", "end": "2025-04-18 22:10:58.270455", "rc": 0, "start": "2025-04-18 22:10:57.073658" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 18 April 2025 22:10:58 -0400 (0:00:01.551) 0:05:31.675 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.844369", "end": "2025-04-18 22:11:00.503708", "rc": 0, "start": "2025-04-18 22:10:58.659339" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=396 changed=62 unreachable=0 failed=0 skipped=902 rescued=0 ignored=0 Friday 18 April 2025 22:11:00 -0400 (0:00:02.255) 0:05:33.930 ********** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 36.16s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 4.99s /tmp/collections-S7n/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.45s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.36s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.24s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Remove related packages ------------------------------------------------- 3.37s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.12s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.26s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.98s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.83s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Test with certs created by the certificate role ------------------------- 1.80s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Disable TLS encryption -------------------------------------------------- 1.69s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Gather package facts ---------------------------------------------------- 1.59s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Stop the mssql-server service ------------------------------------------- 1.55s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Wait for mssql-server to prepare for client connections ----------------- 1.54s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.53s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.51s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Wait for mssql-server to prepare for client connections ----------------- 1.49s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.45s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Get the setting network tlsprotocols --- 1.44s /tmp/collections-S7n/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3