ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_tls_2019.yml *************************************************** 2 plays in /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:5 Monday 25 November 2024 13:00:28 -0500 (0:00:00.024) 0:00:00.024 ******* 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-Gvw/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Monday 25 November 2024 13:00:28 -0500 (0:00:00.019) 0:00:00.044 ******* ok: [managed-node2] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:24 Monday 25 November 2024 13:00:29 -0500 (0:00:00.907) 0:00:00.952 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Monday 25 November 2024 13:00:29 -0500 (0:00:00.100) 0:00:01.053 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Monday 25 November 2024 13:00:29 -0500 (0:00:00.034) 0:00:01.087 ******* ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Monday 25 November 2024 13:00:29 -0500 (0:00:00.356) 0:00:01.443 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Monday 25 November 2024 13:00:29 -0500 (0:00:00.023) 0:00:01.466 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Monday 25 November 2024 13:00:29 -0500 (0:00:00.022) 0:00:01.489 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Monday 25 November 2024 13:00:30 -0500 (0:00:00.723) 0:00:02.213 ******* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.yS7cPr", "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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Monday 25 November 2024 13:00:30 -0500 (0:00:00.349) 0:00:02.563 ******* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.DGH3nX", "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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Monday 25 November 2024 13:00:31 -0500 (0:00:00.268) 0:00:02.831 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.11.174", "-out", "/tmp/ansible.yS7cPr", "-keyout", "/tmp/ansible.DGH3nX", "-days", "365" ], "delta": "0:00:00.166342", "end": "2024-11-25 13:00:31.698886", "rc": 0, "start": "2024-11-25 13:00:31.532544" } STDERR: Generating a 2048 bit RSA private key ....................................................................................+++ ........................................................+++ writing new private key to '/tmp/ansible.DGH3nX' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Monday 25 November 2024 13:00:31 -0500 (0:00:00.523) 0:00:03.355 ******* changed: [managed-node2] => (item=/tmp/ansible.yS7cPr) => { "ansible_loop_var": "item", "changed": true, "checksum": "e0b0e39953f4024038ed2895603c989c8ee6a15f", "dest": "/tmp/ansible.yS7cPr", "item": "/tmp/ansible.yS7cPr", "md5sum": "6ca989d8edc0c5f84bf638fc333d73b6", "remote_checksum": "e0b0e39953f4024038ed2895603c989c8ee6a15f", "remote_md5sum": null } changed: [managed-node2] => (item=/tmp/ansible.DGH3nX) => { "ansible_loop_var": "item", "changed": true, "checksum": "e514b48c8e6fa0c301c4a7a15911871cd6f14015", "dest": "/tmp/ansible.DGH3nX", "item": "/tmp/ansible.DGH3nX", "md5sum": "6cb46f1630dac40b77c76203f23f8c8a", "remote_checksum": "e514b48c8e6fa0c301c4a7a15911871cd6f14015", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Monday 25 November 2024 13:00:32 -0500 (0:00:00.710) 0:00:04.065 ******* changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "e514b48c8e6fa0c301c4a7a15911871cd6f14015", "dest": "./ansible.DGH3nX", "gid": 0, "group": "root", "md5sum": "6cb46f1630dac40b77c76203f23f8c8a", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1732557632.48-6354-1556276545618/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Monday 25 November 2024 13:00:32 -0500 (0:00:00.393) 0:00:04.459 ******* ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.yS7cPr", "mssql_tls_private_key": "ansible.DGH3nX" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Monday 25 November 2024 13:00:32 -0500 (0:00:00.023) 0:00:04.483 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Monday 25 November 2024 13:00:33 -0500 (0:00:00.329) 0:00:04.812 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Monday 25 November 2024 13:00:33 -0500 (0:00:00.029) 0:00:04.841 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Monday 25 November 2024 13:00:33 -0500 (0:00:00.027) 0:00:04.868 ******* 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-MPy/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-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Monday 25 November 2024 13:00:33 -0500 (0:00:00.054) 0:00:04.923 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Monday 25 November 2024 13:00:33 -0500 (0:00:00.020) 0:00:04.944 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Monday 25 November 2024 13:00:33 -0500 (0:00:00.020) 0:00:04.965 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Monday 25 November 2024 13:00:33 -0500 (0:00:00.019) 0:00:04.984 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Monday 25 November 2024 13:00:33 -0500 (0:00:00.020) 0:00:05.004 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Monday 25 November 2024 13:00:33 -0500 (0:00:00.020) 0:00:05.025 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Monday 25 November 2024 13:00:33 -0500 (0:00:00.019) 0:00:05.045 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Monday 25 November 2024 13:00:33 -0500 (0:00:00.018) 0:00:05.064 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Monday 25 November 2024 13:00:33 -0500 (0:00:00.019) 0:00:05.083 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Monday 25 November 2024 13:00:33 -0500 (0:00:00.018) 0:00:05.101 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Monday 25 November 2024 13:00:33 -0500 (0:00:00.019) 0:00:05.121 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Monday 25 November 2024 13:00:33 -0500 (0:00:00.019) 0:00:05.140 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Monday 25 November 2024 13:00:33 -0500 (0:00:00.020) 0:00:05.161 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Monday 25 November 2024 13:00:33 -0500 (0:00:00.027) 0:00:05.189 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Monday 25 November 2024 13:00:33 -0500 (0:00:00.019) 0:00:05.208 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Monday 25 November 2024 13:00:33 -0500 (0:00:00.018) 0:00:05.227 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Monday 25 November 2024 13:00:33 -0500 (0:00:00.023) 0:00:05.251 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Monday 25 November 2024 13:00:33 -0500 (0:00:00.049) 0:00:05.300 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Monday 25 November 2024 13:00:33 -0500 (0:00:00.024) 0:00:05.324 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Monday 25 November 2024 13:00:33 -0500 (0:00:00.019) 0:00:05.344 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Monday 25 November 2024 13:00:35 -0500 (0:00:01.407) 0:00:06.751 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Monday 25 November 2024 13:00:35 -0500 (0:00:00.105) 0:00:06.857 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Monday 25 November 2024 13:00:35 -0500 (0:00:00.054) 0:00:06.911 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Monday 25 November 2024 13:00:35 -0500 (0:00:00.061) 0:00:06.973 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Monday 25 November 2024 13:00:35 -0500 (0:00:00.087) 0:00:07.060 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Monday 25 November 2024 13:00:36 -0500 (0:00:00.663) 0:00:07.724 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Monday 25 November 2024 13:00:36 -0500 (0:00:00.067) 0:00:07.792 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Monday 25 November 2024 13:00:36 -0500 (0:00:00.058) 0:00:07.850 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Monday 25 November 2024 13:00:36 -0500 (0:00:00.060) 0:00:07.911 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Monday 25 November 2024 13:00:36 -0500 (0:00:00.096) 0:00:08.007 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Monday 25 November 2024 13:00:36 -0500 (0:00:00.058) 0:00:08.065 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Monday 25 November 2024 13:00:36 -0500 (0:00:00.057) 0:00:08.123 ******* changed: [managed-node2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Monday 25 November 2024 13:00:36 -0500 (0:00:00.438) 0:00:08.561 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Monday 25 November 2024 13:00:37 -0500 (0:00:00.056) 0:00:08.618 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Monday 25 November 2024 13:00:37 -0500 (0:00:00.587) 0:00:09.205 ******* changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 37 MB/s | 241 MB 00:06 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Monday 25 November 2024 13:01:22 -0500 (0:00:44.482) 0:00:53.687 ******* 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.006224", "end": "2024-11-25 13:01:22.314323", "rc": 0, "start": "2024-11-25 13:01:22.308099" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Monday 25 November 2024 13:01:22 -0500 (0:00:00.360) 0:00:54.048 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Monday 25 November 2024 13:01:23 -0500 (0:00:01.007) 0:00:55.055 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Monday 25 November 2024 13:01:23 -0500 (0:00:00.083) 0:00:55.138 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Monday 25 November 2024 13:01:23 -0500 (0:00:00.071) 0:00:55.210 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Monday 25 November 2024 13:01:29 -0500 (0:00:06.220) 0:01:01.431 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Monday 25 November 2024 13:01:29 -0500 (0:00:00.125) 0:01:01.556 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Monday 25 November 2024 13:01:30 -0500 (0:00:00.097) 0:01:01.654 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Monday 25 November 2024 13:01:30 -0500 (0:00:00.152) 0:01:01.806 ******* 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Monday 25 November 2024 13:01:31 -0500 (0:00:00.926) 0:01:02.732 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:42:22 EST", "ActiveEnterTimestampMonotonic": "8127358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket systemd-sysctl.service dbus.service network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:42:22 EST", "AssertTimestampMonotonic": "7373578", "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": "Mon 2024-11-25 12:42:22 EST", "ConditionTimestampMonotonic": "7373577", "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": "849", "ExecMainStartTimestamp": "Mon 2024-11-25 12:42:22 EST", "ExecMainStartTimestampMonotonic": "7374296", "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": "Mon 2024-11-25 12:42:22 EST", "InactiveExitTimestampMonotonic": "7374334", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.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": "Mon 2024-11-25 12:42:22 EST", "WatchdogTimestampMonotonic": "8127306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Monday 25 November 2024 13:01:32 -0500 (0:00:01.083) 0:01:03.816 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.216328", "end": "2024-11-25 13:01:32.982734", "rc": 0, "start": "2024-11-25 13:01:32.766406" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Monday 25 November 2024 13:01:33 -0500 (0:00:00.989) 0:01:04.806 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Monday 25 November 2024 13:01:33 -0500 (0:00:00.094) 0:01:04.900 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Monday 25 November 2024 13:01:33 -0500 (0:00:00.088) 0:01:04.989 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Monday 25 November 2024 13:01:33 -0500 (0:00:00.103) 0:01:05.093 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Monday 25 November 2024 13:01:34 -0500 (0:00:00.666) 0:01:05.759 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Monday 25 November 2024 13:01:34 -0500 (0:00:00.073) 0:01:05.833 ******* 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: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be installed\n--> Processing Dependency: msodbcsql18 >= 18.0.0.0 for package: mssql-tools18-18.4.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 293 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 923 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.6 M\nInstalled size: 3.9 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.7 MB/s | 1.6 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql18-18.4.1.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools18-18.4.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools18.x86_64 0:18.4.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Monday 25 November 2024 13:01:38 -0500 (0:00:04.766) 0:01:10.600 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Monday 25 November 2024 13:01:39 -0500 (0:00:00.070) 0:01:10.671 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Monday 25 November 2024 13:01:39 -0500 (0:00:00.096) 0:01:10.767 ******* changed: [managed-node2] => (item=/tmp/ansible.yS7cPr) => { "ansible_loop_var": "item", "changed": true, "checksum": "e0b0e39953f4024038ed2895603c989c8ee6a15f", "dest": "/etc/pki/tls/certs/ansible.yS7cPr", "gid": 994, "group": "mssql", "item": "/tmp/ansible.yS7cPr", "md5sum": "6ca989d8edc0c5f84bf638fc333d73b6", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1732557699.23-7752-65043294740806/source", "state": "file", "uid": 996 } changed: [managed-node2] => (item=ansible.DGH3nX) => { "ansible_loop_var": "item", "changed": true, "checksum": "e514b48c8e6fa0c301c4a7a15911871cd6f14015", "dest": "/etc/pki/tls/private/ansible.DGH3nX", "gid": 994, "group": "mssql", "item": "ansible.DGH3nX", "md5sum": "6cb46f1630dac40b77c76203f23f8c8a", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1732557699.84-7752-3731068701714/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Monday 25 November 2024 13:01:40 -0500 (0:00:01.255) 0:01:12.023 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:01:40 -0500 (0:00:00.191) 0:01:12.215 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003694", "end": "2024-11-25 13:01:40.873808", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:01:40.870114" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:01:40 -0500 (0:00:00.368) 0:01:12.584 ******* 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.yS7cPr" ], "delta": "0:00:00.120911", "end": "2024-11-25 13:01:41.360886", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:01:41.239975" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:01:41 -0500 (0:00:00.487) 0:01:13.071 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Monday 25 November 2024 13:01:41 -0500 (0:00:00.114) 0:01:13.186 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:01:41 -0500 (0:00:00.154) 0:01:13.340 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003086", "end": "2024-11-25 13:01:41.980734", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:01:41.977648" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:01:42 -0500 (0:00:00.338) 0:01:13.678 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.DGH3nX" ], "delta": "0:00:00.119500", "end": "2024-11-25 13:01:42.441619", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:01:42.322119" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:01:42 -0500 (0:00:00.507) 0:01:14.185 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Monday 25 November 2024 13:01:42 -0500 (0:00:00.109) 0:01:14.295 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:01:42 -0500 (0:00:00.203) 0:01:14.499 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003159", "end": "2024-11-25 13:01:43.209530", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:01:43.206371" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:01:43 -0500 (0:00:00.436) 0:01:14.936 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.119001", "end": "2024-11-25 13:01:43.704336", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:01:43.585335" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:01:43 -0500 (0:00:00.501) 0:01:15.437 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Monday 25 November 2024 13:01:43 -0500 (0:00:00.156) 0:01:15.594 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:01:44 -0500 (0:00:00.163) 0:01:15.758 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003745", "end": "2024-11-25 13:01:44.391912", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:01:44.388167" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:01:44 -0500 (0:00:00.345) 0:01:16.103 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.121379", "end": "2024-11-25 13:01:44.877331", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:01:44.755952" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:01:45 -0500 (0:00:00.520) 0:01:16.623 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Monday 25 November 2024 13:01:45 -0500 (0:00:00.107) 0:01:16.731 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005506", "end": "2024-11-25 13:01:45.403411", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:01:45.397905" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Monday 25 November 2024 13:01:45 -0500 (0:00:00.407) 0:01:17.138 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Monday 25 November 2024 13:01:45 -0500 (0:00:00.099) 0:01:17.238 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Monday 25 November 2024 13:01:45 -0500 (0:00:00.122) 0:01:17.361 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Monday 25 November 2024 13:01:45 -0500 (0:00:00.083) 0:01:17.444 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Monday 25 November 2024 13:01:45 -0500 (0:00:00.079) 0:01:17.524 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Monday 25 November 2024 13:01:45 -0500 (0:00:00.064) 0:01:17.588 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Monday 25 November 2024 13:01:46 -0500 (0:00:00.061) 0:01:17.650 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Monday 25 November 2024 13:01:46 -0500 (0:00:00.062) 0:01:17.713 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Monday 25 November 2024 13:01:46 -0500 (0:00:00.062) 0:01:17.775 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Monday 25 November 2024 13:01:46 -0500 (0:00:00.073) 0:01:17.848 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Monday 25 November 2024 13:01:46 -0500 (0:00:00.113) 0:01:17.962 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Monday 25 November 2024 13:01:46 -0500 (0:00:00.064) 0:01:18.026 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Monday 25 November 2024 13:01:46 -0500 (0:00:00.067) 0:01:18.094 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Monday 25 November 2024 13:01:46 -0500 (0:00:00.069) 0:01:18.164 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Monday 25 November 2024 13:01:46 -0500 (0:00:00.064) 0:01:18.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Monday 25 November 2024 13:01:46 -0500 (0:00:00.065) 0:01:18.294 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Monday 25 November 2024 13:01:46 -0500 (0:00:00.063) 0:01:18.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Monday 25 November 2024 13:01:46 -0500 (0:00:00.063) 0:01:18.421 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:01:46 -0500 (0:00:00.113) 0:01:18.535 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003546", "end": "2024-11-25 13:01:47.173303", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:01:47.169757" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:01:47 -0500 (0:00:00.343) 0:01:18.878 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120769", "end": "2024-11-25 13:01:47.632197", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:01:47.511428" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:01:47 -0500 (0:00:00.463) 0:01:19.342 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Monday 25 November 2024 13:01:47 -0500 (0:00:00.064) 0:01:19.407 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Monday 25 November 2024 13:01:47 -0500 (0:00:00.066) 0:01:19.474 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Monday 25 November 2024 13:01:47 -0500 (0:00:00.066) 0:01:19.540 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Monday 25 November 2024 13:01:47 -0500 (0:00:00.066) 0:01:19.607 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Monday 25 November 2024 13:01:48 -0500 (0:00:00.064) 0:01:19.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Monday 25 November 2024 13:01:48 -0500 (0:00:00.116) 0:01:19.788 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Monday 25 November 2024 13:01:48 -0500 (0:00:00.076) 0:01:19.864 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Monday 25 November 2024 13:01:48 -0500 (0:00:00.064) 0:01:19.929 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Monday 25 November 2024 13:01:48 -0500 (0:00:00.065) 0:01:19.994 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Monday 25 November 2024 13:01:48 -0500 (0:00:00.062) 0:01:20.056 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Monday 25 November 2024 13:01:48 -0500 (0:00:00.066) 0:01:20.123 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Monday 25 November 2024 13:01:48 -0500 (0:00:00.062) 0:01:20.185 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Monday 25 November 2024 13:01:48 -0500 (0:00:00.064) 0:01:20.249 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Monday 25 November 2024 13:01:48 -0500 (0:00:00.067) 0:01:20.316 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Monday 25 November 2024 13:01:48 -0500 (0:00:00.069) 0:01:20.386 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Monday 25 November 2024 13:01:48 -0500 (0:00:00.067) 0:01:20.453 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Monday 25 November 2024 13:01:48 -0500 (0:00:00.064) 0:01:20.518 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Monday 25 November 2024 13:01:48 -0500 (0:00:00.066) 0:01:20.584 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Monday 25 November 2024 13:01:49 -0500 (0:00:00.065) 0:01:20.649 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Monday 25 November 2024 13:01:49 -0500 (0:00:00.068) 0:01:20.717 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Monday 25 November 2024 13:01:49 -0500 (0:00:00.063) 0:01:20.781 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Monday 25 November 2024 13:01:49 -0500 (0:00:00.064) 0:01:20.845 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Monday 25 November 2024 13:01:49 -0500 (0:00:00.075) 0:01:20.921 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Monday 25 November 2024 13:01:49 -0500 (0:00:00.063) 0:01:20.984 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Monday 25 November 2024 13:01:49 -0500 (0:00:00.122) 0:01:21.107 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Monday 25 November 2024 13:01:49 -0500 (0:00:00.102) 0:01:21.209 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Monday 25 November 2024 13:01:49 -0500 (0:00:00.103) 0:01:21.313 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Monday 25 November 2024 13:01:49 -0500 (0:00:00.101) 0:01:21.414 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Monday 25 November 2024 13:01:49 -0500 (0:00:00.107) 0:01:21.522 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Monday 25 November 2024 13:01:50 -0500 (0:00:00.103) 0:01:21.625 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Monday 25 November 2024 13:01:50 -0500 (0:00:00.105) 0:01:21.731 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Monday 25 November 2024 13:01:50 -0500 (0:00:00.105) 0:01:21.836 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Monday 25 November 2024 13:01:50 -0500 (0:00:00.102) 0:01:21.939 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Monday 25 November 2024 13:01:50 -0500 (0:00:00.098) 0:01:22.038 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Monday 25 November 2024 13:01:50 -0500 (0:00:00.079) 0:01:22.117 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Monday 25 November 2024 13:01:50 -0500 (0:00:00.078) 0:01:22.196 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Monday 25 November 2024 13:01:50 -0500 (0:00:00.096) 0:01:22.292 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Monday 25 November 2024 13:01:50 -0500 (0:00:00.119) 0:01:22.412 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Monday 25 November 2024 13:01:50 -0500 (0:00:00.098) 0:01:22.510 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Monday 25 November 2024 13:01:51 -0500 (0:00:00.101) 0:01:22.611 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Monday 25 November 2024 13:01:51 -0500 (0:00:00.119) 0:01:22.731 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Monday 25 November 2024 13:01:51 -0500 (0:00:00.102) 0:01:22.834 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Monday 25 November 2024 13:01:51 -0500 (0:00:00.099) 0:01:22.934 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Monday 25 November 2024 13:01:51 -0500 (0:00:00.093) 0:01:23.028 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Monday 25 November 2024 13:01:51 -0500 (0:00:00.139) 0:01:23.167 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Monday 25 November 2024 13:01:51 -0500 (0:00:00.063) 0:01:23.231 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Monday 25 November 2024 13:01:51 -0500 (0:00:00.070) 0:01:23.301 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Monday 25 November 2024 13:01:51 -0500 (0:00:00.091) 0:01:23.392 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Monday 25 November 2024 13:01:51 -0500 (0:00:00.094) 0:01:23.487 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Monday 25 November 2024 13:01:51 -0500 (0:00:00.080) 0:01:23.567 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Monday 25 November 2024 13:01:52 -0500 (0:00:00.078) 0:01:23.646 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Monday 25 November 2024 13:01:52 -0500 (0:00:00.064) 0:01:23.710 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Monday 25 November 2024 13:01:52 -0500 (0:00:00.087) 0:01:23.798 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Monday 25 November 2024 13:01:52 -0500 (0:00:00.112) 0:01:23.910 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Monday 25 November 2024 13:01:52 -0500 (0:00:00.078) 0:01:23.989 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Monday 25 November 2024 13:01:52 -0500 (0:00:00.089) 0:01:24.079 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Monday 25 November 2024 13:01:52 -0500 (0:00:00.066) 0:01:24.145 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Monday 25 November 2024 13:01:52 -0500 (0:00:00.075) 0:01:24.221 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Monday 25 November 2024 13:01:52 -0500 (0:00:00.116) 0:01:24.337 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Monday 25 November 2024 13:01:52 -0500 (0:00:00.105) 0:01:24.443 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Monday 25 November 2024 13:01:52 -0500 (0:00:00.086) 0:01:24.529 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Monday 25 November 2024 13:01:53 -0500 (0:00:00.113) 0:01:24.643 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Monday 25 November 2024 13:01:53 -0500 (0:00:00.097) 0:01:24.740 ******* changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Monday 25 November 2024 13:01:53 -0500 (0:00:00.616) 0:01:25.356 ******* changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:01:29 EST", "ActiveEnterTimestampMonotonic": "1154794822", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket auditd.service network.target -.mount system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:01:29 EST", "AssertTimestampMonotonic": "1154793917", "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": "Mon 2024-11-25 13:01:29 EST", "ConditionTimestampMonotonic": "1154793915", "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": "32579", "ExecMainStartTimestamp": "Mon 2024-11-25 13:01:29 EST", "ExecMainStartTimestampMonotonic": "1154794763", "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": "Mon 2024-11-25 13:01:29 EST", "InactiveExitTimestampMonotonic": "1154794822", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "32579", "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": "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": "Mon 2024-11-25 13:01:29 EST", "WatchdogTimestampMonotonic": "1154794801", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Monday 25 November 2024 13:01:55 -0500 (0:00:01.847) 0:01:27.204 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Monday 25 November 2024 13:01:55 -0500 (0:00:00.064) 0:01:27.269 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Monday 25 November 2024 13:01:55 -0500 (0:00:00.063) 0:01:27.333 ******* changed: [managed-node2 -> localhost] => { "changed": true, "path": "ansible.DGH3nX", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Monday 25 November 2024 13:01:56 -0500 (0:00:00.430) 0:01:27.763 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Monday 25 November 2024 13:01:56 -0500 (0:00:00.143) 0:01:27.907 ******* changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Monday 25 November 2024 13:01:56 -0500 (0:00:00.605) 0:01:28.512 ******* changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Monday 25 November 2024 13:01:57 -0500 (0:00:00.560) 0:01:29.072 ******* ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Monday 25 November 2024 13:01:58 -0500 (0:00:00.710) 0:01:29.782 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Monday 25 November 2024 13:01:58 -0500 (0:00:00.164) 0:01:29.946 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Monday 25 November 2024 13:01:58 -0500 (0:00:00.062) 0:01:30.009 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Monday 25 November 2024 13:01:58 -0500 (0:00:00.065) 0:01:30.075 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Monday 25 November 2024 13:01:58 -0500 (0:00:00.066) 0:01:30.141 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Monday 25 November 2024 13:01:58 -0500 (0:00:00.065) 0:01:30.206 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Monday 25 November 2024 13:01:58 -0500 (0:00:00.076) 0:01:30.283 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Monday 25 November 2024 13:01:58 -0500 (0:00:00.063) 0:01:30.347 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Monday 25 November 2024 13:01:58 -0500 (0:00:00.064) 0:01:30.412 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Monday 25 November 2024 13:01:58 -0500 (0:00:00.063) 0:01:30.475 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Monday 25 November 2024 13:01:58 -0500 (0:00:00.128) 0:01:30.604 ******* ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:01:55 EST", "ActiveEnterTimestampMonotonic": "1180769113", "ActiveExitTimestamp": "Mon 2024-11-25 13:01:54 EST", "ActiveExitTimestampMonotonic": "1179472188", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:01:55 EST", "AssertTimestampMonotonic": "1180767786", "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": "Mon 2024-11-25 13:01:55 EST", "ConditionTimestampMonotonic": "1180767784", "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": "1514", "ExecMainStartTimestamp": "Mon 2024-11-25 13:01:55 EST", "ExecMainStartTimestampMonotonic": "1180769039", "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": "Mon 2024-11-25 13:01:55 EST", "InactiveEnterTimestampMonotonic": "1180766087", "InactiveExitTimestamp": "Mon 2024-11-25 13:01:55 EST", "InactiveExitTimestampMonotonic": "1180769113", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1514", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 13:01:55 EST", "WatchdogTimestampMonotonic": "1180769086", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Monday 25 November 2024 13:01:59 -0500 (0:00:00.746) 0:01:31.350 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003178", "end": "2024-11-25 13:02:00.059456", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:02:00.056278" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Monday 25 November 2024 13:02:00 -0500 (0:00:00.405) 0:01:31.756 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003171", "end": "2024-11-25 13:02:00.397876", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:02:00.394705" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Monday 25 November 2024 13:02:00 -0500 (0:00:00.340) 0:01:32.096 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Monday 25 November 2024 13:02:00 -0500 (0:00:00.078) 0:01:32.175 ******* 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": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Monday 25 November 2024 13:02:02 -0500 (0:00:01.486) 0:01:33.661 ******* 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.024006", "end": "2024-11-25 13:02:02.364729", "rc": 0, "start": "2024-11-25 13:02:02.340723" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Monday 25 November 2024 13:02:02 -0500 (0:00:00.449) 0:01:34.111 ******* ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Monday 25 November 2024 13:02:02 -0500 (0:00:00.104) 0:01:34.216 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Monday 25 November 2024 13:02:02 -0500 (0:00:00.103) 0:01:34.319 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Monday 25 November 2024 13:02:02 -0500 (0:00:00.130) 0:01:34.449 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Monday 25 November 2024 13:02:02 -0500 (0:00:00.085) 0:01:34.535 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Monday 25 November 2024 13:02:03 -0500 (0:00:00.081) 0:01:34.616 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Monday 25 November 2024 13:02:03 -0500 (0:00:00.069) 0:01:34.686 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Monday 25 November 2024 13:02:03 -0500 (0:00:00.075) 0:01:34.761 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Monday 25 November 2024 13:02:03 -0500 (0:00:00.151) 0:01:34.913 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:03 -0500 (0:00:00.153) 0:01:35.066 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004423", "end": "2024-11-25 13:02:03.707728", "rc": 0, "start": "2024-11-25 13:02:03.703305" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.yS7cPr TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:03 -0500 (0:00:00.380) 0:01:35.447 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:03 -0500 (0:00:00.135) 0:01:35.582 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.yS7cPr] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:04 -0500 (0:00:00.115) 0:01:35.698 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Monday 25 November 2024 13:02:04 -0500 (0:00:00.099) 0:01:35.797 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:04 -0500 (0:00:00.181) 0:01:35.979 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004201", "end": "2024-11-25 13:02:04.646094", "rc": 0, "start": "2024-11-25 13:02:04.641893" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DGH3nX TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:04 -0500 (0:00:00.400) 0:01:36.380 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:04 -0500 (0:00:00.126) 0:01:36.507 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.DGH3nX] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:05 -0500 (0:00:00.129) 0:01:36.636 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Monday 25 November 2024 13:02:05 -0500 (0:00:00.103) 0:01:36.740 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:05 -0500 (0:00:00.198) 0:01:36.938 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004268", "end": "2024-11-25 13:02:05.620667", "rc": 0, "start": "2024-11-25 13:02:05.616399" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:05 -0500 (0:00:00.420) 0:01:37.359 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:05 -0500 (0:00:00.195) 0:01:37.554 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:06 -0500 (0:00:00.131) 0:01:37.685 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Monday 25 November 2024 13:02:06 -0500 (0:00:00.102) 0:01:37.788 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:06 -0500 (0:00:00.205) 0:01:37.993 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004372", "end": "2024-11-25 13:02:06.663955", "rc": 0, "start": "2024-11-25 13:02:06.659583" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:06 -0500 (0:00:00.406) 0:01:38.400 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:06 -0500 (0:00:00.104) 0:01:38.505 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:07 -0500 (0:00:00.127) 0:01:38.633 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Monday 25 November 2024 13:02:07 -0500 (0:00:00.126) 0:01:38.759 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Monday 25 November 2024 13:02:07 -0500 (0:00:00.097) 0:01:38.857 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Monday 25 November 2024 13:02:07 -0500 (0:00:00.547) 0:01:39.404 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Monday 25 November 2024 13:02:07 -0500 (0:00:00.184) 0:01:39.589 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Monday 25 November 2024 13:02:08 -0500 (0:00:00.127) 0:01:39.716 ******* 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-MPy/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-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Monday 25 November 2024 13:02:08 -0500 (0:00:00.256) 0:01:39.972 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Monday 25 November 2024 13:02:08 -0500 (0:00:00.101) 0:01:40.074 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Monday 25 November 2024 13:02:08 -0500 (0:00:00.101) 0:01:40.176 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Monday 25 November 2024 13:02:08 -0500 (0:00:00.102) 0:01:40.278 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Monday 25 November 2024 13:02:08 -0500 (0:00:00.103) 0:01:40.382 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Monday 25 November 2024 13:02:08 -0500 (0:00:00.100) 0:01:40.483 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Monday 25 November 2024 13:02:08 -0500 (0:00:00.105) 0:01:40.589 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Monday 25 November 2024 13:02:09 -0500 (0:00:00.102) 0:01:40.691 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Monday 25 November 2024 13:02:09 -0500 (0:00:00.101) 0:01:40.793 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Monday 25 November 2024 13:02:09 -0500 (0:00:00.109) 0:01:40.903 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Monday 25 November 2024 13:02:09 -0500 (0:00:00.115) 0:01:41.018 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Monday 25 November 2024 13:02:09 -0500 (0:00:00.100) 0:01:41.119 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Monday 25 November 2024 13:02:09 -0500 (0:00:00.105) 0:01:41.225 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Monday 25 November 2024 13:02:09 -0500 (0:00:00.112) 0:01:41.338 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Monday 25 November 2024 13:02:09 -0500 (0:00:00.102) 0:01:41.441 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Monday 25 November 2024 13:02:09 -0500 (0:00:00.103) 0:01:41.544 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Monday 25 November 2024 13:02:10 -0500 (0:00:00.102) 0:01:41.647 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Monday 25 November 2024 13:02:10 -0500 (0:00:00.101) 0:01:41.748 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Monday 25 November 2024 13:02:10 -0500 (0:00:00.107) 0:01:41.855 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Monday 25 November 2024 13:02:10 -0500 (0:00:00.109) 0:01:41.965 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Monday 25 November 2024 13:02:11 -0500 (0:00:01.365) 0:01:43.331 ******* 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Monday 25 November 2024 13:02:12 -0500 (0:00:00.286) 0:01:43.617 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Monday 25 November 2024 13:02:12 -0500 (0:00:00.110) 0:01:43.727 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Monday 25 November 2024 13:02:12 -0500 (0:00:00.117) 0:01:43.845 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Monday 25 November 2024 13:02:12 -0500 (0:00:00.201) 0:01:44.046 ******* ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Monday 25 November 2024 13:02:13 -0500 (0:00:00.639) 0:01:44.686 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Monday 25 November 2024 13:02:13 -0500 (0:00:00.103) 0:01:44.789 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Monday 25 November 2024 13:02:13 -0500 (0:00:00.109) 0:01:44.898 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Monday 25 November 2024 13:02:13 -0500 (0:00:00.112) 0:01:45.011 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Monday 25 November 2024 13:02:13 -0500 (0:00:00.105) 0:01:45.117 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Monday 25 November 2024 13:02:13 -0500 (0:00:00.096) 0:01:45.214 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Monday 25 November 2024 13:02:13 -0500 (0:00:00.086) 0:01:45.301 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Monday 25 November 2024 13:02:13 -0500 (0:00:00.153) 0:01:45.454 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Monday 25 November 2024 13:02:13 -0500 (0:00:00.068) 0:01:45.523 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Monday 25 November 2024 13:02:14 -0500 (0:00:00.585) 0:01:46.108 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Monday 25 November 2024 13:02:15 -0500 (0:00:00.568) 0:01:46.677 ******* 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.005176", "end": "2024-11-25 13:02:15.340737", "rc": 0, "start": "2024-11-25 13:02:15.335561" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Monday 25 November 2024 13:02:15 -0500 (0:00:00.364) 0:01:47.042 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Monday 25 November 2024 13:02:16 -0500 (0:00:00.945) 0:01:47.987 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Monday 25 November 2024 13:02:16 -0500 (0:00:00.096) 0:01:48.084 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Monday 25 November 2024 13:02:16 -0500 (0:00:00.071) 0:01:48.156 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Monday 25 November 2024 13:02:16 -0500 (0:00:00.110) 0:01:48.267 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Monday 25 November 2024 13:02:16 -0500 (0:00:00.144) 0:01:48.411 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Monday 25 November 2024 13:02:16 -0500 (0:00:00.113) 0:01:48.525 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Monday 25 November 2024 13:02:17 -0500 (0:00:00.174) 0:01:48.699 ******* 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Monday 25 November 2024 13:02:17 -0500 (0:00:00.580) 0:01:49.279 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:42:22 EST", "ActiveEnterTimestampMonotonic": "8127358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:42:22 EST", "AssertTimestampMonotonic": "7373578", "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": "Mon 2024-11-25 12:42:22 EST", "ConditionTimestampMonotonic": "7373577", "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": "849", "ExecMainStartTimestamp": "Mon 2024-11-25 12:42:22 EST", "ExecMainStartTimestampMonotonic": "7374296", "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": "Mon 2024-11-25 12:42:22 EST", "InactiveExitTimestampMonotonic": "7374334", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 12:42:22 EST", "WatchdogTimestampMonotonic": "8127306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Monday 25 November 2024 13:02:18 -0500 (0:00:00.534) 0:01:49.814 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087478", "end": "2024-11-25 13:02:18.571729", "rc": 0, "start": "2024-11-25 13:02:18.484251" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Monday 25 November 2024 13:02:18 -0500 (0:00:00.502) 0:01:50.316 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Monday 25 November 2024 13:02:18 -0500 (0:00:00.139) 0:01:50.455 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Monday 25 November 2024 13:02:18 -0500 (0:00:00.123) 0:01:50.579 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Monday 25 November 2024 13:02:19 -0500 (0:00:00.187) 0:01:50.766 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Monday 25 November 2024 13:02:19 -0500 (0:00:00.509) 0:01:51.275 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Monday 25 November 2024 13:02:19 -0500 (0:00:00.158) 0:01:51.434 ******* 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Monday 25 November 2024 13:02:20 -0500 (0:00:00.690) 0:01:52.124 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Monday 25 November 2024 13:02:20 -0500 (0:00:00.139) 0:01:52.264 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Monday 25 November 2024 13:02:20 -0500 (0:00:00.119) 0:01:52.384 ******* skipping: [managed-node2] => (item=/tmp/ansible.yS7cPr) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.yS7cPr", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.DGH3nX) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.DGH3nX", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Monday 25 November 2024 13:02:20 -0500 (0:00:00.131) 0:01:52.516 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:02:21 -0500 (0:00:00.278) 0:01:52.795 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003717", "end": "2024-11-25 13:02:21.470019", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:21.466302" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.yS7cPr TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:02:21 -0500 (0:00:00.421) 0:01:53.216 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:02:21 -0500 (0:00:00.132) 0:01:53.349 ******* 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.119793", "end": "2024-11-25 13:02:22.243145", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:22.123352" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Monday 25 November 2024 13:02:22 -0500 (0:00:00.773) 0:01:54.123 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:02:22 -0500 (0:00:00.330) 0:01:54.453 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003221", "end": "2024-11-25 13:02:23.387264", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:23.384043" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DGH3nX TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:02:23 -0500 (0:00:00.794) 0:01:55.247 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:02:23 -0500 (0:00:00.216) 0:01:55.463 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.118644", "end": "2024-11-25 13:02:24.361767", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:24.243123" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Monday 25 November 2024 13:02:24 -0500 (0:00:00.666) 0:01:56.130 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:02:24 -0500 (0:00:00.247) 0:01:56.378 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003583", "end": "2024-11-25 13:02:25.049192", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:25.045609" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:02:25 -0500 (0:00:00.386) 0:01:56.764 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:02:25 -0500 (0:00:00.080) 0:01:56.845 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.120220", "end": "2024-11-25 13:02:25.612493", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:25.492273" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Monday 25 November 2024 13:02:25 -0500 (0:00:00.515) 0:01:57.361 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:02:26 -0500 (0:00:00.393) 0:01:57.754 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2024-11-25 13:02:26.626563", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:26.623284" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:02:26 -0500 (0:00:00.618) 0:01:58.372 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:02:26 -0500 (0:00:00.134) 0:01:58.507 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.118606", "end": "2024-11-25 13:02:27.380560", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:27.261954" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Monday 25 November 2024 13:02:27 -0500 (0:00:00.631) 0:01:59.138 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005340", "end": "2024-11-25 13:02:27.811091", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:02:27.805751" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Monday 25 November 2024 13:02:28 -0500 (0:00:00.470) 0:01:59.609 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Monday 25 November 2024 13:02:28 -0500 (0:00:00.119) 0:01:59.728 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Monday 25 November 2024 13:02:28 -0500 (0:00:00.120) 0:01:59.849 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Monday 25 November 2024 13:02:28 -0500 (0:00:00.132) 0:01:59.981 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Monday 25 November 2024 13:02:28 -0500 (0:00:00.126) 0:02:00.108 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Monday 25 November 2024 13:02:28 -0500 (0:00:00.111) 0:02:00.220 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Monday 25 November 2024 13:02:28 -0500 (0:00:00.108) 0:02:00.328 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Monday 25 November 2024 13:02:28 -0500 (0:00:00.114) 0:02:00.442 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Monday 25 November 2024 13:02:28 -0500 (0:00:00.113) 0:02:00.555 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Monday 25 November 2024 13:02:29 -0500 (0:00:00.111) 0:02:00.666 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Monday 25 November 2024 13:02:29 -0500 (0:00:00.109) 0:02:00.776 ******* 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.005434", "end": "2024-11-25 13:02:29.631793", "rc": 0, "start": "2024-11-25 13:02:29.626359" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Monday 25 November 2024 13:02:29 -0500 (0:00:00.685) 0:02:01.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Monday 25 November 2024 13:02:30 -0500 (0:00:00.363) 0:02:01.826 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Monday 25 November 2024 13:02:31 -0500 (0:00:01.609) 0:02:03.436 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Monday 25 November 2024 13:02:31 -0500 (0:00:00.120) 0:02:03.557 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Monday 25 November 2024 13:02:32 -0500 (0:00:00.103) 0:02:03.660 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Monday 25 November 2024 13:02:32 -0500 (0:00:00.167) 0:02:03.828 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Monday 25 November 2024 13:02:32 -0500 (0:00:00.213) 0:02:04.041 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:02:32 -0500 (0:00:00.255) 0:02:04.296 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003156", "end": "2024-11-25 13:02:33.034266", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:02:33.031110" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:02:33 -0500 (0:00:00.478) 0:02:04.775 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120925", "end": "2024-11-25 13:02:33.594749", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:02:33.473824" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:02:33 -0500 (0:00:00.529) 0:02:05.304 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Monday 25 November 2024 13:02:33 -0500 (0:00:00.069) 0:02:05.374 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Monday 25 November 2024 13:02:33 -0500 (0:00:00.105) 0:02:05.480 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Monday 25 November 2024 13:02:34 -0500 (0:00:00.176) 0:02:05.656 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Monday 25 November 2024 13:02:34 -0500 (0:00:00.111) 0:02:05.767 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Monday 25 November 2024 13:02:34 -0500 (0:00:00.114) 0:02:05.882 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Monday 25 November 2024 13:02:34 -0500 (0:00:00.110) 0:02:05.993 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Monday 25 November 2024 13:02:34 -0500 (0:00:00.109) 0:02:06.102 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Monday 25 November 2024 13:02:34 -0500 (0:00:00.129) 0:02:06.232 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Monday 25 November 2024 13:02:34 -0500 (0:00:00.201) 0:02:06.434 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Monday 25 November 2024 13:02:35 -0500 (0:00:00.178) 0:02:06.612 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Monday 25 November 2024 13:02:35 -0500 (0:00:00.126) 0:02:06.739 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Monday 25 November 2024 13:02:35 -0500 (0:00:00.123) 0:02:06.863 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Monday 25 November 2024 13:02:35 -0500 (0:00:00.119) 0:02:06.982 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Monday 25 November 2024 13:02:35 -0500 (0:00:00.115) 0:02:07.097 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Monday 25 November 2024 13:02:35 -0500 (0:00:00.124) 0:02:07.222 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Monday 25 November 2024 13:02:35 -0500 (0:00:00.177) 0:02:07.400 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Monday 25 November 2024 13:02:36 -0500 (0:00:00.221) 0:02:07.621 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Monday 25 November 2024 13:02:36 -0500 (0:00:00.146) 0:02:07.768 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Monday 25 November 2024 13:02:36 -0500 (0:00:00.117) 0:02:07.885 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Monday 25 November 2024 13:02:36 -0500 (0:00:00.113) 0:02:07.999 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Monday 25 November 2024 13:02:36 -0500 (0:00:00.104) 0:02:08.104 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Monday 25 November 2024 13:02:36 -0500 (0:00:00.198) 0:02:08.302 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Monday 25 November 2024 13:02:36 -0500 (0:00:00.113) 0:02:08.415 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Monday 25 November 2024 13:02:36 -0500 (0:00:00.136) 0:02:08.552 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Monday 25 November 2024 13:02:37 -0500 (0:00:00.163) 0:02: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 : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Monday 25 November 2024 13:02:37 -0500 (0:00:00.110) 0:02:08.825 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Monday 25 November 2024 13:02:37 -0500 (0:00:00.090) 0:02:08.916 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Monday 25 November 2024 13:02:37 -0500 (0:00:00.079) 0:02:08.995 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Monday 25 November 2024 13:02:37 -0500 (0:00:00.072) 0:02:09.068 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Monday 25 November 2024 13:02:37 -0500 (0:00:00.069) 0:02:09.138 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Monday 25 November 2024 13:02:37 -0500 (0:00:00.080) 0:02:09.218 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Monday 25 November 2024 13:02:37 -0500 (0:00:00.171) 0:02:09.389 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Monday 25 November 2024 13:02:37 -0500 (0:00:00.117) 0:02:09.507 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Monday 25 November 2024 13:02:37 -0500 (0:00:00.099) 0:02:09.606 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Monday 25 November 2024 13:02:38 -0500 (0:00:00.080) 0:02:09.686 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Monday 25 November 2024 13:02:38 -0500 (0:00:00.079) 0:02:09.766 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Monday 25 November 2024 13:02:38 -0500 (0:00:00.101) 0:02:09.867 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Monday 25 November 2024 13:02:38 -0500 (0:00:00.145) 0:02:10.013 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Monday 25 November 2024 13:02:38 -0500 (0:00:00.112) 0:02:10.125 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Monday 25 November 2024 13:02:38 -0500 (0:00:00.099) 0:02:10.225 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Monday 25 November 2024 13:02:38 -0500 (0:00:00.157) 0:02:10.382 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Monday 25 November 2024 13:02:38 -0500 (0:00:00.097) 0:02:10.480 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Monday 25 November 2024 13:02:38 -0500 (0:00:00.105) 0:02:10.585 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Monday 25 November 2024 13:02:39 -0500 (0:00:00.086) 0:02:10.671 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Monday 25 November 2024 13:02:39 -0500 (0:00:00.081) 0:02:10.753 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Monday 25 November 2024 13:02:39 -0500 (0:00:00.107) 0:02:10.861 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Monday 25 November 2024 13:02:39 -0500 (0:00:00.141) 0:02:11.003 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Monday 25 November 2024 13:02:39 -0500 (0:00:00.106) 0:02:11.109 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Monday 25 November 2024 13:02:39 -0500 (0:00:00.107) 0:02:11.217 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Monday 25 November 2024 13:02:39 -0500 (0:00:00.109) 0:02:11.326 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Monday 25 November 2024 13:02:39 -0500 (0:00:00.179) 0:02:11.506 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Monday 25 November 2024 13:02:40 -0500 (0:00:00.198) 0:02:11.705 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Monday 25 November 2024 13:02:40 -0500 (0:00:00.173) 0:02:11.879 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Monday 25 November 2024 13:02:40 -0500 (0:00:00.172) 0:02:12.051 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Monday 25 November 2024 13:02:40 -0500 (0:00:00.229) 0:02:12.292 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Monday 25 November 2024 13:02:40 -0500 (0:00:00.133) 0:02:12.426 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Monday 25 November 2024 13:02:40 -0500 (0:00:00.105) 0:02:12.531 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Monday 25 November 2024 13:02:41 -0500 (0:00:00.097) 0:02:12.629 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Monday 25 November 2024 13:02:41 -0500 (0:00:00.087) 0:02:12.716 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Monday 25 November 2024 13:02:41 -0500 (0:00:00.080) 0:02:12.796 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Monday 25 November 2024 13:02:41 -0500 (0:00:00.198) 0:02:12.995 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Monday 25 November 2024 13:02:41 -0500 (0:00:00.183) 0:02:13.178 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Monday 25 November 2024 13:02:41 -0500 (0:00:00.137) 0:02:13.316 ******* changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Monday 25 November 2024 13:02:42 -0500 (0:00:00.574) 0:02:13.891 ******* changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:01:55 EST", "ActiveEnterTimestampMonotonic": "1180769113", "ActiveExitTimestamp": "Mon 2024-11-25 13:01:54 EST", "ActiveExitTimestampMonotonic": "1179472188", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:01:55 EST", "AssertTimestampMonotonic": "1180767786", "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": "Mon 2024-11-25 13:01:55 EST", "ConditionTimestampMonotonic": "1180767784", "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": "1514", "ExecMainStartTimestamp": "Mon 2024-11-25 13:01:55 EST", "ExecMainStartTimestampMonotonic": "1180769039", "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": "Mon 2024-11-25 13:01:55 EST", "InactiveEnterTimestampMonotonic": "1180766087", "InactiveExitTimestamp": "Mon 2024-11-25 13:01:55 EST", "InactiveExitTimestampMonotonic": "1180769113", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1514", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 13:01:55 EST", "WatchdogTimestampMonotonic": "1180769086", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Monday 25 November 2024 13:02:44 -0500 (0:00:01.783) 0:02:15.675 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Monday 25 November 2024 13:02:44 -0500 (0:00:00.141) 0:02:15.816 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Monday 25 November 2024 13:02:44 -0500 (0:00:00.084) 0:02:15.900 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Monday 25 November 2024 13:02:44 -0500 (0:00:00.320) 0:02:16.221 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Monday 25 November 2024 13:02:44 -0500 (0:00:00.175) 0:02:16.397 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Monday 25 November 2024 13:02:45 -0500 (0:00:00.221) 0:02:16.619 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Monday 25 November 2024 13:02:45 -0500 (0:00:00.138) 0:02:16.757 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Monday 25 November 2024 13:02:45 -0500 (0:00:00.124) 0:02:16.881 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Monday 25 November 2024 13:02:45 -0500 (0:00:00.202) 0:02:17.084 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Monday 25 November 2024 13:02:45 -0500 (0:00:00.114) 0:02:17.198 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Monday 25 November 2024 13:02:45 -0500 (0:00:00.140) 0:02:17.339 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Monday 25 November 2024 13:02:45 -0500 (0:00:00.159) 0:02:17.499 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Monday 25 November 2024 13:02:46 -0500 (0:00:00.185) 0:02:17.685 ******* ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:02:43 EST", "ActiveEnterTimestampMonotonic": "1229104836", "ActiveExitTimestamp": "Mon 2024-11-25 13:02:42 EST", "ActiveExitTimestampMonotonic": "1228068087", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:02:43 EST", "AssertTimestampMonotonic": "1229104054", "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": "Mon 2024-11-25 13:02:43 EST", "ConditionTimestampMonotonic": "1229104053", "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": "3777", "ExecMainStartTimestamp": "Mon 2024-11-25 13:02:43 EST", "ExecMainStartTimestampMonotonic": "1229104754", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Mon 2024-11-25 13:02:43 EST] ; stop_time=[n/a] ; pid=3777 ; 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": "Mon 2024-11-25 13:02:43 EST", "InactiveEnterTimestampMonotonic": "1229102374", "InactiveExitTimestamp": "Mon 2024-11-25 13:02:43 EST", "InactiveExitTimestampMonotonic": "1229104836", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3777", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 13:02:43 EST", "WatchdogTimestampMonotonic": "1229104813", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Monday 25 November 2024 13:02:47 -0500 (0:00:01.062) 0:02:18.747 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005339", "end": "2024-11-25 13:02:47.813530", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:02:47.808191" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Monday 25 November 2024 13:02:47 -0500 (0:00:00.827) 0:02:19.574 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003027", "end": "2024-11-25 13:02:48.400139", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:02:48.397112" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Monday 25 November 2024 13:02:48 -0500 (0:00:00.587) 0:02:20.162 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Monday 25 November 2024 13:02:48 -0500 (0:00:00.237) 0:02:20.400 ******* 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": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Monday 25 November 2024 13:02:50 -0500 (0:00:01.451) 0:02:21.852 ******* 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.023840", "end": "2024-11-25 13:02:50.638751", "rc": 0, "start": "2024-11-25 13:02:50.614911" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Monday 25 November 2024 13:02:50 -0500 (0:00:00.614) 0:02:22.466 ******* ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Monday 25 November 2024 13:02:50 -0500 (0:00:00.137) 0:02:22.603 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Monday 25 November 2024 13:02:51 -0500 (0:00:00.173) 0:02:22.777 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Monday 25 November 2024 13:02:51 -0500 (0:00:00.223) 0:02:23.001 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Monday 25 November 2024 13:02:51 -0500 (0:00:00.114) 0:02:23.116 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Monday 25 November 2024 13:02:51 -0500 (0:00:00.159) 0:02:23.275 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Monday 25 November 2024 13:02:51 -0500 (0:00:00.240) 0:02:23.516 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Monday 25 November 2024 13:02:52 -0500 (0:00:00.155) 0:02:23.671 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Monday 25 November 2024 13:02:52 -0500 (0:00:00.109) 0:02:23.781 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:52 -0500 (0:00:00.370) 0:02:24.151 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004136", "end": "2024-11-25 13:02:52.908064", "rc": 0, "start": "2024-11-25 13:02:52.903928" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:53 -0500 (0:00:00.503) 0:02:24.654 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:53 -0500 (0:00:00.135) 0:02:24.789 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:53 -0500 (0:00:00.125) 0:02:24.914 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Monday 25 November 2024 13:02:53 -0500 (0:00:00.127) 0:02:25.042 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:53 -0500 (0:00:00.210) 0:02:25.253 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004184", "end": "2024-11-25 13:02:53.951645", "rc": 0, "start": "2024-11-25 13:02:53.947461" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:54 -0500 (0:00:00.478) 0:02:25.732 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:54 -0500 (0:00:00.163) 0:02:25.895 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:54 -0500 (0:00:00.137) 0:02:26.033 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Monday 25 November 2024 13:02:54 -0500 (0:00:00.159) 0:02:26.192 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:54 -0500 (0:00:00.359) 0:02:26.551 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004514", "end": "2024-11-25 13:02:55.288557", "rc": 0, "start": "2024-11-25 13:02:55.284043" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:55 -0500 (0:00:00.486) 0:02:27.038 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:55 -0500 (0:00:00.140) 0:02:27.178 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:55 -0500 (0:00:00.123) 0:02:27.302 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Monday 25 November 2024 13:02:55 -0500 (0:00:00.119) 0:02:27.421 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:02:56 -0500 (0:00:00.296) 0:02:27.717 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004597", "end": "2024-11-25 13:02:56.668125", "rc": 0, "start": "2024-11-25 13:02:56.663528" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:02:56 -0500 (0:00:00.734) 0:02:28.452 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:02:56 -0500 (0:00:00.119) 0:02:28.572 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:02:57 -0500 (0:00:00.238) 0:02:28.811 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Monday 25 November 2024 13:02:57 -0500 (0:00:00.129) 0:02:28.940 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Monday 25 November 2024 13:02:57 -0500 (0:00:00.124) 0:02:29.065 ******* changed: [managed-node2] => (item=/etc/pki/tls/certs/ansible.yS7cPr) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.yS7cPr", "path": "/etc/pki/tls/certs/ansible.yS7cPr", "state": "absent" } changed: [managed-node2] => (item=/etc/pki/tls/private/ansible.DGH3nX) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.DGH3nX", "path": "/etc/pki/tls/private/ansible.DGH3nX", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Monday 25 November 2024 13:02:58 -0500 (0:00:00.946) 0:02:30.012 ******* ok: [managed-node2] => (item=/tmp/ansible.yS7cPr) => { "ansible_loop_var": "item", "changed": false, "checksum": "e0b0e39953f4024038ed2895603c989c8ee6a15f", "dest": "/tmp/ansible.yS7cPr", "gid": 0, "group": "root", "item": "/tmp/ansible.yS7cPr", "mode": "0600", "owner": "root", "path": "/tmp/ansible.yS7cPr", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [managed-node2] => (item=/tmp/ansible.DGH3nX) => { "ansible_loop_var": "item", "changed": false, "checksum": "e514b48c8e6fa0c301c4a7a15911871cd6f14015", "dest": "/tmp/ansible.DGH3nX", "gid": 0, "group": "root", "item": "/tmp/ansible.DGH3nX", "mode": "0600", "owner": "root", "path": "/tmp/ansible.DGH3nX", "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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Monday 25 November 2024 13:02:59 -0500 (0:00:01.508) 0:02:31.520 ******* ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.yS7cPr", "mssql_tls_private_key": "ansible.DGH3nX" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Monday 25 November 2024 13:02:59 -0500 (0:00:00.083) 0:02:31.604 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Monday 25 November 2024 13:03:01 -0500 (0:00:01.411) 0:02:33.015 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Monday 25 November 2024 13:03:01 -0500 (0:00:00.210) 0:02:33.226 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Monday 25 November 2024 13:03:01 -0500 (0:00:00.158) 0:02:33.384 ******* 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-MPy/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-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Monday 25 November 2024 13:03:01 -0500 (0:00:00.212) 0:02:33.596 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Monday 25 November 2024 13:03:02 -0500 (0:00:00.163) 0:02:33.760 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Monday 25 November 2024 13:03:02 -0500 (0:00:00.125) 0:02:33.885 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Monday 25 November 2024 13:03:02 -0500 (0:00:00.112) 0:02:33.998 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Monday 25 November 2024 13:03:02 -0500 (0:00:00.127) 0:02:34.126 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Monday 25 November 2024 13:03:02 -0500 (0:00:00.205) 0:02:34.332 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Monday 25 November 2024 13:03:02 -0500 (0:00:00.143) 0:02:34.476 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Monday 25 November 2024 13:03:03 -0500 (0:00:00.174) 0:02:34.650 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Monday 25 November 2024 13:03:03 -0500 (0:00:00.140) 0:02:34.790 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Monday 25 November 2024 13:03:03 -0500 (0:00:00.134) 0:02:34.925 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Monday 25 November 2024 13:03:03 -0500 (0:00:00.220) 0:02:35.146 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Monday 25 November 2024 13:03:03 -0500 (0:00:00.138) 0:02:35.284 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Monday 25 November 2024 13:03:03 -0500 (0:00:00.130) 0:02:35.415 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Monday 25 November 2024 13:03:03 -0500 (0:00:00.157) 0:02:35.572 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Monday 25 November 2024 13:03:04 -0500 (0:00:00.108) 0:02:35.681 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Monday 25 November 2024 13:03:04 -0500 (0:00:00.147) 0:02:35.828 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Monday 25 November 2024 13:03:04 -0500 (0:00:00.234) 0:02:36.063 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Monday 25 November 2024 13:03:04 -0500 (0:00:00.176) 0:02:36.239 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Monday 25 November 2024 13:03:04 -0500 (0:00:00.197) 0:02:36.437 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Monday 25 November 2024 13:03:04 -0500 (0:00:00.123) 0:02:36.560 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Monday 25 November 2024 13:03:06 -0500 (0:00:01.614) 0:02:38.175 ******* 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Monday 25 November 2024 13:03:06 -0500 (0:00:00.305) 0:02:38.481 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Monday 25 November 2024 13:03:06 -0500 (0:00:00.118) 0:02:38.599 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Monday 25 November 2024 13:03:07 -0500 (0:00:00.119) 0:02:38.718 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Monday 25 November 2024 13:03:07 -0500 (0:00:00.239) 0:02:38.958 ******* ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Monday 25 November 2024 13:03:08 -0500 (0:00:00.883) 0:02:39.842 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Monday 25 November 2024 13:03:08 -0500 (0:00:00.111) 0:02:39.953 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Monday 25 November 2024 13:03:08 -0500 (0:00:00.144) 0:02:40.097 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Monday 25 November 2024 13:03:08 -0500 (0:00:00.128) 0:02:40.226 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Monday 25 November 2024 13:03:08 -0500 (0:00:00.119) 0:02:40.346 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Monday 25 November 2024 13:03:08 -0500 (0:00:00.112) 0:02:40.459 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Monday 25 November 2024 13:03:08 -0500 (0:00:00.136) 0:02:40.595 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Monday 25 November 2024 13:03:09 -0500 (0:00:00.172) 0:02:40.767 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Monday 25 November 2024 13:03:09 -0500 (0:00:00.117) 0:02:40.885 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Monday 25 November 2024 13:03:10 -0500 (0:00:00.833) 0:02:41.719 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Monday 25 November 2024 13:03:11 -0500 (0:00:01.081) 0:02:42.801 ******* 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.005511", "end": "2024-11-25 13:03:11.490604", "rc": 0, "start": "2024-11-25 13:03:11.485093" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Monday 25 November 2024 13:03:11 -0500 (0:00:00.448) 0:02:43.250 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Monday 25 November 2024 13:03:12 -0500 (0:00:01.224) 0:02:44.474 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Monday 25 November 2024 13:03:13 -0500 (0:00:00.153) 0:02:44.628 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Monday 25 November 2024 13:03:13 -0500 (0:00:00.111) 0:02:44.739 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Monday 25 November 2024 13:03:13 -0500 (0:00:00.115) 0:02:44.854 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Monday 25 November 2024 13:03:13 -0500 (0:00:00.224) 0:02:45.079 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Monday 25 November 2024 13:03:13 -0500 (0:00:00.117) 0:02:45.196 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Monday 25 November 2024 13:03:13 -0500 (0:00:00.134) 0:02:45.331 ******* 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Monday 25 November 2024 13:03:14 -0500 (0:00:00.676) 0:02:46.008 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:42:22 EST", "ActiveEnterTimestampMonotonic": "8127358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:42:22 EST", "AssertTimestampMonotonic": "7373578", "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": "Mon 2024-11-25 12:42:22 EST", "ConditionTimestampMonotonic": "7373577", "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": "849", "ExecMainStartTimestamp": "Mon 2024-11-25 12:42:22 EST", "ExecMainStartTimestampMonotonic": "7374296", "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": "Mon 2024-11-25 12:42:22 EST", "InactiveExitTimestampMonotonic": "7374334", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 12:42:22 EST", "WatchdogTimestampMonotonic": "8127306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Monday 25 November 2024 13:03:15 -0500 (0:00:00.773) 0:02:46.782 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086568", "end": "2024-11-25 13:03:15.688329", "rc": 0, "start": "2024-11-25 13:03:15.601761" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Monday 25 November 2024 13:03:15 -0500 (0:00:00.682) 0:02:47.464 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Monday 25 November 2024 13:03:15 -0500 (0:00:00.126) 0:02:47.590 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Monday 25 November 2024 13:03:16 -0500 (0:00:00.259) 0:02:47.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Monday 25 November 2024 13:03:16 -0500 (0:00:00.119) 0:02:47.968 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Monday 25 November 2024 13:03:16 -0500 (0:00:00.504) 0:02:48.473 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Monday 25 November 2024 13:03:16 -0500 (0:00:00.107) 0:02:48.580 ******* 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Monday 25 November 2024 13:03:17 -0500 (0:00:00.839) 0:02:49.420 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Monday 25 November 2024 13:03:17 -0500 (0:00:00.161) 0:02:49.581 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Monday 25 November 2024 13:03:18 -0500 (0:00:00.169) 0:02:49.751 ******* changed: [managed-node2] => (item=/tmp/ansible.yS7cPr) => { "ansible_loop_var": "item", "changed": true, "checksum": "e0b0e39953f4024038ed2895603c989c8ee6a15f", "dest": "/etc/pki/tls/certs/ansible.yS7cPr", "gid": 994, "group": "mssql", "item": "/tmp/ansible.yS7cPr", "md5sum": "6ca989d8edc0c5f84bf638fc333d73b6", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.yS7cPr", "state": "file", "uid": 996 } changed: [managed-node2] => (item=/tmp/ansible.DGH3nX) => { "ansible_loop_var": "item", "changed": true, "checksum": "e514b48c8e6fa0c301c4a7a15911871cd6f14015", "dest": "/etc/pki/tls/private/ansible.DGH3nX", "gid": 994, "group": "mssql", "item": "/tmp/ansible.DGH3nX", "md5sum": "6cb46f1630dac40b77c76203f23f8c8a", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.DGH3nX", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Monday 25 November 2024 13:03:19 -0500 (0:00:01.075) 0:02:50.826 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:03:19 -0500 (0:00:00.157) 0:02:50.984 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003323", "end": "2024-11-25 13:03:19.730230", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:03:19.726907" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:03:19 -0500 (0:00:00.517) 0:02:51.501 ******* 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.yS7cPr" ], "delta": "0:00:00.123792", "end": "2024-11-25 13:03:20.378803", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:03:20.255011" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:03:20 -0500 (0:00:00.689) 0:02:52.191 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Monday 25 November 2024 13:03:20 -0500 (0:00:00.145) 0:02:52.337 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:03:20 -0500 (0:00:00.216) 0:02:52.553 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003148", "end": "2024-11-25 13:03:21.258915", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:03:21.255767" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:03:21 -0500 (0:00:00.590) 0:02:53.143 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.DGH3nX" ], "delta": "0:00:00.118603", "end": "2024-11-25 13:03:22.177113", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:03:22.058510" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:03:22 -0500 (0:00:00.769) 0:02:53.912 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Monday 25 November 2024 13:03:22 -0500 (0:00:00.124) 0:02:54.037 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:03:22 -0500 (0:00:00.286) 0:02:54.323 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003204", "end": "2024-11-25 13:03:23.043027", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:03:23.039823" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:03:23 -0500 (0:00:00.550) 0:02:54.874 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.117596", "end": "2024-11-25 13:03:23.765356", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:03:23.647760" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:03:23 -0500 (0:00:00.644) 0:02:55.519 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Monday 25 November 2024 13:03:24 -0500 (0:00:00.095) 0:02:55.614 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:03:24 -0500 (0:00:00.215) 0:02:55.829 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003882", "end": "2024-11-25 13:03:24.480303", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:03:24.476421" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:03:24 -0500 (0:00:00.396) 0:02:56.226 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.118676", "end": "2024-11-25 13:03:25.006178", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:03:24.887502" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:03:25 -0500 (0:00:00.517) 0:02:56.744 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Monday 25 November 2024 13:03:25 -0500 (0:00:00.115) 0:02:56.859 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004830", "end": "2024-11-25 13:03:25.537573", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:03:25.532743" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Monday 25 November 2024 13:03:25 -0500 (0:00:00.545) 0:02:57.405 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Monday 25 November 2024 13:03:25 -0500 (0:00:00.098) 0:02:57.504 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Monday 25 November 2024 13:03:26 -0500 (0:00:00.106) 0:02:57.611 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Monday 25 November 2024 13:03:26 -0500 (0:00:00.080) 0:02:57.691 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Monday 25 November 2024 13:03:26 -0500 (0:00:00.076) 0:02:57.768 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Monday 25 November 2024 13:03:26 -0500 (0:00:00.072) 0:02:57.841 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Monday 25 November 2024 13:03:26 -0500 (0:00:00.075) 0:02:57.917 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Monday 25 November 2024 13:03:26 -0500 (0:00:00.077) 0:02:57.994 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Monday 25 November 2024 13:03:26 -0500 (0:00:00.126) 0:02:58.121 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Monday 25 November 2024 13:03:26 -0500 (0:00:00.147) 0:02:58.269 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Monday 25 November 2024 13:03:26 -0500 (0:00:00.107) 0:02:58.376 ******* 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.004876", "end": "2024-11-25 13:03:27.055652", "rc": 0, "start": "2024-11-25 13:03:27.050776" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Monday 25 November 2024 13:03:27 -0500 (0:00:00.425) 0:02:58.802 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Monday 25 November 2024 13:03:27 -0500 (0:00:00.117) 0:02:58.919 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Monday 25 November 2024 13:03:28 -0500 (0:00:01.583) 0:03:00.503 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Monday 25 November 2024 13:03:29 -0500 (0:00:00.124) 0:03:00.627 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Monday 25 November 2024 13:03:29 -0500 (0:00:00.116) 0:03:00.744 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Monday 25 November 2024 13:03:29 -0500 (0:00:00.109) 0:03:00.853 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Monday 25 November 2024 13:03:29 -0500 (0:00:00.114) 0:03:00.968 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:03:29 -0500 (0:00:00.159) 0:03:01.127 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003885", "end": "2024-11-25 13:03:29.766763", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:03:29.762878" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:03:29 -0500 (0:00:00.356) 0:03:01.484 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120741", "end": "2024-11-25 13:03:30.255746", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:03:30.135005" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:03:30 -0500 (0:00:00.512) 0:03:01.996 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Monday 25 November 2024 13:03:30 -0500 (0:00:00.101) 0:03:02.098 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Monday 25 November 2024 13:03:30 -0500 (0:00:00.113) 0:03:02.211 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Monday 25 November 2024 13:03:30 -0500 (0:00:00.112) 0:03:02.324 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Monday 25 November 2024 13:03:30 -0500 (0:00:00.113) 0:03:02.437 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Monday 25 November 2024 13:03:30 -0500 (0:00:00.144) 0:03:02.582 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Monday 25 November 2024 13:03:31 -0500 (0:00:00.089) 0:03:02.672 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Monday 25 November 2024 13:03:31 -0500 (0:00:00.172) 0:03:02.844 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Monday 25 November 2024 13:03:31 -0500 (0:00:00.081) 0:03:02.926 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Monday 25 November 2024 13:03:31 -0500 (0:00:00.113) 0:03:03.039 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Monday 25 November 2024 13:03:31 -0500 (0:00:00.116) 0:03:03.156 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Monday 25 November 2024 13:03:31 -0500 (0:00:00.118) 0:03:03.275 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Monday 25 November 2024 13:03:31 -0500 (0:00:00.117) 0:03:03.393 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Monday 25 November 2024 13:03:31 -0500 (0:00:00.101) 0:03:03.495 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Monday 25 November 2024 13:03:31 -0500 (0:00:00.106) 0:03:03.601 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Monday 25 November 2024 13:03:32 -0500 (0:00:00.084) 0:03:03.685 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Monday 25 November 2024 13:03:32 -0500 (0:00:00.076) 0:03:03.762 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Monday 25 November 2024 13:03:32 -0500 (0:00:00.106) 0:03:03.869 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Monday 25 November 2024 13:03:32 -0500 (0:00:00.118) 0:03:03.988 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Monday 25 November 2024 13:03:32 -0500 (0:00:00.124) 0:03:04.113 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Monday 25 November 2024 13:03:32 -0500 (0:00:00.168) 0:03:04.282 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Monday 25 November 2024 13:03:32 -0500 (0:00:00.113) 0:03:04.395 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Monday 25 November 2024 13:03:32 -0500 (0:00:00.165) 0:03:04.560 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Monday 25 November 2024 13:03:33 -0500 (0:00:00.278) 0:03:04.838 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Monday 25 November 2024 13:03:33 -0500 (0:00:00.152) 0:03:04.991 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Monday 25 November 2024 13:03:33 -0500 (0:00:00.150) 0:03:05.141 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Monday 25 November 2024 13:03:33 -0500 (0:00:00.230) 0:03:05.372 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Monday 25 November 2024 13:03:33 -0500 (0:00:00.115) 0:03:05.487 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Monday 25 November 2024 13:03:34 -0500 (0:00:00.138) 0:03:05.626 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Monday 25 November 2024 13:03:34 -0500 (0:00:00.229) 0:03:05.855 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Monday 25 November 2024 13:03:34 -0500 (0:00:00.176) 0:03:06.032 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Monday 25 November 2024 13:03:34 -0500 (0:00:00.133) 0:03:06.166 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Monday 25 November 2024 13:03:34 -0500 (0:00:00.113) 0:03:06.279 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Monday 25 November 2024 13:03:34 -0500 (0:00:00.136) 0:03:06.416 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Monday 25 November 2024 13:03:34 -0500 (0:00:00.147) 0:03:06.564 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Monday 25 November 2024 13:03:35 -0500 (0:00:00.165) 0:03:06.730 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Monday 25 November 2024 13:03:35 -0500 (0:00:00.219) 0:03:06.949 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Monday 25 November 2024 13:03:35 -0500 (0:00:00.243) 0:03:07.193 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Monday 25 November 2024 13:03:35 -0500 (0:00:00.236) 0:03:07.429 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Monday 25 November 2024 13:03:36 -0500 (0:00:00.206) 0:03:07.636 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Monday 25 November 2024 13:03:36 -0500 (0:00:00.111) 0:03:07.748 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Monday 25 November 2024 13:03:36 -0500 (0:00:00.138) 0:03:07.886 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Monday 25 November 2024 13:03:36 -0500 (0:00:00.128) 0:03:08.015 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Monday 25 November 2024 13:03:36 -0500 (0:00:00.198) 0:03:08.214 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Monday 25 November 2024 13:03:36 -0500 (0:00:00.211) 0:03:08.425 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Monday 25 November 2024 13:03:37 -0500 (0:00:00.215) 0:03:08.640 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Monday 25 November 2024 13:03:37 -0500 (0:00:00.448) 0:03:09.089 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Monday 25 November 2024 13:03:37 -0500 (0:00:00.145) 0:03:09.234 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Monday 25 November 2024 13:03:37 -0500 (0:00:00.107) 0:03:09.342 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Monday 25 November 2024 13:03:37 -0500 (0:00:00.123) 0:03:09.465 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Monday 25 November 2024 13:03:37 -0500 (0:00:00.110) 0:03:09.576 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Monday 25 November 2024 13:03:38 -0500 (0:00:00.114) 0:03:09.690 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Monday 25 November 2024 13:03:38 -0500 (0:00:00.111) 0:03:09.802 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Monday 25 November 2024 13:03:38 -0500 (0:00:00.115) 0:03:09.917 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Monday 25 November 2024 13:03:38 -0500 (0:00:00.173) 0:03:10.091 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Monday 25 November 2024 13:03:38 -0500 (0:00:00.129) 0:03:10.221 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Monday 25 November 2024 13:03:38 -0500 (0:00:00.212) 0:03:10.434 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Monday 25 November 2024 13:03:39 -0500 (0:00:00.201) 0:03:10.636 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Monday 25 November 2024 13:03:39 -0500 (0:00:00.209) 0:03:10.845 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Monday 25 November 2024 13:03:39 -0500 (0:00:00.203) 0:03:11.048 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Monday 25 November 2024 13:03:39 -0500 (0:00:00.221) 0:03:11.269 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Monday 25 November 2024 13:03:39 -0500 (0:00:00.229) 0:03:11.498 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Monday 25 November 2024 13:03:40 -0500 (0:00:00.136) 0:03:11.635 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Monday 25 November 2024 13:03:40 -0500 (0:00:00.229) 0:03:11.865 ******* changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Monday 25 November 2024 13:03:41 -0500 (0:00:01.110) 0:03:12.975 ******* changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:02:43 EST", "ActiveEnterTimestampMonotonic": "1229104836", "ActiveExitTimestamp": "Mon 2024-11-25 13:02:42 EST", "ActiveExitTimestampMonotonic": "1228068087", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:02:43 EST", "AssertTimestampMonotonic": "1229104054", "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": "Mon 2024-11-25 13:02:43 EST", "ConditionTimestampMonotonic": "1229104053", "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": "3777", "ExecMainStartTimestamp": "Mon 2024-11-25 13:02:43 EST", "ExecMainStartTimestampMonotonic": "1229104754", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Mon 2024-11-25 13:02:43 EST] ; stop_time=[n/a] ; pid=3777 ; 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": "Mon 2024-11-25 13:02:43 EST", "InactiveEnterTimestampMonotonic": "1229102374", "InactiveExitTimestamp": "Mon 2024-11-25 13:02:43 EST", "InactiveExitTimestampMonotonic": "1229104836", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "3777", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 13:02:43 EST", "WatchdogTimestampMonotonic": "1229104813", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Monday 25 November 2024 13:03:42 -0500 (0:00:01.299) 0:03:14.275 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Monday 25 November 2024 13:03:42 -0500 (0:00:00.109) 0:03:14.384 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Monday 25 November 2024 13:03:42 -0500 (0:00:00.113) 0:03:14.498 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Monday 25 November 2024 13:03:43 -0500 (0:00:00.916) 0:03:15.414 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Monday 25 November 2024 13:03:43 -0500 (0:00:00.163) 0:03:15.577 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Monday 25 November 2024 13:03:44 -0500 (0:00:00.180) 0:03:15.757 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Monday 25 November 2024 13:03:44 -0500 (0:00:00.204) 0:03:15.962 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Monday 25 November 2024 13:03:44 -0500 (0:00:00.147) 0:03:16.110 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Monday 25 November 2024 13:03:44 -0500 (0:00:00.202) 0:03:16.313 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Monday 25 November 2024 13:03:44 -0500 (0:00:00.236) 0:03:16.549 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Monday 25 November 2024 13:03:45 -0500 (0:00:00.135) 0:03:16.685 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Monday 25 November 2024 13:03:45 -0500 (0:00:00.134) 0:03:16.820 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Monday 25 November 2024 13:03:45 -0500 (0:00:00.314) 0:03:17.134 ******* ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:03:42 EST", "ActiveEnterTimestampMonotonic": "1287671968", "ActiveExitTimestamp": "Mon 2024-11-25 13:03:42 EST", "ActiveExitTimestampMonotonic": "1287417636", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:03:42 EST", "AssertTimestampMonotonic": "1287671311", "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": "Mon 2024-11-25 13:03:42 EST", "ConditionTimestampMonotonic": "1287671310", "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": "6215", "ExecMainStartTimestamp": "Mon 2024-11-25 13:03:42 EST", "ExecMainStartTimestampMonotonic": "1287671901", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Mon 2024-11-25 13:03:42 EST] ; stop_time=[n/a] ; pid=6215 ; 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": "Mon 2024-11-25 13:03:42 EST", "InactiveEnterTimestampMonotonic": "1287669855", "InactiveExitTimestamp": "Mon 2024-11-25 13:03:42 EST", "InactiveExitTimestampMonotonic": "1287671968", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "6215", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 13:03:42 EST", "WatchdogTimestampMonotonic": "1287671948", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Monday 25 November 2024 13:03:46 -0500 (0:00:01.120) 0:03:18.255 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003030", "end": "2024-11-25 13:03:46.953276", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:03:46.950246" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Monday 25 November 2024 13:03:47 -0500 (0:00:00.446) 0:03:18.702 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003084", "end": "2024-11-25 13:03:47.397424", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:03:47.394340" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Monday 25 November 2024 13:03:47 -0500 (0:00:00.515) 0:03:19.217 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Monday 25 November 2024 13:03:47 -0500 (0:00:00.181) 0:03:19.399 ******* 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": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Monday 25 November 2024 13:03:49 -0500 (0:00:01.452) 0:03:20.852 ******* 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.023786", "end": "2024-11-25 13:03:49.547181", "rc": 0, "start": "2024-11-25 13:03:49.523395" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Monday 25 November 2024 13:03:49 -0500 (0:00:00.441) 0:03:21.294 ******* ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Monday 25 November 2024 13:03:49 -0500 (0:00:00.135) 0:03:21.429 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Monday 25 November 2024 13:03:49 -0500 (0:00:00.114) 0:03:21.544 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Monday 25 November 2024 13:03:50 -0500 (0:00:00.112) 0:03:21.656 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Monday 25 November 2024 13:03:50 -0500 (0:00:00.118) 0:03:21.774 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Monday 25 November 2024 13:03:50 -0500 (0:00:00.127) 0:03:21.902 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Monday 25 November 2024 13:03:50 -0500 (0:00:00.207) 0:03:22.109 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Monday 25 November 2024 13:03:50 -0500 (0:00:00.222) 0:03:22.332 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Monday 25 November 2024 13:03:50 -0500 (0:00:00.095) 0:03:22.427 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:03:50 -0500 (0:00:00.147) 0:03:22.575 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004191", "end": "2024-11-25 13:03:51.295836", "rc": 0, "start": "2024-11-25 13:03:51.291645" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.yS7cPr TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:03:51 -0500 (0:00:00.473) 0:03:23.048 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:03:51 -0500 (0:00:00.131) 0:03:23.180 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.yS7cPr] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:03:51 -0500 (0:00:00.114) 0:03:23.294 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Monday 25 November 2024 13:03:51 -0500 (0:00:00.130) 0:03:23.425 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:03:52 -0500 (0:00:00.252) 0:03:23.677 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004733", "end": "2024-11-25 13:03:52.365459", "rc": 0, "start": "2024-11-25 13:03:52.360726" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DGH3nX TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:03:52 -0500 (0:00:00.403) 0:03:24.081 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:03:52 -0500 (0:00:00.162) 0:03:24.244 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.DGH3nX] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:03:52 -0500 (0:00:00.122) 0:03:24.366 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Monday 25 November 2024 13:03:52 -0500 (0:00:00.094) 0:03:24.461 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:03:53 -0500 (0:00:00.151) 0:03:24.612 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004898", "end": "2024-11-25 13:03:53.295873", "rc": 0, "start": "2024-11-25 13:03:53.290975" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:03:53 -0500 (0:00:00.454) 0:03:25.067 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:03:53 -0500 (0:00:00.281) 0:03:25.348 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:03:53 -0500 (0:00:00.080) 0:03:25.428 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Monday 25 November 2024 13:03:53 -0500 (0:00:00.103) 0:03:25.532 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:03:54 -0500 (0:00:00.270) 0:03:25.803 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004198", "end": "2024-11-25 13:03:54.551459", "rc": 0, "start": "2024-11-25 13:03:54.547261" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:03:54 -0500 (0:00:00.496) 0:03:26.300 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:03:54 -0500 (0:00:00.215) 0:03:26.515 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:03:55 -0500 (0:00:00.251) 0:03:26.767 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Monday 25 November 2024 13:03:55 -0500 (0:00:00.178) 0:03:26.946 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Monday 25 November 2024 13:03:55 -0500 (0:00:00.110) 0:03:27.056 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Monday 25 November 2024 13:03:56 -0500 (0:00:00.781) 0:03:27.838 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003388", "end": "2024-11-25 13:03:56.967539", "rc": 0, "start": "2024-11-25 13:03:56.964151" } 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.yS7cPr tlskey = /etc/pki/tls/private/ansible.DGH3nX tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Monday 25 November 2024 13:03:57 -0500 (0:00:00.883) 0:03:28.721 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Monday 25 November 2024 13:03:58 -0500 (0:00:01.417) 0:03:30.138 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Monday 25 November 2024 13:03:58 -0500 (0:00:00.186) 0:03:30.325 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Monday 25 November 2024 13:03:58 -0500 (0:00:00.173) 0:03:30.498 ******* 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-MPy/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-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Monday 25 November 2024 13:03:59 -0500 (0:00:00.217) 0:03:30.715 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Monday 25 November 2024 13:03:59 -0500 (0:00:00.121) 0:03:30.837 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Monday 25 November 2024 13:03:59 -0500 (0:00:00.157) 0:03:30.994 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Monday 25 November 2024 13:03:59 -0500 (0:00:00.143) 0:03:31.137 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Monday 25 November 2024 13:03:59 -0500 (0:00:00.113) 0:03:31.251 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Monday 25 November 2024 13:03:59 -0500 (0:00:00.116) 0:03:31.367 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Monday 25 November 2024 13:03:59 -0500 (0:00:00.123) 0:03:31.491 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Monday 25 November 2024 13:04:00 -0500 (0:00:00.260) 0:03:31.751 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Monday 25 November 2024 13:04:00 -0500 (0:00:00.128) 0:03:31.879 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Monday 25 November 2024 13:04:00 -0500 (0:00:00.124) 0:03:32.004 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Monday 25 November 2024 13:04:00 -0500 (0:00:00.190) 0:03:32.195 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Monday 25 November 2024 13:04:00 -0500 (0:00:00.244) 0:03:32.440 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Monday 25 November 2024 13:04:01 -0500 (0:00:00.248) 0:03:32.688 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Monday 25 November 2024 13:04:01 -0500 (0:00:00.202) 0:03:32.891 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Monday 25 November 2024 13:04:01 -0500 (0:00:00.196) 0:03:33.087 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Monday 25 November 2024 13:04:01 -0500 (0:00:00.207) 0:03:33.295 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Monday 25 November 2024 13:04:01 -0500 (0:00:00.168) 0:03:33.463 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Monday 25 November 2024 13:04:02 -0500 (0:00:00.172) 0:03:33.635 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Monday 25 November 2024 13:04:02 -0500 (0:00:00.136) 0:03:33.772 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Monday 25 November 2024 13:04:02 -0500 (0:00:00.129) 0:03:33.902 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Monday 25 November 2024 13:04:03 -0500 (0:00:01.700) 0:03:35.602 ******* 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Monday 25 November 2024 13:04:04 -0500 (0:00:00.699) 0:03:36.301 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Monday 25 November 2024 13:04:04 -0500 (0:00:00.120) 0:03:36.422 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Monday 25 November 2024 13:04:04 -0500 (0:00:00.141) 0:03:36.564 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Monday 25 November 2024 13:04:05 -0500 (0:00:00.274) 0:03:36.838 ******* ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Monday 25 November 2024 13:04:05 -0500 (0:00:00.728) 0:03:37.567 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Monday 25 November 2024 13:04:06 -0500 (0:00:00.074) 0:03:37.641 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Monday 25 November 2024 13:04:06 -0500 (0:00:00.075) 0:03:37.717 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Monday 25 November 2024 13:04:06 -0500 (0:00:00.077) 0:03:37.795 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Monday 25 November 2024 13:04:06 -0500 (0:00:00.072) 0:03:37.867 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Monday 25 November 2024 13:04:06 -0500 (0:00:00.076) 0:03:37.944 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Monday 25 November 2024 13:04:06 -0500 (0:00:00.073) 0:03:38.018 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Monday 25 November 2024 13:04:06 -0500 (0:00:00.101) 0:03:38.120 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Monday 25 November 2024 13:04:06 -0500 (0:00:00.072) 0:03:38.193 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Monday 25 November 2024 13:04:07 -0500 (0:00:00.810) 0:03:39.003 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Monday 25 November 2024 13:04:08 -0500 (0:00:00.703) 0:03:39.707 ******* 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.005214", "end": "2024-11-25 13:04:08.419209", "rc": 0, "start": "2024-11-25 13:04:08.413995" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Monday 25 November 2024 13:04:08 -0500 (0:00:00.563) 0:03:40.271 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Monday 25 November 2024 13:04:09 -0500 (0:00:01.046) 0:03:41.318 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Monday 25 November 2024 13:04:09 -0500 (0:00:00.171) 0:03:41.489 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Monday 25 November 2024 13:04:09 -0500 (0:00:00.082) 0:03:41.572 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Monday 25 November 2024 13:04:10 -0500 (0:00:00.076) 0:03:41.648 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Monday 25 November 2024 13:04:10 -0500 (0:00:00.086) 0:03:41.735 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Monday 25 November 2024 13:04:10 -0500 (0:00:00.087) 0:03:41.822 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Monday 25 November 2024 13:04:10 -0500 (0:00:00.114) 0:03:41.937 ******* 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Monday 25 November 2024 13:04:10 -0500 (0:00:00.623) 0:03:42.561 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:42:22 EST", "ActiveEnterTimestampMonotonic": "8127358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:42:22 EST", "AssertTimestampMonotonic": "7373578", "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": "Mon 2024-11-25 12:42:22 EST", "ConditionTimestampMonotonic": "7373577", "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": "849", "ExecMainStartTimestamp": "Mon 2024-11-25 12:42:22 EST", "ExecMainStartTimestampMonotonic": "7374296", "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": "Mon 2024-11-25 12:42:22 EST", "InactiveExitTimestampMonotonic": "7374334", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 12:42:22 EST", "WatchdogTimestampMonotonic": "8127306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Monday 25 November 2024 13:04:11 -0500 (0:00:00.500) 0:03:43.062 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087479", "end": "2024-11-25 13:04:11.812887", "rc": 0, "start": "2024-11-25 13:04:11.725408" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Monday 25 November 2024 13:04:11 -0500 (0:00:00.467) 0:03:43.530 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Monday 25 November 2024 13:04:11 -0500 (0:00:00.075) 0:03:43.605 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Monday 25 November 2024 13:04:12 -0500 (0:00:00.165) 0:03:43.770 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Monday 25 November 2024 13:04:12 -0500 (0:00:00.089) 0:03:43.859 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Monday 25 November 2024 13:04:12 -0500 (0:00:00.493) 0:03:44.353 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Monday 25 November 2024 13:04:12 -0500 (0:00:00.115) 0:03:44.468 ******* 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Monday 25 November 2024 13:04:13 -0500 (0:00:00.656) 0:03:45.124 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Monday 25 November 2024 13:04:13 -0500 (0:00:00.075) 0:03:45.200 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Monday 25 November 2024 13:04:13 -0500 (0:00:00.074) 0:03:45.274 ******* skipping: [managed-node2] => (item=/tmp/ansible.yS7cPr) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.yS7cPr", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.DGH3nX) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.DGH3nX", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Monday 25 November 2024 13:04:13 -0500 (0:00:00.123) 0:03:45.398 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:04:13 -0500 (0:00:00.190) 0:03:45.589 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003091", "end": "2024-11-25 13:04:14.261966", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:14.258875" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.yS7cPr TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:04:14 -0500 (0:00:00.417) 0:03:46.006 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:04:14 -0500 (0:00:00.109) 0:03:46.116 ******* 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.116546", "end": "2024-11-25 13:04:14.891412", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:14.774866" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Monday 25 November 2024 13:04:15 -0500 (0:00:00.531) 0:03:46.648 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:04:15 -0500 (0:00:00.233) 0:03:46.881 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003176", "end": "2024-11-25 13:04:15.545202", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:15.542026" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DGH3nX TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:04:15 -0500 (0:00:00.438) 0:03:47.319 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:04:15 -0500 (0:00:00.135) 0:03:47.455 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.117330", "end": "2024-11-25 13:04:16.278453", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:16.161123" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Monday 25 November 2024 13:04:16 -0500 (0:00:00.534) 0:03:47.989 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:04:16 -0500 (0:00:00.163) 0:03:48.153 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003296", "end": "2024-11-25 13:04:17.000590", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:16.997294" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:04:17 -0500 (0:00:00.616) 0:03:48.769 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:04:17 -0500 (0:00:00.161) 0:03:48.930 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.119609", "end": "2024-11-25 13:04:17.848516", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:17.728907" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Monday 25 November 2024 13:04:17 -0500 (0:00:00.670) 0:03:49.601 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:04:18 -0500 (0:00:00.238) 0:03:49.839 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003312", "end": "2024-11-25 13:04:18.600844", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:18.597532" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:04:18 -0500 (0:00:00.513) 0:03:50.352 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:04:18 -0500 (0:00:00.121) 0:03:50.474 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.118874", "end": "2024-11-25 13:04:19.292842", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:19.173968" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Monday 25 November 2024 13:04:19 -0500 (0:00:00.753) 0:03:51.228 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005231", "end": "2024-11-25 13:04:20.131392", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:04:20.126161" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Monday 25 November 2024 13:04:20 -0500 (0:00:00.857) 0:03:52.085 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Monday 25 November 2024 13:04:20 -0500 (0:00:00.127) 0:03:52.212 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Monday 25 November 2024 13:04:20 -0500 (0:00:00.092) 0:03:52.304 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Monday 25 November 2024 13:04:20 -0500 (0:00:00.076) 0:03:52.381 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Monday 25 November 2024 13:04:20 -0500 (0:00:00.109) 0:03:52.492 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Monday 25 November 2024 13:04:20 -0500 (0:00:00.109) 0:03:52.601 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Monday 25 November 2024 13:04:21 -0500 (0:00:00.088) 0:03:52.690 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Monday 25 November 2024 13:04:21 -0500 (0:00:00.094) 0:03:52.784 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Monday 25 November 2024 13:04:21 -0500 (0:00:00.072) 0:03:52.856 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Monday 25 November 2024 13:04:21 -0500 (0:00:00.071) 0:03:52.928 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Monday 25 November 2024 13:04:21 -0500 (0:00:00.074) 0:03:53.002 ******* 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.005464", "end": "2024-11-25 13:04:21.697169", "rc": 0, "start": "2024-11-25 13:04:21.691705" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Monday 25 November 2024 13:04:21 -0500 (0:00:00.435) 0:03:53.438 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Monday 25 November 2024 13:04:21 -0500 (0:00:00.109) 0:03:53.547 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Monday 25 November 2024 13:04:23 -0500 (0:00:01.684) 0:03:55.232 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Monday 25 November 2024 13:04:23 -0500 (0:00:00.122) 0:03:55.355 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Monday 25 November 2024 13:04:23 -0500 (0:00:00.104) 0:03:55.460 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Monday 25 November 2024 13:04:23 -0500 (0:00:00.110) 0:03:55.570 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Monday 25 November 2024 13:04:24 -0500 (0:00:00.114) 0:03:55.685 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:04:24 -0500 (0:00:00.195) 0:03:55.881 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003061", "end": "2024-11-25 13:04:24.559849", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:04:24.556788" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:04:24 -0500 (0:00:00.435) 0:03:56.317 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.119656", "end": "2024-11-25 13:04:25.132672", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:04:25.013016" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:04:25 -0500 (0:00:00.574) 0:03:56.891 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Monday 25 November 2024 13:04:25 -0500 (0:00:00.114) 0:03:57.006 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Monday 25 November 2024 13:04:25 -0500 (0:00:00.115) 0:03:57.122 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Monday 25 November 2024 13:04:25 -0500 (0:00:00.117) 0:03:57.239 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Monday 25 November 2024 13:04:25 -0500 (0:00:00.134) 0:03:57.374 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Monday 25 November 2024 13:04:25 -0500 (0:00:00.126) 0:03:57.500 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Monday 25 November 2024 13:04:26 -0500 (0:00:00.111) 0:03:57.612 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Monday 25 November 2024 13:04:26 -0500 (0:00:00.103) 0:03:57.715 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Monday 25 November 2024 13:04:26 -0500 (0:00:00.244) 0:03:57.960 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Monday 25 November 2024 13:04:26 -0500 (0:00:00.113) 0:03:58.074 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Monday 25 November 2024 13:04:26 -0500 (0:00:00.116) 0:03:58.190 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Monday 25 November 2024 13:04:26 -0500 (0:00:00.118) 0:03:58.309 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Monday 25 November 2024 13:04:26 -0500 (0:00:00.132) 0:03:58.441 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Monday 25 November 2024 13:04:26 -0500 (0:00:00.135) 0:03:58.577 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Monday 25 November 2024 13:04:27 -0500 (0:00:00.120) 0:03:58.698 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Monday 25 November 2024 13:04:27 -0500 (0:00:00.150) 0:03:58.849 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Monday 25 November 2024 13:04:27 -0500 (0:00:00.169) 0:03:59.019 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Monday 25 November 2024 13:04:27 -0500 (0:00:00.132) 0:03:59.152 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Monday 25 November 2024 13:04:27 -0500 (0:00:00.191) 0:03:59.343 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Monday 25 November 2024 13:04:27 -0500 (0:00:00.147) 0:03:59.490 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Monday 25 November 2024 13:04:28 -0500 (0:00:00.168) 0:03:59.659 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Monday 25 November 2024 13:04:28 -0500 (0:00:00.119) 0:03:59.778 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Monday 25 November 2024 13:04:28 -0500 (0:00:00.127) 0:03:59.906 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Monday 25 November 2024 13:04:28 -0500 (0:00:00.118) 0:04:00.024 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Monday 25 November 2024 13:04:28 -0500 (0:00:00.128) 0:04:00.152 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Monday 25 November 2024 13:04:28 -0500 (0:00:00.126) 0:04:00.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 correct permissions and ownership on the keytab] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Monday 25 November 2024 13:04:28 -0500 (0:00:00.131) 0:04:00.410 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Monday 25 November 2024 13:04:28 -0500 (0:00:00.122) 0:04:00.533 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Monday 25 November 2024 13:04:29 -0500 (0:00:00.276) 0:04:00.809 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Monday 25 November 2024 13:04:29 -0500 (0:00:00.145) 0:04:00.955 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Monday 25 November 2024 13:04:29 -0500 (0:00:00.170) 0:04:01.126 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Monday 25 November 2024 13:04:29 -0500 (0:00:00.117) 0:04:01.244 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Monday 25 November 2024 13:04:29 -0500 (0:00:00.110) 0:04:01.354 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Monday 25 November 2024 13:04:29 -0500 (0:00:00.115) 0:04:01.470 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Monday 25 November 2024 13:04:30 -0500 (0:00:00.138) 0:04:01.609 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Monday 25 November 2024 13:04:30 -0500 (0:00:00.151) 0:04:01.760 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Monday 25 November 2024 13:04:30 -0500 (0:00:00.127) 0:04:01.888 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Monday 25 November 2024 13:04:30 -0500 (0:00:00.109) 0:04:01.997 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Monday 25 November 2024 13:04:30 -0500 (0:00:00.138) 0:04:02.135 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Monday 25 November 2024 13:04:30 -0500 (0:00:00.126) 0:04:02.262 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Monday 25 November 2024 13:04:30 -0500 (0:00:00.096) 0:04:02.358 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Monday 25 November 2024 13:04:30 -0500 (0:00:00.156) 0:04:02.514 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Monday 25 November 2024 13:04:31 -0500 (0:00:00.103) 0:04:02.618 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Monday 25 November 2024 13:04:31 -0500 (0:00:00.086) 0:04:02.704 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Monday 25 November 2024 13:04:31 -0500 (0:00:00.094) 0:04:02.799 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Monday 25 November 2024 13:04:31 -0500 (0:00:00.074) 0:04:02.874 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Monday 25 November 2024 13:04:31 -0500 (0:00:00.070) 0:04:02.945 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Monday 25 November 2024 13:04:31 -0500 (0:00:00.391) 0:04:03.337 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Monday 25 November 2024 13:04:31 -0500 (0:00:00.229) 0:04:03.566 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Monday 25 November 2024 13:04:32 -0500 (0:00:00.200) 0:04:03.767 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Monday 25 November 2024 13:04:32 -0500 (0:00:00.155) 0:04:03.923 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Monday 25 November 2024 13:04:32 -0500 (0:00:00.121) 0:04:04.044 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Monday 25 November 2024 13:04:32 -0500 (0:00:00.120) 0:04:04.165 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Monday 25 November 2024 13:04:32 -0500 (0:00:00.124) 0:04:04.290 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Monday 25 November 2024 13:04:32 -0500 (0:00:00.144) 0:04:04.434 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Monday 25 November 2024 13:04:32 -0500 (0:00:00.157) 0:04:04.592 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Monday 25 November 2024 13:04:33 -0500 (0:00:00.148) 0:04:04.741 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Monday 25 November 2024 13:04:33 -0500 (0:00:00.131) 0:04:04.900 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Monday 25 November 2024 13:04:33 -0500 (0:00:00.143) 0:04:05.043 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Monday 25 November 2024 13:04:33 -0500 (0:00:00.125) 0:04:05.169 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Monday 25 November 2024 13:04:33 -0500 (0:00:00.140) 0:04:05.309 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Monday 25 November 2024 13:04:33 -0500 (0:00:00.233) 0:04:05.543 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Monday 25 November 2024 13:04:34 -0500 (0:00:00.154) 0:04:05.697 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Monday 25 November 2024 13:04:34 -0500 (0:00:00.113) 0:04:05.811 ******* changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Monday 25 November 2024 13:04:34 -0500 (0:00:00.790) 0:04:06.602 ******* changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:03:42 EST", "ActiveEnterTimestampMonotonic": "1287671968", "ActiveExitTimestamp": "Mon 2024-11-25 13:03:42 EST", "ActiveExitTimestampMonotonic": "1287417636", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:03:42 EST", "AssertTimestampMonotonic": "1287671311", "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": "Mon 2024-11-25 13:03:42 EST", "ConditionTimestampMonotonic": "1287671310", "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": "6215", "ExecMainStartTimestamp": "Mon 2024-11-25 13:03:42 EST", "ExecMainStartTimestampMonotonic": "1287671901", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Mon 2024-11-25 13:03:42 EST] ; stop_time=[n/a] ; pid=6215 ; 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": "Mon 2024-11-25 13:03:42 EST", "InactiveEnterTimestampMonotonic": "1287669855", "InactiveExitTimestamp": "Mon 2024-11-25 13:03:42 EST", "InactiveExitTimestampMonotonic": "1287671968", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "6215", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 13:03:42 EST", "WatchdogTimestampMonotonic": "1287671948", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Monday 25 November 2024 13:04:36 -0500 (0:00:01.738) 0:04:08.340 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Monday 25 November 2024 13:04:36 -0500 (0:00:00.112) 0:04:08.453 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Monday 25 November 2024 13:04:36 -0500 (0:00:00.116) 0:04:08.570 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Monday 25 November 2024 13:04:37 -0500 (0:00:00.975) 0:04:09.545 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Monday 25 November 2024 13:04:38 -0500 (0:00:00.080) 0:04:09.626 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Monday 25 November 2024 13:04:38 -0500 (0:00:00.073) 0:04:09.699 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Monday 25 November 2024 13:04:38 -0500 (0:00:00.098) 0:04:09.798 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Monday 25 November 2024 13:04:38 -0500 (0:00:00.113) 0:04:09.911 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Monday 25 November 2024 13:04:38 -0500 (0:00:00.101) 0:04:10.012 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Monday 25 November 2024 13:04:38 -0500 (0:00:00.086) 0:04:10.099 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Monday 25 November 2024 13:04:38 -0500 (0:00:00.188) 0:04:10.287 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Monday 25 November 2024 13:04:38 -0500 (0:00:00.081) 0:04:10.368 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Monday 25 November 2024 13:04:38 -0500 (0:00:00.220) 0:04:10.589 ******* ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:04:36 EST", "ActiveEnterTimestampMonotonic": "1341851294", "ActiveExitTimestamp": "Mon 2024-11-25 13:04:35 EST", "ActiveExitTimestampMonotonic": "1340795168", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:04:36 EST", "AssertTimestampMonotonic": "1341850555", "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": "Mon 2024-11-25 13:04:36 EST", "ConditionTimestampMonotonic": "1341850554", "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": "8361", "ExecMainStartTimestamp": "Mon 2024-11-25 13:04:36 EST", "ExecMainStartTimestampMonotonic": "1341851191", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Mon 2024-11-25 13:04:36 EST] ; stop_time=[n/a] ; pid=8361 ; 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": "Mon 2024-11-25 13:04:36 EST", "InactiveEnterTimestampMonotonic": "1341849312", "InactiveExitTimestamp": "Mon 2024-11-25 13:04:36 EST", "InactiveExitTimestampMonotonic": "1341851294", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8361", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 13:04:36 EST", "WatchdogTimestampMonotonic": "1341851269", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Monday 25 November 2024 13:04:40 -0500 (0:00:01.339) 0:04:11.929 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003232", "end": "2024-11-25 13:04:40.750388", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:04:40.747156" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Monday 25 November 2024 13:04:40 -0500 (0:00:00.592) 0:04:12.521 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003083", "end": "2024-11-25 13:04:41.167263", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:04:41.164180" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Monday 25 November 2024 13:04:41 -0500 (0:00:00.374) 0:04:12.896 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Monday 25 November 2024 13:04:41 -0500 (0:00:00.136) 0:04:13.032 ******* 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": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Monday 25 November 2024 13:04:43 -0500 (0:00:01.591) 0:04:14.624 ******* 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.023430", "end": "2024-11-25 13:04:43.474311", "rc": 0, "start": "2024-11-25 13:04:43.450881" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Monday 25 November 2024 13:04:43 -0500 (0:00:00.611) 0:04:15.236 ******* ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Monday 25 November 2024 13:04:43 -0500 (0:00:00.123) 0:04:15.359 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Monday 25 November 2024 13:04:43 -0500 (0:00:00.141) 0:04:15.501 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Monday 25 November 2024 13:04:44 -0500 (0:00:00.180) 0:04:15.681 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Monday 25 November 2024 13:04:44 -0500 (0:00:00.165) 0:04:15.846 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Monday 25 November 2024 13:04:44 -0500 (0:00:00.141) 0:04:15.988 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Monday 25 November 2024 13:04:44 -0500 (0:00:00.277) 0:04:16.266 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Monday 25 November 2024 13:04:44 -0500 (0:00:00.214) 0:04:16.480 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Monday 25 November 2024 13:04:45 -0500 (0:00:00.160) 0:04:16.641 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:04:45 -0500 (0:00:00.263) 0:04:16.905 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004185", "end": "2024-11-25 13:04:45.618284", "rc": 0, "start": "2024-11-25 13:04:45.614099" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:04:45 -0500 (0:00:00.462) 0:04:17.367 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:04:45 -0500 (0:00:00.142) 0:04:17.510 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:04:46 -0500 (0:00:00.203) 0:04:17.714 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Monday 25 November 2024 13:04:46 -0500 (0:00:00.123) 0:04:17.838 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:04:46 -0500 (0:00:00.293) 0:04:18.131 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004162", "end": "2024-11-25 13:04:46.985782", "rc": 0, "start": "2024-11-25 13:04:46.981620" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:04:47 -0500 (0:00:00.672) 0:04:18.804 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:04:47 -0500 (0:00:00.281) 0:04:19.086 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:04:47 -0500 (0:00:00.219) 0:04:19.305 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Monday 25 November 2024 13:04:47 -0500 (0:00:00.112) 0:04:19.418 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:04:48 -0500 (0:00:00.224) 0:04:19.642 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004205", "end": "2024-11-25 13:04:48.364075", "rc": 0, "start": "2024-11-25 13:04:48.359870" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:04:48 -0500 (0:00:00.607) 0:04:20.249 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:04:48 -0500 (0:00:00.144) 0:04:20.394 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:04:48 -0500 (0:00:00.103) 0:04:20.498 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Monday 25 November 2024 13:04:49 -0500 (0:00:00.119) 0:04:20.617 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:04:49 -0500 (0:00:00.221) 0:04:20.839 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004230", "end": "2024-11-25 13:04:49.556679", "rc": 0, "start": "2024-11-25 13:04:49.552449" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:04:49 -0500 (0:00:00.476) 0:04:21.316 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:04:49 -0500 (0:00:00.180) 0:04:21.497 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:04:50 -0500 (0:00:00.205) 0:04:21.702 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Monday 25 November 2024 13:04:50 -0500 (0:00:00.112) 0:04:21.815 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Monday 25 November 2024 13:04:50 -0500 (0:00:00.117) 0:04:21.933 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Monday 25 November 2024 13:04:53 -0500 (0:00:02.743) 0:04:24.677 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Monday 25 November 2024 13:04:53 -0500 (0:00:00.286) 0:04:24.963 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Monday 25 November 2024 13:04:53 -0500 (0:00:00.295) 0:04:25.258 ******* 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-MPy/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-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Monday 25 November 2024 13:04:53 -0500 (0:00:00.337) 0:04:25.596 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Monday 25 November 2024 13:04:54 -0500 (0:00:00.209) 0:04:25.806 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Monday 25 November 2024 13:04:54 -0500 (0:00:00.158) 0:04:25.964 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Monday 25 November 2024 13:04:54 -0500 (0:00:00.123) 0:04:26.088 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Monday 25 November 2024 13:04:54 -0500 (0:00:00.123) 0:04:26.212 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Monday 25 November 2024 13:04:54 -0500 (0:00:00.159) 0:04:26.371 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Monday 25 November 2024 13:04:54 -0500 (0:00:00.113) 0:04:26.485 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Monday 25 November 2024 13:04:55 -0500 (0:00:00.545) 0:04:27.031 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Monday 25 November 2024 13:04:55 -0500 (0:00:00.213) 0:04:27.244 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Monday 25 November 2024 13:04:55 -0500 (0:00:00.144) 0:04:27.389 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Monday 25 November 2024 13:04:55 -0500 (0:00:00.144) 0:04:27.533 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Monday 25 November 2024 13:04:56 -0500 (0:00:00.093) 0:04:27.627 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Monday 25 November 2024 13:04:56 -0500 (0:00:00.101) 0:04:27.728 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Monday 25 November 2024 13:04:56 -0500 (0:00:00.114) 0:04:27.843 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Monday 25 November 2024 13:04:56 -0500 (0:00:00.105) 0:04:27.948 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Monday 25 November 2024 13:04:56 -0500 (0:00:00.098) 0:04:28.047 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Monday 25 November 2024 13:04:56 -0500 (0:00:00.079) 0:04:28.126 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Monday 25 November 2024 13:04:56 -0500 (0:00:00.077) 0:04:28.204 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Monday 25 November 2024 13:04:56 -0500 (0:00:00.116) 0:04:28.320 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Monday 25 November 2024 13:04:56 -0500 (0:00:00.113) 0:04:28.434 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Monday 25 November 2024 13:04:58 -0500 (0:00:01.598) 0:04:30.032 ******* 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Monday 25 November 2024 13:04:58 -0500 (0:00:00.249) 0:04:30.282 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Monday 25 November 2024 13:04:58 -0500 (0:00:00.139) 0:04:30.421 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Monday 25 November 2024 13:04:59 -0500 (0:00:00.208) 0:04:30.629 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Monday 25 November 2024 13:04:59 -0500 (0:00:00.267) 0:04:30.897 ******* ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Monday 25 November 2024 13:04:59 -0500 (0:00:00.671) 0:04:31.568 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Monday 25 November 2024 13:05:00 -0500 (0:00:00.082) 0:04:31.650 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Monday 25 November 2024 13:05:00 -0500 (0:00:00.076) 0:04:31.727 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Monday 25 November 2024 13:05:00 -0500 (0:00:00.075) 0:04:31.803 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Monday 25 November 2024 13:05:00 -0500 (0:00:00.074) 0:04:31.877 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Monday 25 November 2024 13:05:00 -0500 (0:00:00.090) 0:04: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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Monday 25 November 2024 13:05:00 -0500 (0:00:00.119) 0:04:32.088 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Monday 25 November 2024 13:05:00 -0500 (0:00:00.121) 0:04:32.209 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Monday 25 November 2024 13:05:00 -0500 (0:00:00.084) 0:04:32.293 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Monday 25 November 2024 13:05:01 -0500 (0:00:00.657) 0:04:32.951 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Monday 25 November 2024 13:05:02 -0500 (0:00:00.714) 0:04:33.665 ******* 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.005178", "end": "2024-11-25 13:05:02.317562", "rc": 0, "start": "2024-11-25 13:05:02.312384" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Monday 25 November 2024 13:05:02 -0500 (0:00:00.404) 0:04:34.070 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Monday 25 November 2024 13:05:03 -0500 (0:00:01.186) 0:04:35.256 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Monday 25 November 2024 13:05:03 -0500 (0:00:00.152) 0:04:35.409 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Monday 25 November 2024 13:05:03 -0500 (0:00:00.114) 0:04:35.524 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Monday 25 November 2024 13:05:04 -0500 (0:00:00.105) 0:04:35.629 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Monday 25 November 2024 13:05:04 -0500 (0:00:00.115) 0:04:35.744 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Monday 25 November 2024 13:05:04 -0500 (0:00:00.082) 0:04:35.827 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Monday 25 November 2024 13:05:04 -0500 (0:00:00.083) 0:04:35.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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Monday 25 November 2024 13:05:04 -0500 (0:00:00.678) 0:04:36.589 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:42:22 EST", "ActiveEnterTimestampMonotonic": "8127358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:42:22 EST", "AssertTimestampMonotonic": "7373578", "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": "Mon 2024-11-25 12:42:22 EST", "ConditionTimestampMonotonic": "7373577", "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": "849", "ExecMainStartTimestamp": "Mon 2024-11-25 12:42:22 EST", "ExecMainStartTimestampMonotonic": "7374296", "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": "Mon 2024-11-25 12:42:22 EST", "InactiveExitTimestampMonotonic": "7374334", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-11-25 12:42:22 EST", "WatchdogTimestampMonotonic": "8127306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Monday 25 November 2024 13:05:05 -0500 (0:00:00.549) 0:04:37.139 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085808", "end": "2024-11-25 13:05:05.880620", "rc": 0, "start": "2024-11-25 13:05:05.794812" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Monday 25 November 2024 13:05:06 -0500 (0:00:00.488) 0:04:37.627 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Monday 25 November 2024 13:05:06 -0500 (0:00:00.117) 0:04:37.744 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Monday 25 November 2024 13:05:06 -0500 (0:00:00.252) 0:04:37.997 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Monday 25 November 2024 13:05:06 -0500 (0:00:00.076) 0:04:38.074 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Monday 25 November 2024 13:05:06 -0500 (0:00:00.387) 0:04:38.461 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Monday 25 November 2024 13:05:06 -0500 (0:00:00.093) 0:04:38.555 ******* 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Monday 25 November 2024 13:05:07 -0500 (0:00:00.619) 0:04:39.174 ******* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Monday 25 November 2024 13:05:07 -0500 (0:00:00.275) 0:04:39.450 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Monday 25 November 2024 13:05:08 -0500 (0:00:00.269) 0:04:39.719 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Monday 25 November 2024 13:05:08 -0500 (0:00:00.317) 0:04:40.036 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Monday 25 November 2024 13:05:08 -0500 (0:00:00.552) 0:04:40.589 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Monday 25 November 2024 13:05:09 -0500 (0:00:00.190) 0:04:40.780 ******* 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-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Monday 25 November 2024 13:05:09 -0500 (0:00:00.354) 0:04:41.135 ******* 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 3.9 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Monday 25 November 2024 13:05:14 -0500 (0:00:04.648) 0:04:45.784 ******* 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 2.6 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Monday 25 November 2024 13:05:18 -0500 (0:00:04.758) 0:04:50.542 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Monday 25 November 2024 13:05:19 -0500 (0:00:00.951) 0:04:51.494 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Monday 25 November 2024 13:05:20 -0500 (0:00:00.753) 0:04:52.247 ******* 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": "system.slice syslog.target basic.target systemd-journald.socket network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Monday 25 November 2024 13:05:21 -0500 (0:00:01.148) 0:04:53.395 ******* changed: [managed-node2] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.11.174', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.11.174", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Monday 25 November 2024 13:05:23 -0500 (0:00:01.744) 0:04:55.140 ******* 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.11.174', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.11.174", "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.11.174', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.11.174", "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.11.174', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.11.174", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Monday 25 November 2024 13:05:23 -0500 (0:00:00.290) 0:04:55.431 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Monday 25 November 2024 13:05:23 -0500 (0:00:00.134) 0:04:55.565 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Monday 25 November 2024 13:05:24 -0500 (0:00:00.124) 0:04:55.689 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Monday 25 November 2024 13:05:24 -0500 (0:00:00.105) 0:04:55.795 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Monday 25 November 2024 13:05:24 -0500 (0:00:00.126) 0:04:55.921 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Monday 25 November 2024 13:05:24 -0500 (0:00:00.163) 0:04:56.085 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:05:24 -0500 (0:00:00.249) 0:04:56.335 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004325", "end": "2024-11-25 13:05:25.020180", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:05:25.015855" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:05:25 -0500 (0:00:00.530) 0:04:56.866 ******* 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.119853", "end": "2024-11-25 13:05:25.665979", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:05:25.546126" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:05:25 -0500 (0:00:00.564) 0:04:57.430 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Monday 25 November 2024 13:05:25 -0500 (0:00:00.145) 0:04:57.576 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:05:26 -0500 (0:00:00.256) 0:04:57.833 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003123", "end": "2024-11-25 13:05:26.522132", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:05:26.519009" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:05:26 -0500 (0:00:00.556) 0:04:58.389 ******* 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.119690", "end": "2024-11-25 13:05:27.425024", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:05:27.305334" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:05:27 -0500 (0:00:00.814) 0:04:59.204 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Monday 25 November 2024 13:05:27 -0500 (0:00:00.148) 0:04:59.353 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:05:28 -0500 (0:00:00.378) 0:04:59.731 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003673", "end": "2024-11-25 13:05:28.694462", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:05:28.690789" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:05:28 -0500 (0:00:00.798) 0:05:00.530 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.119218", "end": "2024-11-25 13:05:29.629157", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:05:29.509939" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:05:29 -0500 (0:00:01.034) 0:05:01.565 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Monday 25 November 2024 13:05:30 -0500 (0:00:00.231) 0:05:01.796 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:05:30 -0500 (0:00:00.322) 0:05:02.119 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003413", "end": "2024-11-25 13:05:31.017966", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:05:31.014553" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:05:31 -0500 (0:00:00.671) 0:05:02.790 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.118264", "end": "2024-11-25 13:05:31.739935", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:05:31.621671" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:05:32 -0500 (0:00:00.932) 0:05:03.723 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Monday 25 November 2024 13:05:32 -0500 (0:00:00.225) 0:05:03.949 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005160", "end": "2024-11-25 13:05:32.911543", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:05:32.906383" } STDOUT: 1 TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Monday 25 November 2024 13:05:33 -0500 (0:00:00.894) 0:05:04.844 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Monday 25 November 2024 13:05:33 -0500 (0:00:00.209) 0:05:05.053 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Monday 25 November 2024 13:05:33 -0500 (0:00:00.129) 0:05:05.183 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Monday 25 November 2024 13:05:33 -0500 (0:00:00.142) 0:05:05.325 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Monday 25 November 2024 13:05:33 -0500 (0:00:00.139) 0:05:05.465 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Monday 25 November 2024 13:05:33 -0500 (0:00:00.125) 0:05:05.591 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Monday 25 November 2024 13:05:34 -0500 (0:00:00.239) 0:05:05.830 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Monday 25 November 2024 13:05:34 -0500 (0:00:00.264) 0:05:06.095 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Monday 25 November 2024 13:05:34 -0500 (0:00:00.219) 0:05:06.314 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Monday 25 November 2024 13:05:34 -0500 (0:00:00.206) 0:05:06.520 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Monday 25 November 2024 13:05:35 -0500 (0:00:00.168) 0:05:06.689 ******* 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.005813", "end": "2024-11-25 13:05:35.624261", "rc": 0, "start": "2024-11-25 13:05:35.618448" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Monday 25 November 2024 13:05:35 -0500 (0:00:00.835) 0:05:07.524 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Monday 25 November 2024 13:05:36 -0500 (0:00:00.179) 0:05:07.703 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Monday 25 November 2024 13:05:37 -0500 (0:00:01.805) 0:05:09.509 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Monday 25 November 2024 13:05:38 -0500 (0:00:00.143) 0:05:09.653 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Monday 25 November 2024 13:05:38 -0500 (0:00:00.212) 0:05:09.866 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Monday 25 November 2024 13:05:38 -0500 (0:00:00.146) 0:05:10.013 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Monday 25 November 2024 13:05:38 -0500 (0:00:00.165) 0:05:10.178 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:05:38 -0500 (0:00:00.253) 0:05:10.432 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004012", "end": "2024-11-25 13:05:39.323320", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:05:39.319308" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:05:39 -0500 (0:00:00.728) 0:05:11.161 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.121270", "end": "2024-11-25 13:05:39.998065", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:05:39.876795" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:05:40 -0500 (0:00:00.686) 0:05:11.847 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Monday 25 November 2024 13:05:40 -0500 (0:00:00.114) 0:05:11.962 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Monday 25 November 2024 13:05:40 -0500 (0:00:00.121) 0:05:12.083 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Monday 25 November 2024 13:05:40 -0500 (0:00:00.109) 0:05:12.193 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Monday 25 November 2024 13:05:40 -0500 (0:00:00.131) 0:05:12.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Monday 25 November 2024 13:05:41 -0500 (0:00:00.342) 0:05:12.667 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Monday 25 November 2024 13:05:41 -0500 (0:00:00.118) 0:05:12.785 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Monday 25 November 2024 13:05:41 -0500 (0:00:00.130) 0:05:12.915 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Monday 25 November 2024 13:05:41 -0500 (0:00:00.148) 0:05:13.064 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Monday 25 November 2024 13:05:41 -0500 (0:00:00.114) 0:05:13.179 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Monday 25 November 2024 13:05:41 -0500 (0:00:00.135) 0:05:13.314 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Monday 25 November 2024 13:05:41 -0500 (0:00:00.172) 0:05:13.487 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Monday 25 November 2024 13:05:41 -0500 (0:00:00.112) 0:05:13.599 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Monday 25 November 2024 13:05:42 -0500 (0:00:00.098) 0:05:13.697 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Monday 25 November 2024 13:05:42 -0500 (0:00:00.108) 0:05:13.806 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Monday 25 November 2024 13:05:42 -0500 (0:00:00.126) 0:05:13.932 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Monday 25 November 2024 13:05:42 -0500 (0:00:00.115) 0:05:14.048 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Monday 25 November 2024 13:05:42 -0500 (0:00:00.205) 0:05:14.254 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Monday 25 November 2024 13:05:42 -0500 (0:00:00.220) 0:05:14.475 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Monday 25 November 2024 13:05:43 -0500 (0:00:00.152) 0:05:14.627 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Monday 25 November 2024 13:05:43 -0500 (0:00:00.120) 0:05:14.748 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Monday 25 November 2024 13:05:43 -0500 (0:00:00.129) 0:05:14.877 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Monday 25 November 2024 13:05:43 -0500 (0:00:00.133) 0:05:15.011 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Monday 25 November 2024 13:05:43 -0500 (0:00:00.095) 0:05:15.107 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Monday 25 November 2024 13:05:43 -0500 (0:00:00.299) 0:05:15.406 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Monday 25 November 2024 13:05:43 -0500 (0:00:00.153) 0:05:15.559 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Monday 25 November 2024 13:05:44 -0500 (0:00:00.127) 0:05:15.686 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Monday 25 November 2024 13:05:44 -0500 (0:00:00.120) 0:05:15.807 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Monday 25 November 2024 13:05:44 -0500 (0:00:00.119) 0:05:15.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Monday 25 November 2024 13:05:44 -0500 (0:00:00.117) 0:05:16.044 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Monday 25 November 2024 13:05:44 -0500 (0:00:00.120) 0:05:16.164 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Monday 25 November 2024 13:05:44 -0500 (0:00:00.122) 0:05:16.286 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Monday 25 November 2024 13:05:44 -0500 (0:00:00.092) 0:05:16.378 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Monday 25 November 2024 13:05:44 -0500 (0:00:00.112) 0:05:16.491 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Monday 25 November 2024 13:05:45 -0500 (0:00:00.156) 0:05:16.648 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Monday 25 November 2024 13:05:45 -0500 (0:00:00.133) 0:05:16.782 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Monday 25 November 2024 13:05:45 -0500 (0:00:00.177) 0:05:16.959 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Monday 25 November 2024 13:05:45 -0500 (0:00:00.114) 0:05:17.073 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Monday 25 November 2024 13:05:45 -0500 (0:00:00.129) 0:05:17.203 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Monday 25 November 2024 13:05:45 -0500 (0:00:00.126) 0:05:17.329 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Monday 25 November 2024 13:05:45 -0500 (0:00:00.147) 0:05:17.477 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Monday 25 November 2024 13:05:46 -0500 (0:00:00.166) 0:05:17.644 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Monday 25 November 2024 13:05:46 -0500 (0:00:00.144) 0:05:17.788 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Monday 25 November 2024 13:05:46 -0500 (0:00:00.293) 0:05:18.082 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Monday 25 November 2024 13:05:46 -0500 (0:00:00.143) 0:05:18.225 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Monday 25 November 2024 13:05:46 -0500 (0:00:00.149) 0:05:18.374 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Monday 25 November 2024 13:05:46 -0500 (0:00:00.143) 0:05:18.518 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Monday 25 November 2024 13:05:47 -0500 (0:00:00.149) 0:05:18.668 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Monday 25 November 2024 13:05:47 -0500 (0:00:00.132) 0:05:18.800 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Monday 25 November 2024 13:05:47 -0500 (0:00:00.109) 0:05:18.909 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Monday 25 November 2024 13:05:47 -0500 (0:00:00.098) 0:05:19.007 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Monday 25 November 2024 13:05:47 -0500 (0:00:00.136) 0:05:19.144 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Monday 25 November 2024 13:05:47 -0500 (0:00:00.124) 0:05:19.269 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Monday 25 November 2024 13:05:47 -0500 (0:00:00.133) 0:05:19.403 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Monday 25 November 2024 13:05:47 -0500 (0:00:00.166) 0:05:19.570 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Monday 25 November 2024 13:05:48 -0500 (0:00:00.135) 0:05:19.705 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Monday 25 November 2024 13:05:48 -0500 (0:00:00.143) 0:05:19.848 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Monday 25 November 2024 13:05:48 -0500 (0:00:00.138) 0:05:19.987 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Monday 25 November 2024 13:05:48 -0500 (0:00:00.151) 0:05:20.138 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Monday 25 November 2024 13:05:48 -0500 (0:00:00.158) 0:05:20.296 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Monday 25 November 2024 13:05:48 -0500 (0:00:00.161) 0:05:20.458 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Monday 25 November 2024 13:05:48 -0500 (0:00:00.123) 0:05:20.582 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Monday 25 November 2024 13:05:49 -0500 (0:00:00.363) 0:05:20.945 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Monday 25 November 2024 13:05:49 -0500 (0:00:00.128) 0:05:21.074 ******* changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Monday 25 November 2024 13:05:50 -0500 (0:00:00.665) 0:05:21.739 ******* changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:04:36 EST", "ActiveEnterTimestampMonotonic": "1341851294", "ActiveExitTimestamp": "Mon 2024-11-25 13:04:35 EST", "ActiveExitTimestampMonotonic": "1340795168", "ActiveState": "active", "After": "auditd.service basic.target systemd-journald.socket -.mount system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:04:36 EST", "AssertTimestampMonotonic": "1341850555", "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": "Mon 2024-11-25 13:04:36 EST", "ConditionTimestampMonotonic": "1341850554", "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": "8361", "ExecMainStartTimestamp": "Mon 2024-11-25 13:04:36 EST", "ExecMainStartTimestampMonotonic": "1341851191", "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": "Mon 2024-11-25 13:04:36 EST", "InactiveEnterTimestampMonotonic": "1341849312", "InactiveExitTimestamp": "Mon 2024-11-25 13:04:36 EST", "InactiveExitTimestampMonotonic": "1341851294", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8361", "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": "Mon 2024-11-25 13:04:36 EST", "WatchdogTimestampMonotonic": "1341851269", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Monday 25 November 2024 13:05:51 -0500 (0:00:01.226) 0:05:22.965 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Monday 25 November 2024 13:05:51 -0500 (0:00:00.082) 0:05:23.048 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Monday 25 November 2024 13:05:51 -0500 (0:00:00.116) 0:05:23.164 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Monday 25 November 2024 13:05:52 -0500 (0:00:01.175) 0:05:24.340 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Monday 25 November 2024 13:05:52 -0500 (0:00:00.120) 0:05:24.460 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Monday 25 November 2024 13:05:53 -0500 (0:00:00.329) 0:05:24.790 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Monday 25 November 2024 13:05:53 -0500 (0:00:00.162) 0:05:24.952 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Monday 25 November 2024 13:05:53 -0500 (0:00:00.135) 0:05:25.087 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Monday 25 November 2024 13:05:53 -0500 (0:00:00.142) 0:05:25.229 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Monday 25 November 2024 13:05:53 -0500 (0:00:00.122) 0:05:25.352 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Monday 25 November 2024 13:05:53 -0500 (0:00:00.116) 0:05: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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Monday 25 November 2024 13:05:53 -0500 (0:00:00.117) 0:05:25.586 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Monday 25 November 2024 13:05:54 -0500 (0:00:00.199) 0:05:25.785 ******* ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:05:51 EST", "ActiveEnterTimestampMonotonic": "1416505350", "ActiveExitTimestamp": "Mon 2024-11-25 13:05:50 EST", "ActiveExitTimestampMonotonic": "1416021679", "ActiveState": "active", "After": "auditd.service basic.target systemd-journald.socket -.mount system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:05:51 EST", "AssertTimestampMonotonic": "1416504617", "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": "Mon 2024-11-25 13:05:51 EST", "ConditionTimestampMonotonic": "1416504615", "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": "11016", "ExecMainStartTimestamp": "Mon 2024-11-25 13:05:51 EST", "ExecMainStartTimestampMonotonic": "1416505288", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Mon 2024-11-25 13:05:51 EST] ; stop_time=[n/a] ; pid=11016 ; 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": "Mon 2024-11-25 13:05:51 EST", "InactiveEnterTimestampMonotonic": "1416503250", "InactiveExitTimestamp": "Mon 2024-11-25 13:05:51 EST", "InactiveExitTimestampMonotonic": "1416505350", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11016", "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": "Mon 2024-11-25 13:05:51 EST", "WatchdogTimestampMonotonic": "1416505330", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Monday 25 November 2024 13:05:55 -0500 (0:00:01.313) 0:05:27.098 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003613", "end": "2024-11-25 13:05:55.963670", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:05:55.960057" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Monday 25 November 2024 13:05:56 -0500 (0:00:00.614) 0:05:27.712 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003210", "end": "2024-11-25 13:05:56.408216", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:05:56.405006" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Monday 25 November 2024 13:05:56 -0500 (0:00:00.448) 0:05:28.161 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Monday 25 November 2024 13:05:56 -0500 (0:00:00.120) 0:05:28.281 ******* 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": 7360, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Monday 25 November 2024 13:05:58 -0500 (0:00:01.400) 0:05:29.682 ******* 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.024757", "end": "2024-11-25 13:05:58.358366", "rc": 0, "start": "2024-11-25 13:05:58.333609" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Monday 25 November 2024 13:05:58 -0500 (0:00:00.489) 0:05:30.172 ******* ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Monday 25 November 2024 13:05:58 -0500 (0:00:00.130) 0:05:30.303 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Monday 25 November 2024 13:05:58 -0500 (0:00:00.136) 0:05:30.439 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Monday 25 November 2024 13:05:58 -0500 (0:00:00.157) 0:05:30.597 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Monday 25 November 2024 13:05:59 -0500 (0:00:00.140) 0:05:30.737 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Monday 25 November 2024 13:05:59 -0500 (0:00:00.142) 0:05:30.879 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Monday 25 November 2024 13:05:59 -0500 (0:00:00.116) 0:05:30.996 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Monday 25 November 2024 13:05:59 -0500 (0:00:00.120) 0:05:31.117 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Monday 25 November 2024 13:05:59 -0500 (0:00:00.145) 0:05:31.263 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:05:59 -0500 (0:00:00.298) 0:05:31.561 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004904", "end": "2024-11-25 13:06:00.495982", "rc": 0, "start": "2024-11-25 13:06:00.491078" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:06:00 -0500 (0:00:00.824) 0:05:32.386 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:06:01 -0500 (0:00:00.247) 0:05:32.633 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:06:01 -0500 (0:00:00.133) 0:05:32.766 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Monday 25 November 2024 13:06:01 -0500 (0:00:00.162) 0:05:32.929 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:06:01 -0500 (0:00:00.211) 0:05:33.141 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004311", "end": "2024-11-25 13:06:01.838977", "rc": 0, "start": "2024-11-25 13:06:01.834666" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:06:02 -0500 (0:00:00.629) 0:05:33.770 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:06:02 -0500 (0:00:00.156) 0:05:33.927 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:06:02 -0500 (0:00:00.110) 0:05:34.038 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Monday 25 November 2024 13:06:02 -0500 (0:00:00.100) 0:05:34.138 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:06:02 -0500 (0:00:00.174) 0:05:34.313 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004811", "end": "2024-11-25 13:06:03.014023", "rc": 0, "start": "2024-11-25 13:06:03.009212" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:06:03 -0500 (0:00:00.435) 0:05:34.748 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:06:03 -0500 (0:00:00.095) 0:05:34.843 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:06:03 -0500 (0:00:00.080) 0:05:34.924 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Monday 25 November 2024 13:06:03 -0500 (0:00:00.079) 0:05:35.003 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Monday 25 November 2024 13:06:03 -0500 (0:00:00.142) 0:05:35.146 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004747", "end": "2024-11-25 13:06:03.803153", "rc": 0, "start": "2024-11-25 13:06:03.798406" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Monday 25 November 2024 13:06:03 -0500 (0:00:00.364) 0:05:35.511 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Monday 25 November 2024 13:06:04 -0500 (0:00:00.112) 0:05:35.623 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Monday 25 November 2024 13:06:04 -0500 (0:00:00.170) 0:05:35.793 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Monday 25 November 2024 13:06:04 -0500 (0:00:00.122) 0:05:35.915 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Monday 25 November 2024 13:06:04 -0500 (0:00:00.123) 0:05:36.039 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Monday 25 November 2024 13:06:06 -0500 (0:00:02.427) 0:05:38.467 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Monday 25 November 2024 13:06:07 -0500 (0:00:00.203) 0:05:38.670 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Monday 25 November 2024 13:06:07 -0500 (0:00:00.530) 0:05:39.201 ******* 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-MPy/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-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Monday 25 November 2024 13:06:07 -0500 (0:00:00.170) 0:05:39.371 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Monday 25 November 2024 13:06:07 -0500 (0:00:00.117) 0:05:39.489 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Monday 25 November 2024 13:06:08 -0500 (0:00:00.122) 0:05:39.612 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Monday 25 November 2024 13:06:08 -0500 (0:00:00.122) 0:05:39.735 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Monday 25 November 2024 13:06:08 -0500 (0:00:00.119) 0:05:39.855 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Monday 25 November 2024 13:06:08 -0500 (0:00:00.111) 0:05:39.967 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Monday 25 November 2024 13:06:08 -0500 (0:00:00.088) 0:05:40.055 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Monday 25 November 2024 13:06:08 -0500 (0:00:00.108) 0:05:40.163 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Monday 25 November 2024 13:06:08 -0500 (0:00:00.076) 0:05:40.240 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Monday 25 November 2024 13:06:08 -0500 (0:00:00.075) 0:05:40.316 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Monday 25 November 2024 13:06:08 -0500 (0:00:00.098) 0:05:40.415 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Monday 25 November 2024 13:06:08 -0500 (0:00:00.114) 0:05:40.529 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Monday 25 November 2024 13:06:09 -0500 (0:00:00.100) 0:05:40.629 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Monday 25 November 2024 13:06:09 -0500 (0:00:00.102) 0:05:40.731 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Monday 25 November 2024 13:06:09 -0500 (0:00:00.075) 0:05:40.806 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Monday 25 November 2024 13:06:09 -0500 (0:00:00.078) 0:05:40.885 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Monday 25 November 2024 13:06:09 -0500 (0:00:00.114) 0:05:41.000 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Monday 25 November 2024 13:06:09 -0500 (0:00:00.436) 0:05:41.436 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Monday 25 November 2024 13:06:10 -0500 (0:00:00.181) 0:05:41.618 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Monday 25 November 2024 13:06:10 -0500 (0:00:00.108) 0:05:41.727 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Monday 25 November 2024 13:06:11 -0500 (0:00:01.446) 0:05:43.174 ******* 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Monday 25 November 2024 13:06:12 -0500 (0:00:00.596) 0:05:43.771 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Monday 25 November 2024 13:06:12 -0500 (0:00:00.124) 0:05:43.896 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Monday 25 November 2024 13:06:12 -0500 (0:00:00.165) 0:05:44.061 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Monday 25 November 2024 13:06:12 -0500 (0:00:00.233) 0:05:44.294 ******* ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Monday 25 November 2024 13:06:13 -0500 (0:00:00.642) 0:05:44.936 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Monday 25 November 2024 13:06:13 -0500 (0:00:00.138) 0:05:45.075 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Monday 25 November 2024 13:06:13 -0500 (0:00:00.105) 0:05:45.181 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Monday 25 November 2024 13:06:13 -0500 (0:00:00.091) 0:05:45.272 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Monday 25 November 2024 13:06:13 -0500 (0:00:00.133) 0:05:45.406 ******* 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 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Monday 25 November 2024 13:06:13 -0500 (0:00:00.130) 0:05:45.537 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Monday 25 November 2024 13:06:14 -0500 (0:00:00.423) 0:05:45.960 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Monday 25 November 2024 13:06:14 -0500 (0:00:00.204) 0:05:46.165 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Monday 25 November 2024 13:06:14 -0500 (0:00:00.134) 0:05:46.299 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Monday 25 November 2024 13:06:15 -0500 (0:00:00.812) 0:05:47.111 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Monday 25 November 2024 13:06:16 -0500 (0:00:00.862) 0:05:47.974 ******* 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.005510", "end": "2024-11-25 13:06:16.642718", "rc": 0, "start": "2024-11-25 13:06:16.637208" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Monday 25 November 2024 13:06:16 -0500 (0:00:00.420) 0:05:48.394 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Monday 25 November 2024 13:06:18 -0500 (0:00:01.287) 0:05:49.682 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Monday 25 November 2024 13:06:18 -0500 (0:00:00.182) 0:05:49.864 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Monday 25 November 2024 13:06:18 -0500 (0:00:00.223) 0:05:50.088 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Monday 25 November 2024 13:06:18 -0500 (0:00:00.139) 0:05:50.228 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Monday 25 November 2024 13:06:18 -0500 (0:00:00.159) 0:05:50.387 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Monday 25 November 2024 13:06:18 -0500 (0:00:00.120) 0:05:50.507 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Monday 25 November 2024 13:06:19 -0500 (0:00:00.124) 0:05:50.632 ******* 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Monday 25 November 2024 13:06:20 -0500 (0:00:01.054) 0:05:51.686 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:42:22 EST", "ActiveEnterTimestampMonotonic": "8127358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service basic.target systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:42:22 EST", "AssertTimestampMonotonic": "7373578", "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": "Mon 2024-11-25 12:42:22 EST", "ConditionTimestampMonotonic": "7373577", "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": "849", "ExecMainStartTimestamp": "Mon 2024-11-25 12:42:22 EST", "ExecMainStartTimestampMonotonic": "7374296", "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": "Mon 2024-11-25 12:42:22 EST", "InactiveExitTimestampMonotonic": "7374334", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "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": "Mon 2024-11-25 12:42:22 EST", "WatchdogTimestampMonotonic": "8127306", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Monday 25 November 2024 13:06:20 -0500 (0:00:00.513) 0:05:52.200 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088065", "end": "2024-11-25 13:06:20.940644", "rc": 0, "start": "2024-11-25 13:06:20.852579" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Monday 25 November 2024 13:06:21 -0500 (0:00:00.464) 0:05:52.665 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Monday 25 November 2024 13:06:21 -0500 (0:00:00.085) 0:05:52.751 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Monday 25 November 2024 13:06:21 -0500 (0:00:00.079) 0:05:52.830 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Monday 25 November 2024 13:06:21 -0500 (0:00:00.083) 0:05:52.913 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Monday 25 November 2024 13:06:21 -0500 (0:00:00.375) 0:05:53.289 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Monday 25 November 2024 13:06:21 -0500 (0:00:00.075) 0:05:53.365 ******* 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Monday 25 November 2024 13:06:22 -0500 (0:00:00.631) 0:05:53.996 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Monday 25 November 2024 13:06:22 -0500 (0:00:00.142) 0:05:54.139 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Monday 25 November 2024 13:06:22 -0500 (0:00:00.139) 0:05:54.278 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Monday 25 November 2024 13:06:22 -0500 (0:00:00.140) 0:05:54.419 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:06:23 -0500 (0:00:00.222) 0:05:54.641 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003401", "end": "2024-11-25 13:06:23.352214", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:23.348813" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:06:23 -0500 (0:00:00.472) 0:05:55.114 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:06:23 -0500 (0:00:00.106) 0:05:55.221 ******* 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.119059", "end": "2024-11-25 13:06:23.995091", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:23.876032" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Monday 25 November 2024 13:06:24 -0500 (0:00:00.623) 0:05:55.845 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:06:24 -0500 (0:00:00.144) 0:05:55.989 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003456", "end": "2024-11-25 13:06:24.658993", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:24.655537" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:06:24 -0500 (0:00:00.379) 0:05:56.369 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:06:24 -0500 (0:00:00.085) 0:05:56.455 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.118025", "end": "2024-11-25 13:06:25.228728", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:25.110703" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Monday 25 November 2024 13:06:25 -0500 (0:00:00.489) 0:05:56.944 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:06:25 -0500 (0:00:00.148) 0:05:57.092 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003157", "end": "2024-11-25 13:06:25.756445", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:25.753288" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:06:25 -0500 (0:00:00.373) 0:05:57.466 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:06:25 -0500 (0:00:00.088) 0:05:57.555 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.118167", "end": "2024-11-25 13:06:26.328768", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:26.210601" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Monday 25 November 2024 13:06:26 -0500 (0:00:00.489) 0:05:58.044 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:06:26 -0500 (0:00:00.162) 0:05:58.207 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003735", "end": "2024-11-25 13:06:26.864591", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:26.860856" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:06:26 -0500 (0:00:00.368) 0:05:58.575 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:06:27 -0500 (0:00:00.087) 0:05:58.663 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.118945", "end": "2024-11-25 13:06:27.444788", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:27.325843" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Monday 25 November 2024 13:06:27 -0500 (0:00:00.738) 0:05:59.401 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005040", "end": "2024-11-25 13:06:28.062589", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:06:28.057549" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Monday 25 November 2024 13:06:28 -0500 (0:00:00.406) 0:05:59.808 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Monday 25 November 2024 13:06:28 -0500 (0:00:00.104) 0:05:59.912 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Monday 25 November 2024 13:06:28 -0500 (0:00:00.093) 0:06:00.005 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Monday 25 November 2024 13:06:28 -0500 (0:00:00.082) 0:06:00.088 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Monday 25 November 2024 13:06:28 -0500 (0:00:00.078) 0:06:00.166 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Monday 25 November 2024 13:06:28 -0500 (0:00:00.080) 0:06:00.247 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Monday 25 November 2024 13:06:28 -0500 (0:00:00.091) 0:06:00.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 : Change the password of sa user] ******** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Monday 25 November 2024 13:06:28 -0500 (0:00:00.081) 0:06:00.420 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Monday 25 November 2024 13:06:28 -0500 (0:00:00.103) 0:06:00.524 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Monday 25 November 2024 13:06:29 -0500 (0:00:00.118) 0:06:00.642 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Monday 25 November 2024 13:06:29 -0500 (0:00:00.095) 0:06:00.737 ******* 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.004942", "end": "2024-11-25 13:06:29.448915", "rc": 0, "start": "2024-11-25 13:06:29.443973" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Monday 25 November 2024 13:06:29 -0500 (0:00:00.420) 0:06:01.158 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Monday 25 November 2024 13:06:29 -0500 (0:00:00.080) 0:06:01.238 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Monday 25 November 2024 13:06:31 -0500 (0:00:01.594) 0:06:02.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 : Configure the IP address setting] ****** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Monday 25 November 2024 13:06:31 -0500 (0:00:00.128) 0:06:02.962 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Monday 25 November 2024 13:06:31 -0500 (0:00:00.113) 0:06:03.075 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Monday 25 November 2024 13:06:31 -0500 (0:00:00.080) 0:06:03.156 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Monday 25 November 2024 13:06:31 -0500 (0:00:00.075) 0:06:03.232 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Monday 25 November 2024 13:06:31 -0500 (0:00:00.128) 0:06:03.360 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003075", "end": "2024-11-25 13:06:32.046971", "failed_when_result": false, "rc": 1, "start": "2024-11-25 13:06:32.043896" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Monday 25 November 2024 13:06:32 -0500 (0:00:00.452) 0:06:03.812 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118653", "end": "2024-11-25 13:06:32.648398", "failed_when_result": false, "rc": 0, "start": "2024-11-25 13:06:32.529745" } 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Monday 25 November 2024 13:06:32 -0500 (0:00:00.607) 0:06:04.420 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Monday 25 November 2024 13:06:32 -0500 (0:00:00.118) 0:06:04.539 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Monday 25 November 2024 13:06:33 -0500 (0:00:00.091) 0:06:04.631 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Monday 25 November 2024 13:06:33 -0500 (0:00:00.089) 0:06:04.721 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Monday 25 November 2024 13:06:33 -0500 (0:00:00.076) 0:06:04.797 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Monday 25 November 2024 13:06:33 -0500 (0:00:00.074) 0:06:04.872 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Monday 25 November 2024 13:06:33 -0500 (0:00:00.070) 0:06:04.943 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Monday 25 November 2024 13:06:33 -0500 (0:00:00.072) 0:06:05.016 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Monday 25 November 2024 13:06:33 -0500 (0:00:00.085) 0:06:05.102 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Monday 25 November 2024 13:06:33 -0500 (0:00:00.323) 0:06:05.425 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Monday 25 November 2024 13:06:33 -0500 (0:00:00.137) 0:06:05.562 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Monday 25 November 2024 13:06:34 -0500 (0:00:00.122) 0:06:05.684 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Monday 25 November 2024 13:06:34 -0500 (0:00:00.122) 0:06:05.807 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Monday 25 November 2024 13:06:34 -0500 (0:00:00.124) 0:06:05.931 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Monday 25 November 2024 13:06:34 -0500 (0:00:00.133) 0:06:06.065 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Monday 25 November 2024 13:06:34 -0500 (0:00:00.123) 0:06:06.188 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Monday 25 November 2024 13:06:34 -0500 (0:00:00.126) 0:06:06.314 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Monday 25 November 2024 13:06:34 -0500 (0:00:00.120) 0:06:06.435 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Monday 25 November 2024 13:06:34 -0500 (0:00:00.122) 0:06:06.557 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Monday 25 November 2024 13:06:35 -0500 (0:00:00.123) 0:06:06.681 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Monday 25 November 2024 13:06:35 -0500 (0:00:00.121) 0:06:06.802 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Monday 25 November 2024 13:06:35 -0500 (0:00:00.119) 0:06:06.921 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Monday 25 November 2024 13:06:35 -0500 (0:00:00.110) 0:06:07.032 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Monday 25 November 2024 13:06:35 -0500 (0:00:00.110) 0:06:07.143 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Monday 25 November 2024 13:06:35 -0500 (0:00:00.119) 0:06:07.262 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Monday 25 November 2024 13:06:35 -0500 (0:00:00.109) 0:06:07.372 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Monday 25 November 2024 13:06:35 -0500 (0:00:00.115) 0:06:07.488 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Monday 25 November 2024 13:06:36 -0500 (0:00:00.131) 0:06:07.619 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Monday 25 November 2024 13:06:36 -0500 (0:00:00.315) 0:06:07.935 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Monday 25 November 2024 13:06:36 -0500 (0:00:00.122) 0:06:08.057 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Monday 25 November 2024 13:06:36 -0500 (0:00:00.123) 0:06:08.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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Monday 25 November 2024 13:06:36 -0500 (0:00:00.118) 0:06:08.299 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Monday 25 November 2024 13:06:36 -0500 (0:00:00.111) 0:06:08.411 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Monday 25 November 2024 13:06:36 -0500 (0:00:00.121) 0:06:08.532 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Monday 25 November 2024 13:06:37 -0500 (0:00:00.118) 0:06:08.651 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Monday 25 November 2024 13:06:37 -0500 (0:00:00.137) 0:06:08.789 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Monday 25 November 2024 13:06:37 -0500 (0:00:00.110) 0:06:08.899 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Monday 25 November 2024 13:06:37 -0500 (0:00:00.119) 0:06:09.019 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Monday 25 November 2024 13:06:37 -0500 (0:00:00.137) 0:06:09.156 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Monday 25 November 2024 13:06:37 -0500 (0:00:00.107) 0:06:09.263 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Monday 25 November 2024 13:06:37 -0500 (0:00:00.114) 0:06:09.378 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Monday 25 November 2024 13:06:37 -0500 (0:00:00.140) 0:06:09.519 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Monday 25 November 2024 13:06:38 -0500 (0:00:00.118) 0:06:09.638 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Monday 25 November 2024 13:06:38 -0500 (0:00:00.113) 0:06:09.752 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Monday 25 November 2024 13:06:38 -0500 (0:00:00.072) 0:06:09.825 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Monday 25 November 2024 13:06:38 -0500 (0:00:00.074) 0:06:09.899 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Monday 25 November 2024 13:06:38 -0500 (0:00:00.071) 0:06:09.970 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Monday 25 November 2024 13:06:38 -0500 (0:00:00.220) 0:06:10.191 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Monday 25 November 2024 13:06:38 -0500 (0:00:00.075) 0:06:10.267 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Monday 25 November 2024 13:06:38 -0500 (0:00:00.078) 0:06:10.346 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Monday 25 November 2024 13:06:38 -0500 (0:00:00.075) 0:06:10.422 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Monday 25 November 2024 13:06:38 -0500 (0:00:00.072) 0:06:10.495 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Monday 25 November 2024 13:06:38 -0500 (0:00:00.092) 0:06:10.587 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Monday 25 November 2024 13:06:39 -0500 (0:00:00.107) 0:06:10.695 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Monday 25 November 2024 13:06:39 -0500 (0:00:00.166) 0:06:10.861 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Monday 25 November 2024 13:06:39 -0500 (0:00:00.117) 0:06:10.979 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Monday 25 November 2024 13:06:39 -0500 (0:00:00.123) 0:06:11.102 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Monday 25 November 2024 13:06:39 -0500 (0:00:00.118) 0:06:11.221 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Monday 25 November 2024 13:06:39 -0500 (0:00:00.124) 0:06:11.346 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Monday 25 November 2024 13:06:39 -0500 (0:00:00.147) 0:06:11.493 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Monday 25 November 2024 13:06:39 -0500 (0:00:00.098) 0:06:11.592 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Monday 25 November 2024 13:06:40 -0500 (0:00:00.117) 0:06:11.709 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Monday 25 November 2024 13:06:40 -0500 (0:00:00.124) 0:06:11.834 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Monday 25 November 2024 13:06:40 -0500 (0:00:00.103) 0:06:11.938 ******* changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Monday 25 November 2024 13:06:41 -0500 (0:00:00.777) 0:06:12.716 ******* changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 13:05:51 EST", "ActiveEnterTimestampMonotonic": "1416505350", "ActiveExitTimestamp": "Mon 2024-11-25 13:05:50 EST", "ActiveExitTimestampMonotonic": "1416021679", "ActiveState": "active", "After": "auditd.service basic.target systemd-journald.socket -.mount system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 13:05:51 EST", "AssertTimestampMonotonic": "1416504617", "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": "Mon 2024-11-25 13:05:51 EST", "ConditionTimestampMonotonic": "1416504615", "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": "11016", "ExecMainStartTimestamp": "Mon 2024-11-25 13:05:51 EST", "ExecMainStartTimestampMonotonic": "1416505288", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Mon 2024-11-25 13:05:51 EST] ; stop_time=[n/a] ; pid=11016 ; 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": "Mon 2024-11-25 13:05:51 EST", "InactiveEnterTimestampMonotonic": "1416503250", "InactiveExitTimestamp": "Mon 2024-11-25 13:05:51 EST", "InactiveExitTimestampMonotonic": "1416505350", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11016", "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": "Mon 2024-11-25 13:05:51 EST", "WatchdogTimestampMonotonic": "1416505330", "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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Monday 25 November 2024 13:06:42 -0500 (0:00:01.070) 0:06:13.786 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Monday 25 November 2024 13:06:42 -0500 (0:00:00.083) 0:06:13.870 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:27 Monday 25 November 2024 13:06:42 -0500 (0:00:00.077) 0:06:13.948 ******* included: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Monday 25 November 2024 13:06:42 -0500 (0:00:00.149) 0:06:14.097 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Monday 25 November 2024 13:06:44 -0500 (0:00:01.786) 0:06:15.883 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Monday 25 November 2024 13:06:44 -0500 (0:00:00.105) 0:06:15.989 ******* ok: [managed-node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Monday 25 November 2024 13:06:44 -0500 (0:00:00.088) 0:06:16.077 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Monday 25 November 2024 13:06:44 -0500 (0:00:00.202) 0:06:16.280 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Monday 25 November 2024 13:06:44 -0500 (0:00:00.164) 0:06:16.444 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Monday 25 November 2024 13:06:44 -0500 (0:00:00.102) 0:06:16.547 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Monday 25 November 2024 13:06:45 -0500 (0:00:00.692) 0:06:17.239 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Monday 25 November 2024 13:06:45 -0500 (0:00:00.240) 0:06:17.479 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Monday 25 November 2024 13:06:46 -0500 (0:00:00.677) 0:06:18.157 ******* ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Monday 25 November 2024 13:06:46 -0500 (0:00:00.086) 0:06:18.243 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Monday 25 November 2024 13:06:47 -0500 (0:00:00.604) 0:06:18.847 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Monday 25 November 2024 13:06:47 -0500 (0:00:00.075) 0:06:18.923 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Monday 25 November 2024 13:06:47 -0500 (0:00:00.081) 0:06:19.004 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Monday 25 November 2024 13:06:47 -0500 (0:00:00.076) 0:06:19.080 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Monday 25 November 2024 13:06:47 -0500 (0:00:00.089) 0:06:19.169 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Monday 25 November 2024 13:06:47 -0500 (0:00:00.095) 0:06:19.265 ******* ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:54:09 EST", "ActiveEnterTimestampMonotonic": "714349698", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:54:08 EST", "AssertTimestampMonotonic": "714075351", "Before": "shutdown.target network-pre.target multi-user.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": "Mon 2024-11-25 12:54:08 EST", "ConditionTimestampMonotonic": "714075350", "Conflicts": "ip6tables.service iptables.service ipset.service shutdown.target 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": "20743", "ExecMainStartTimestamp": "Mon 2024-11-25 12:54:08 EST", "ExecMainStartTimestampMonotonic": "714076666", "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": "Mon 2024-11-25 12:54:08 EST", "InactiveExitTimestampMonotonic": "714076695", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20743", "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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-25 12:54:09 EST", "WatchdogTimestampMonotonic": "714349646", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Monday 25 November 2024 13:06:48 -0500 (0:00:00.475) 0:06:19.740 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-25 12:54:09 EST", "ActiveEnterTimestampMonotonic": "714349698", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice dbus.service polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-25 12:54:08 EST", "AssertTimestampMonotonic": "714075351", "Before": "shutdown.target network-pre.target multi-user.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": "Mon 2024-11-25 12:54:08 EST", "ConditionTimestampMonotonic": "714075350", "Conflicts": "ip6tables.service iptables.service ipset.service shutdown.target 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": "20743", "ExecMainStartTimestamp": "Mon 2024-11-25 12:54:08 EST", "ExecMainStartTimestampMonotonic": "714076666", "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": "Mon 2024-11-25 12:54:08 EST", "InactiveExitTimestampMonotonic": "714076695", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20743", "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": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Mon 2024-11-25 12:54:09 EST", "WatchdogTimestampMonotonic": "714349646", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Monday 25 November 2024 13:06:48 -0500 (0:00:00.469) 0:06:20.210 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Monday 25 November 2024 13:06:48 -0500 (0:00:00.081) 0:06:20.292 ******* ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.11.174 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Monday 25 November 2024 13:06:49 -0500 (0:00:00.346) 0:06:20.638 ******* ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Monday 25 November 2024 13:06:49 -0500 (0:00:00.081) 0:06:20.720 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Monday 25 November 2024 13:06:49 -0500 (0:00:00.073) 0:06:20.794 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Monday 25 November 2024 13:06:49 -0500 (0:00:00.204) 0:06:20.998 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Monday 25 November 2024 13:06:49 -0500 (0:00:00.088) 0:06:21.087 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Monday 25 November 2024 13:06:49 -0500 (0:00:00.077) 0:06:21.165 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Monday 25 November 2024 13:06:49 -0500 (0:00:00.094) 0:06:21.259 ******* ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.11.174 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Monday 25 November 2024 13:06:50 -0500 (0:00:00.369) 0:06:21.629 ******* ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Monday 25 November 2024 13:06:50 -0500 (0:00:00.088) 0:06:21.717 ******* skipping: [managed-node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Monday 25 November 2024 13:06:50 -0500 (0:00:00.084) 0:06:21.802 ******* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Monday 25 November 2024 13:06:50 -0500 (0:00:00.188) 0:06:21.990 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Monday 25 November 2024 13:06:50 -0500 (0:00:00.138) 0:06:22.128 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Monday 25 November 2024 13:06:50 -0500 (0:00:00.115) 0:06:22.244 ******* included: /tmp/collections-MPy/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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Monday 25 November 2024 13:06:50 -0500 (0:00:00.142) 0:06:22.387 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Monday 25 November 2024 13:06:51 -0500 (0:00:00.356) 0:06:22.743 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Monday 25 November 2024 13:06:51 -0500 (0:00:00.218) 0:06:22.961 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Monday 25 November 2024 13:06:51 -0500 (0:00:00.374) 0:06:23.335 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Monday 25 November 2024 13:06:51 -0500 (0:00:00.088) 0:06:23.424 ******* 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" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Monday 25 November 2024 13:06:52 -0500 (0:00:00.587) 0:06:24.012 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Monday 25 November 2024 13:06:52 -0500 (0:00:00.083) 0:06:24.095 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Monday 25 November 2024 13:06:52 -0500 (0:00:00.076) 0:06:24.171 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Monday 25 November 2024 13:06:52 -0500 (0:00:00.079) 0:06:24.251 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Monday 25 November 2024 13:06:52 -0500 (0:00:00.088) 0:06:24.339 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Monday 25 November 2024 13:06:52 -0500 (0:00:00.074) 0:06:24.414 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Monday 25 November 2024 13:06:52 -0500 (0:00:00.075) 0:06:24.490 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Monday 25 November 2024 13:06:53 -0500 (0:00:00.581) 0:06:25.072 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Monday 25 November 2024 13:06:53 -0500 (0:00:00.077) 0:06:25.149 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Monday 25 November 2024 13:06:53 -0500 (0:00:00.079) 0:06:25.229 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Monday 25 November 2024 13:06:53 -0500 (0:00:00.084) 0:06:25.314 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Monday 25 November 2024 13:06:53 -0500 (0:00:00.214) 0:06:25.529 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Monday 25 November 2024 13:06:53 -0500 (0:00:00.077) 0:06:25.606 ******* 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.348683", "end": "2024-11-25 13:06:54.609600", "rc": 0, "start": "2024-11-25 13:06:54.260917" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Monday 25 November 2024 13:06:54 -0500 (0:00:00.711) 0:06:26.318 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Monday 25 November 2024 13:06:54 -0500 (0:00:00.089) 0:06:26.407 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Monday 25 November 2024 13:06:54 -0500 (0:00:00.076) 0:06:26.484 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Monday 25 November 2024 13:06:54 -0500 (0:00:00.078) 0:06:26.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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Monday 25 November 2024 13:06:55 -0500 (0:00:00.078) 0:06:26.642 ******* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Monday 25 November 2024 13:06:55 -0500 (0:00:00.074) 0:06:26.716 ******* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Monday 25 November 2024 13:06:55 -0500 (0:00:00.077) 0:06:26.794 ******* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Monday 25 November 2024 13:06:55 -0500 (0:00:00.074) 0:06:26.869 ******* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Monday 25 November 2024 13:06:55 -0500 (0:00:00.078) 0:06:26.947 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Monday 25 November 2024 13:06:58 -0500 (0:00:02.952) 0:06:29.900 ******* 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-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Monday 25 November 2024 13:06:58 -0500 (0:00:00.230) 0:06:30.130 ******* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Monday 25 November 2024 13:06:58 -0500 (0:00:00.103) 0:06:30.233 ******* TASK [Leave realm] ************************************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Monday 25 November 2024 13:06:58 -0500 (0:00:00.103) 0:06:30.337 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Monday 25 November 2024 13:06:58 -0500 (0:00:00.150) 0:06:30.487 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Monday 25 November 2024 13:06:59 -0500 (0:00:00.134) 0:06:30.622 ******* 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:15.0.4375.4-1 will be erased\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql18 to be removed - no longer needed by mssql-tools18\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 718 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : mssql-tools18-18.4.1.1-1.x86_64 2/17 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/17 \nODBC Driver 18 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 4/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 5/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 6/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 7/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 8/17 \n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 3/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 4/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 5/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/17 \n Verifying : lsof-4.87-6.el7.x86_64 7/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 9/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 12/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 13/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 14/17 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 15/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 16/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools18.x86_64 0:18.4.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql18.x86_64 0:18.4.1.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Monday 25 November 2024 13:07:03 -0500 (0:00:04.138) 0:06:34.760 ******* [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.010808", "end": "2024-11-25 13:07:03.449945", "rc": 0, "start": "2024-11-25 13:07:03.439137" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/46ebd8ca-d26a-41d7-802a-90af85c72bba’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/system_health_0_133770315541620000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133770316050100000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133770314795380000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133770314253360000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133770313662800000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133770313188010000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133770313668810000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133770316056300000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133770312930750000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133770314247730000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133770312874450000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133770312882000000.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_133770314789680000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133770315536240000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133770312923480000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133770313182640000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools18’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Monday 25 November 2024 13:07:03 -0500 (0:00:00.565) 0:06:35.326 ******* ok: [managed-node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.365850", "end": "2024-11-25 13:07:04.334726", "rc": 0, "start": "2024-11-25 13:07:03.968876" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Monday 25 November 2024 13:07:04 -0500 (0:00:00.664) 0:06:35.990 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.849912", "end": "2024-11-25 13:07:06.583972", "rc": 0, "start": "2024-11-25 13:07:04.734060" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=396 changed=62 unreachable=0 failed=0 skipped=902 rescued=0 ignored=0 Monday 25 November 2024 13:07:06 -0500 (0:00:02.259) 0:06:38.250 ******* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 44.48s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 6.22s /tmp/collections-MPy/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.77s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.76s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.65s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Remove related packages ------------------------------------------------- 4.14s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.95s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Test with certs created by the certificate role ------------------------- 2.74s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Disable TLS encryption -------------------------------------------------- 2.43s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.26s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.85s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.81s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Gather package facts ---------------------------------------------------- 1.79s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.74s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.61s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.60s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.59s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Wait for mssql-server to prepare for client connections ----------------- 1.59s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.58s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Copy certificates to hosts ---------------------------------------------- 1.51s /tmp/collections-MPy/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107