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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:5 Tuesday 12 November 2024 09:46:43 -0500 (0:00:00.025) 0:00:00.025 ****** 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-WJy/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Tuesday 12 November 2024 09:46:43 -0500 (0:00:00.021) 0:00:00.046 ****** ok: [managed-node2] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:23 Tuesday 12 November 2024 09:46:44 -0500 (0:00:00.925) 0:00:00.972 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Tuesday 12 November 2024 09:46:44 -0500 (0:00:00.104) 0:00:01.077 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Tuesday 12 November 2024 09:46:44 -0500 (0:00:00.038) 0:00:01.115 ****** ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Tuesday 12 November 2024 09:46:45 -0500 (0:00:00.369) 0:00:01.485 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Tuesday 12 November 2024 09:46:45 -0500 (0:00:00.030) 0:00:01.516 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Tuesday 12 November 2024 09:46:45 -0500 (0:00:00.023) 0:00:01.539 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } lsrpackages: openssl TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Tuesday 12 November 2024 09:46:45 -0500 (0:00:00.744) 0:00:02.284 ****** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Z7LgoC", "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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Tuesday 12 November 2024 09:46:46 -0500 (0:00:00.379) 0:00:02.664 ****** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.B9IvqI", "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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Tuesday 12 November 2024 09:46:46 -0500 (0:00:00.276) 0:00:02.941 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.45.44", "-out", "/tmp/ansible.Z7LgoC", "-keyout", "/tmp/ansible.B9IvqI", "-days", "365" ], "delta": "0:00:00.033415", "end": "2024-11-12 09:46:46.832504", "rc": 0, "start": "2024-11-12 09:46:46.799089" } STDERR: Generating a 2048 bit RSA private key ..............+++ .....+++ writing new private key to '/tmp/ansible.B9IvqI' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Tuesday 12 November 2024 09:46:46 -0500 (0:00:00.411) 0:00:03.352 ****** changed: [managed-node2] => (item=/tmp/ansible.Z7LgoC) => { "ansible_loop_var": "item", "changed": true, "checksum": "cc94981926e737e01e96505c8f4ce740808c22d7", "dest": "/tmp/ansible.Z7LgoC", "item": "/tmp/ansible.Z7LgoC", "md5sum": "1f33e7aa5c619b23cc36c48ff80260fa", "remote_checksum": "cc94981926e737e01e96505c8f4ce740808c22d7", "remote_md5sum": null } changed: [managed-node2] => (item=/tmp/ansible.B9IvqI) => { "ansible_loop_var": "item", "changed": true, "checksum": "40e9cd9579f573c66470e09dc0e62db2552fbabc", "dest": "/tmp/ansible.B9IvqI", "item": "/tmp/ansible.B9IvqI", "md5sum": "24ea3fde76c5a8a5c24fb3604a5c2ea7", "remote_checksum": "40e9cd9579f573c66470e09dc0e62db2552fbabc", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Tuesday 12 November 2024 09:46:47 -0500 (0:00:00.741) 0:00:04.093 ****** changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "40e9cd9579f573c66470e09dc0e62db2552fbabc", "dest": "./ansible.B9IvqI", "gid": 0, "group": "root", "md5sum": "24ea3fde76c5a8a5c24fb3604a5c2ea7", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1731422807.65-6155-72650803559690/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.420) 0:00:04.514 ****** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Z7LgoC", "mssql_tls_private_key": "ansible.B9IvqI" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.023) 0:00:04.538 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.340) 0:00:04.878 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.032) 0:00:04.911 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.025) 0:00:04.936 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.057) 0:00:04.994 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.021) 0:00:05.016 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.021) 0:00:05.037 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.021) 0:00:05.059 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.022) 0:00:05.081 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.021) 0:00:05.103 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.020) 0:00:05.123 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.022) 0:00:05.145 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.020) 0:00:05.166 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.022) 0:00:05.188 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.025) 0:00:05.214 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.029) 0:00:05.243 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.021) 0:00:05.265 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.021) 0:00:05.286 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.023) 0:00:05.309 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.021) 0:00:05.331 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.075) 0:00:05.406 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:46:48 -0500 (0:00:00.022) 0:00:05.429 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:46:50 -0500 (0:00:01.428) 0:00:06.858 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:46:50 -0500 (0:00:00.112) 0:00:06.970 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:46:50 -0500 (0:00:00.058) 0:00:07.029 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:46:50 -0500 (0:00:00.064) 0:00:07.094 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:46:50 -0500 (0:00:00.094) 0:00:07.188 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:46:51 -0500 (0:00:00.679) 0:00:07.868 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:46:51 -0500 (0:00:00.060) 0:00:07.928 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:46:51 -0500 (0:00:00.059) 0:00:07.987 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:46:51 -0500 (0:00:00.062) 0:00:08.050 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:46:51 -0500 (0:00:00.096) 0:00:08.146 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:46:51 -0500 (0:00:00.060) 0:00:08.207 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:46:51 -0500 (0:00:00.060) 0:00:08.267 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:46:52 -0500 (0:00:00.464) 0:00:08.732 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:46:52 -0500 (0:00:00.059) 0:00:08.791 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:46:52 -0500 (0:00:00.585) 0:00:09.376 ****** 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 size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:47:33 -0500 (0:00:40.635) 0:00:50.011 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:47:33 -0500 (0:00:00.060) 0:00:50.072 ****** 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.005863", "end": "2024-11-12 09:47:33.866081", "rc": 0, "start": "2024-11-12 09:47:33.860218" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:47:33 -0500 (0:00:00.346) 0:00:50.418 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:47:35 -0500 (0:00:01.067) 0:00:51.485 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:47:35 -0500 (0:00:00.085) 0:00:51.571 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:47:35 -0500 (0:00:00.075) 0:00:51.646 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:47:40 -0500 (0:00:05.429) 0:00:57.076 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:47:40 -0500 (0:00:00.121) 0:00:57.197 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:47:40 -0500 (0:00:00.165) 0:00:57.363 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:47:40 -0500 (0:00:00.102) 0:00:57.465 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:47:41 -0500 (0:00:00.875) 0:00:58.341 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:31 EST", "ActiveEnterTimestampMonotonic": "11394727", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service basic.target network.target systemd-sysctl.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:30 EST", "AssertTimestampMonotonic": "10613619", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:29:30 EST", "ConditionTimestampMonotonic": "10613617", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:30 EST", "ExecMainStartTimestampMonotonic": "10615748", "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": "Tue 2024-11-12 09:29:30 EST", "InactiveExitTimestampMonotonic": "10615784", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:29:31 EST", "WatchdogTimestampMonotonic": "11394080", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:47:42 -0500 (0:00:01.082) 0:00:59.423 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.163489", "end": "2024-11-12 09:47:43.801307", "rc": 0, "start": "2024-11-12 09:47:43.637818" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:47:44 -0500 (0:00:01.055) 0:01:00.479 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:47:44 -0500 (0:00:00.096) 0:01:00.576 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:47:44 -0500 (0:00:00.108) 0:01:00.684 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:47:44 -0500 (0:00:00.092) 0:01:00.777 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:47:45 -0500 (0:00:00.702) 0:01:01.479 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:47:45 -0500 (0:00:00.102) 0:01:01.582 ****** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-tools", "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-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.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 msodbcsql17.x86_64 0:17.10.6.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-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 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 msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 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 size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\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 : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.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 : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.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 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:47:51 -0500 (0:00:05.973) 0:01:07.555 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:47:51 -0500 (0:00:00.103) 0:01:07.659 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:47:51 -0500 (0:00:00.106) 0:01:07.766 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:47:51 -0500 (0:00:00.108) 0:01:07.874 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:47:51 -0500 (0:00:00.103) 0:01:07.978 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:47:51 -0500 (0:00:00.109) 0:01:08.087 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:47:51 -0500 (0:00:00.105) 0:01:08.193 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:47:51 -0500 (0:00:00.174) 0:01:08.367 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.102) 0:01:08.469 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.094) 0:01:08.563 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.080) 0:01:08.644 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.077) 0:01:08.721 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.067) 0:01:08.789 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.064) 0:01:08.853 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.068) 0:01:08.922 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.065) 0:01:08.987 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:52 -0500 (0:00:00.148) 0:01:09.136 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003491", "end": "2024-11-12 09:47:52.957983", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:52.954492" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:53 -0500 (0:00:00.381) 0:01:09.518 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.124856", "end": "2024-11-12 09:47:53.422380", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:53.297524" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:53 -0500 (0:00:00.498) 0:01:10.017 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:47:53 -0500 (0:00:00.068) 0:01:10.085 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:47:53 -0500 (0:00:00.074) 0:01:10.160 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:47:53 -0500 (0:00:00.106) 0:01:10.266 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:47:53 -0500 (0:00:00.089) 0:01:10.356 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.157) 0:01:10.514 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.067) 0:01:10.582 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.068) 0:01:10.650 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.066) 0:01:10.717 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.068) 0:01:10.785 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.068) 0:01:10.853 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.072) 0:01:10.925 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:47:54 -0500 (0:00:00.070) 0:01:10.996 ****** changed: [managed-node2] => (item=/tmp/ansible.Z7LgoC) => { "ansible_loop_var": "item", "changed": true, "checksum": "cc94981926e737e01e96505c8f4ce740808c22d7", "dest": "/etc/pki/tls/certs/ansible.Z7LgoC", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Z7LgoC", "md5sum": "1f33e7aa5c619b23cc36c48ff80260fa", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1731422874.59-7626-102982075008699/source", "state": "file", "uid": 996 } changed: [managed-node2] => (item=ansible.B9IvqI) => { "ansible_loop_var": "item", "changed": true, "checksum": "40e9cd9579f573c66470e09dc0e62db2552fbabc", "dest": "/etc/pki/tls/private/ansible.B9IvqI", "gid": 994, "group": "mssql", "item": "ansible.B9IvqI", "md5sum": "24ea3fde76c5a8a5c24fb3604a5c2ea7", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1731422875.23-7626-238572803339052/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:47:55 -0500 (0:00:01.311) 0:01:12.307 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:55 -0500 (0:00:00.133) 0:01:12.441 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003298", "end": "2024-11-12 09:47:56.277702", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:56.274404" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:56 -0500 (0:00:00.397) 0:01:12.838 ****** 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.Z7LgoC" ], "delta": "0:00:00.124969", "end": "2024-11-12 09:47:56.774611", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:56.649642" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:56 -0500 (0:00:00.504) 0:01:13.343 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:47:56 -0500 (0:00:00.097) 0:01:13.440 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:57 -0500 (0:00:00.274) 0:01:13.715 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003266", "end": "2024-11-12 09:47:57.531173", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:57.527907" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:57 -0500 (0:00:00.375) 0:01:14.090 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.B9IvqI" ], "delta": "0:00:00.125141", "end": "2024-11-12 09:47:58.041304", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:57.916163" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:58 -0500 (0:00:00.525) 0:01:14.616 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:47:58 -0500 (0:00:00.077) 0:01:14.694 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:58 -0500 (0:00:00.157) 0:01:14.851 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003298", "end": "2024-11-12 09:47:58.668720", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:58.665422" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:58 -0500 (0:00:00.397) 0:01:15.249 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.124616", "end": "2024-11-12 09:47:59.165428", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:59.040812" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:59 -0500 (0:00:00.508) 0:01:15.757 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:47:59 -0500 (0:00:00.076) 0:01:15.834 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:59 -0500 (0:00:00.161) 0:01:15.995 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003384", "end": "2024-11-12 09:47:59.805249", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:59.801865" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:59 -0500 (0:00:00.390) 0:01:16.386 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.123972", "end": "2024-11-12 09:48:00.344117", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:00.220145" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.587) 0:01:16.973 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.071) 0:01:17.045 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.071) 0:01:17.116 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.066) 0:01:17.183 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.069) 0:01:17.253 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.070) 0:01:17.323 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.071) 0:01:17.395 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:48:00 -0500 (0:00:00.067) 0:01:17.462 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.070) 0:01:17.533 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.071) 0:01:17.604 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.070) 0:01:17.675 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.085) 0:01:17.760 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.066) 0:01:17.826 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.067) 0:01:17.894 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.075) 0:01:17.969 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.098) 0:01:18.068 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.089) 0:01:18.158 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.089) 0:01:18.248 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.071) 0:01:18.319 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:48:01 -0500 (0:00:00.067) 0:01:18.387 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.164) 0:01:18.552 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.091) 0:01:18.643 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.091) 0:01:18.735 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.089) 0:01:18.825 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.066) 0:01:18.891 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.068) 0:01:18.959 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.065) 0:01:19.024 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.066) 0:01:19.091 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.065) 0:01:19.157 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.094) 0:01:19.251 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.101) 0:01:19.353 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:48:02 -0500 (0:00:00.086) 0:01:19.440 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.108) 0:01:19.549 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.068) 0:01:19.617 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.066) 0:01:19.684 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.066) 0:01:19.750 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.081) 0:01:19.832 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.065) 0:01:19.898 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.067) 0:01:19.965 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.087) 0:01:20.053 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.136) 0:01:20.190 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.067) 0:01:20.258 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.066) 0:01:20.325 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:48:03 -0500 (0:00:00.081) 0:01:20.406 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.095) 0:01:20.502 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.120) 0:01:20.623 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.101) 0:01:20.725 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.103) 0:01:20.828 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.116) 0:01:20.944 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.085) 0:01:21.029 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.083) 0:01:21.113 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.075) 0:01:21.189 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.102) 0:01:21.292 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.088) 0:01:21.380 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:48:04 -0500 (0:00:00.083) 0:01:21.464 ****** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:48:05 -0500 (0:00:00.595) 0:01:22.060 ****** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:47:40 EST", "ActiveEnterTimestampMonotonic": "1100545208", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "auditd.service system.slice -.mount basic.target network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:47:40 EST", "AssertTimestampMonotonic": "1100543446", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:47:40 EST", "ConditionTimestampMonotonic": "1100543445", "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": "32108", "ExecMainStartTimestamp": "Tue 2024-11-12 09:47:40 EST", "ExecMainStartTimestampMonotonic": "1100544226", "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": "Tue 2024-11-12 09:47:40 EST", "InactiveExitTimestampMonotonic": "1100545208", "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": "32108", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:47:40 EST", "WatchdogTimestampMonotonic": "1100545176", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:48:06 -0500 (0:00:00.792) 0:01:22.852 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:48:06 -0500 (0:00:00.077) 0:01:22.929 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Tuesday 12 November 2024 09:48:06 -0500 (0:00:00.072) 0:01:23.002 ****** changed: [managed-node2 -> localhost] => { "changed": true, "path": "ansible.B9IvqI", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Tuesday 12 November 2024 09:48:06 -0500 (0:00:00.325) 0:01:23.328 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Tuesday 12 November 2024 09:48:06 -0500 (0:00:00.120) 0:01:23.448 ****** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Tuesday 12 November 2024 09:48:07 -0500 (0:00:00.549) 0:01:23.997 ****** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Tuesday 12 November 2024 09:48:08 -0500 (0:00:00.488) 0:01:24.486 ****** ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Tuesday 12 November 2024 09:48:08 -0500 (0:00:00.922) 0:01:25.409 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.230) 0:01:25.639 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.170) 0:01:25.810 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.104) 0:01:25.915 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.107) 0:01:26.022 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.116) 0:01:26.139 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.101) 0:01:26.240 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.102) 0:01:26.343 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 12 November 2024 09:48:09 -0500 (0:00:00.098) 0:01:26.441 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 12 November 2024 09:48:10 -0500 (0:00:00.101) 0:01:26.543 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:48:10 -0500 (0:00:00.200) 0:01:26.744 ****** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:06 EST", "ActiveEnterTimestampMonotonic": "1126547674", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:05 EST", "ActiveExitTimestampMonotonic": "1126276130", "ActiveState": "active", "After": "system.slice systemd-journald.socket -.mount network.target basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:06 EST", "AssertTimestampMonotonic": "1126546882", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:48:06 EST", "ConditionTimestampMonotonic": "1126546881", "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": "968", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:06 EST", "ExecMainStartTimestampMonotonic": "1126547595", "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": "Tue 2024-11-12 09:48:06 EST", "InactiveEnterTimestampMonotonic": "1126545434", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:06 EST", "InactiveExitTimestampMonotonic": "1126547674", "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": "968", "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": "Tue 2024-11-12 09:48:06 EST", "WatchdogTimestampMonotonic": "1126547651", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:48:10 -0500 (0:00:00.592) 0:01:27.337 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003272", "end": "2024-11-12 09:48:11.118543", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:48:11.115271" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:48:11 -0500 (0:00:00.388) 0:01:27.725 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003327", "end": "2024-11-12 09:48:11.551319", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:48:11.547992" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:48:11 -0500 (0:00:00.451) 0:01:28.177 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 12 November 2024 09:48:11 -0500 (0:00:00.123) 0:01:28.301 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 12 November 2024 09:48:13 -0500 (0:00:01.639) 0:01:29.940 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024546", "end": "2024-11-12 09:48:13.778038", "rc": 0, "start": "2024-11-12 09:48:13.753492" } 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 12 November 2024 09:48:13 -0500 (0:00:00.450) 0:01:30.391 ****** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.109) 0:01:30.501 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.106) 0:01:30.607 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.102) 0:01:30.709 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.097) 0:01:30.807 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.104) 0:01:30.911 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.101) 0:01:31.013 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.102) 0:01:31.115 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.100) 0:01:31.215 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:48:14 -0500 (0:00:00.207) 0:01:31.423 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004378", "end": "2024-11-12 09:48:15.241544", "rc": 0, "start": "2024-11-12 09:48:15.237166" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Z7LgoC TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:48:15 -0500 (0:00:00.425) 0:01:31.848 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:48:15 -0500 (0:00:00.131) 0:01:31.980 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Z7LgoC] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:48:15 -0500 (0:00:00.111) 0:01:32.092 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 12 November 2024 09:48:15 -0500 (0:00:00.105) 0:01:32.197 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:48:16 -0500 (0:00:00.275) 0:01:32.472 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004302", "end": "2024-11-12 09:48:16.305422", "rc": 0, "start": "2024-11-12 09:48:16.301120" } STDOUT: tlskey = /etc/pki/tls/private/ansible.B9IvqI TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:48:16 -0500 (0:00:00.434) 0:01:32.907 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:48:16 -0500 (0:00:00.131) 0:01:33.039 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.B9IvqI] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:48:16 -0500 (0:00:00.115) 0:01:33.154 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 12 November 2024 09:48:16 -0500 (0:00:00.111) 0:01:33.266 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:48:17 -0500 (0:00:00.213) 0:01:33.479 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004739", "end": "2024-11-12 09:48:17.307771", "rc": 0, "start": "2024-11-12 09:48:17.303032" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:48:17 -0500 (0:00:00.437) 0:01:33.916 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:48:17 -0500 (0:00:00.121) 0:01:34.038 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:48:17 -0500 (0:00:00.116) 0:01:34.155 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 12 November 2024 09:48:17 -0500 (0:00:00.111) 0:01:34.267 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:48:18 -0500 (0:00:00.209) 0:01:34.476 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004509", "end": "2024-11-12 09:48:18.312886", "rc": 0, "start": "2024-11-12 09:48:18.308377" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:48:18 -0500 (0:00:00.446) 0:01:34.922 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:48:18 -0500 (0:00:00.090) 0:01:35.013 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:48:18 -0500 (0:00:00.102) 0:01:35.115 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 12 November 2024 09:48:18 -0500 (0:00:00.066) 0:01:35.182 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Tuesday 12 November 2024 09:48:18 -0500 (0:00:00.161) 0:01:35.344 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:48:19 -0500 (0:00:00.420) 0:01:35.764 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:48:19 -0500 (0:00:00.172) 0:01:35.937 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:48:19 -0500 (0:00:00.125) 0:01:36.062 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:48:19 -0500 (0:00:00.152) 0:01:36.215 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:48:19 -0500 (0:00:00.105) 0:01:36.320 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:48:19 -0500 (0:00:00.107) 0:01:36.428 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.103) 0:01:36.532 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.115) 0:01:36.647 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.118) 0:01:36.766 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.101) 0:01:36.867 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.102) 0:01:36.970 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.104) 0:01:37.075 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.103) 0:01:37.179 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:48:20 -0500 (0:00:00.189) 0:01:37.368 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:48:21 -0500 (0:00:00.119) 0:01:37.487 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:48:21 -0500 (0:00:00.109) 0:01:37.597 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:48:21 -0500 (0:00:00.113) 0:01:37.710 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:48:21 -0500 (0:00:00.121) 0:01:37.832 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:48:21 -0500 (0:00:00.108) 0:01:37.940 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:48:21 -0500 (0:00:00.099) 0:01:38.040 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:48:21 -0500 (0:00:00.079) 0:01:38.119 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:48:22 -0500 (0:00:01.258) 0:01:39.377 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:48:23 -0500 (0:00:00.302) 0:01:39.680 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:48:23 -0500 (0:00:00.105) 0:01:39.786 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:48:23 -0500 (0:00:00.094) 0:01:39.881 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:48:23 -0500 (0:00:00.261) 0:01:40.143 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.828) 0:01:40.971 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.091) 0:01:41.063 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.079) 0:01:41.142 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.075) 0:01:41.218 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.072) 0:01:41.290 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.101) 0:01:41.391 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:48:25 -0500 (0:00:00.118) 0:01:41.510 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:48:25 -0500 (0:00:00.144) 0:01:41.655 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:48:25 -0500 (0:00:00.111) 0:01:41.766 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.732) 0:01:42.499 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.886) 0:01:43.386 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.167) 0:01:43.553 ****** 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.005402", "end": "2024-11-12 09:48:27.641037", "rc": 0, "start": "2024-11-12 09:48:27.635635" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.814) 0:01:44.368 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:48:29 -0500 (0:00:01.601) 0:01:45.970 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.305) 0:01:46.276 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.133) 0:01:46.409 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.137) 0:01:46.547 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.152) 0:01:46.699 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.175) 0:01:46.874 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.170) 0:01:47.045 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.948) 0:01:47.994 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:31 EST", "ActiveEnterTimestampMonotonic": "11394727", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:30 EST", "AssertTimestampMonotonic": "10613619", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:29:30 EST", "ConditionTimestampMonotonic": "10613617", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:30 EST", "ExecMainStartTimestampMonotonic": "10615748", "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": "Tue 2024-11-12 09:29:30 EST", "InactiveExitTimestampMonotonic": "10615784", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service 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": "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": "Tue 2024-11-12 09:29:31 EST", "WatchdogTimestampMonotonic": "11394080", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.996) 0:01:48.990 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092874", "end": "2024-11-12 09:48:32.945566", "rc": 0, "start": "2024-11-12 09:48:32.852692" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.560) 0:01:49.551 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.116) 0:01:49.667 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.112) 0:01:49.779 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.114) 0:01:49.894 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:48:34 -0500 (0:00:00.729) 0:01:50.624 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:48:34 -0500 (0:00:00.139) 0:01:50.763 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.885) 0:01:51.648 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.173) 0:01:51.822 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.076) 0:01:51.899 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.076) 0:01:51.975 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.072) 0:01:52.047 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.082) 0:01:52.130 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.117) 0:01:52.247 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:48:35 -0500 (0:00:00.112) 0:01:52.359 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:48:36 -0500 (0:00:00.121) 0:01:52.480 ****** 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.005295", "end": "2024-11-12 09:48:36.527631", "rc": 0, "start": "2024-11-12 09:48:36.522336" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:48:36 -0500 (0:00:00.726) 0:01:53.207 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:48:36 -0500 (0:00:00.119) 0:01:53.327 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:48:38 -0500 (0:00:01.515) 0:01:54.842 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:48:38 -0500 (0:00:00.134) 0:01:54.976 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:48:38 -0500 (0:00:00.097) 0:01:55.074 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:48:38 -0500 (0:00:00.153) 0:01:55.228 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:48:38 -0500 (0:00:00.074) 0:01:55.303 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:39 -0500 (0:00:00.179) 0:01:55.482 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003779", "end": "2024-11-12 09:48:39.275563", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:48:39.271784" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:39 -0500 (0:00:00.419) 0:01:55.901 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.127470", "end": "2024-11-12 09:48:39.861266", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:39.733796" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.629) 0:01:56.531 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.164) 0:01:56.695 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.106) 0:01:56.802 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.188) 0:01:56.991 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.204) 0:01:57.195 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.229) 0:01:57.424 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.198) 0:01:57.622 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.121) 0:01:57.744 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.158) 0:01:57.902 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.122) 0:01:58.025 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.118) 0:01:58.145 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.109) 0:01:58.254 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.308) 0:01:58.563 ****** skipping: [managed-node2] => (item=/tmp/ansible.Z7LgoC) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Z7LgoC", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.B9IvqI) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.B9IvqI", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.154) 0:01:58.717 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.237) 0:01:58.954 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003339", "end": "2024-11-12 09:48:42.885682", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:42.882343" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Z7LgoC TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.513) 0:01:59.468 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:43 -0500 (0:00:00.081) 0:01:59.550 ****** 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.126659", "end": "2024-11-12 09:48:43.521945", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:43.395286" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:48:43 -0500 (0:00:00.572) 0:02:00.122 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:43 -0500 (0:00:00.173) 0:02:00.295 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003294", "end": "2024-11-12 09:48:44.108446", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:44.105152" } STDOUT: tlskey = /etc/pki/tls/private/ansible.B9IvqI TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:44 -0500 (0:00:00.435) 0:02:00.731 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:44 -0500 (0:00:00.133) 0:02:00.864 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.127753", "end": "2024-11-12 09:48:44.843600", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:44.715847" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:48:45 -0500 (0:00:00.694) 0:02:01.559 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:45 -0500 (0:00:00.288) 0:02:01.847 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003303", "end": "2024-11-12 09:48:45.688297", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:45.684994" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:45 -0500 (0:00:00.449) 0:02:02.296 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:46 -0500 (0:00:00.219) 0:02:02.516 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.125281", "end": "2024-11-12 09:48:46.479956", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:46.354675" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:48:46 -0500 (0:00:00.575) 0:02:03.092 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:46 -0500 (0:00:00.174) 0:02:03.266 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003366", "end": "2024-11-12 09:48:47.079679", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:47.076313" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:47 -0500 (0:00:00.401) 0:02:03.668 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:47 -0500 (0:00:00.079) 0:02:03.747 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.125960", "end": "2024-11-12 09:48:47.700975", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:47.575015" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:48:47 -0500 (0:00:00.699) 0:02:04.447 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.206) 0:02:04.653 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.170) 0:02:04.824 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.127) 0:02:04.952 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.123) 0:02:05.075 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.094) 0:02:05.170 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.092) 0:02:05.262 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.110) 0:02:05.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 proper configuration on user] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.113) 0:02:05.486 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.113) 0:02:05.599 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.215) 0:02:05.814 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.145) 0:02:05.960 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.130) 0:02:06.090 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.114) 0:02:06.205 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.122) 0:02:06.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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.111) 0:02:06.439 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:48:50 -0500 (0:00:00.108) 0:02:06.547 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:48:50 -0500 (0:00:00.109) 0:02:06.657 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:48:50 -0500 (0:00:00.169) 0:02:06.827 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:48:50 -0500 (0:00:00.195) 0:02:07.022 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:48:50 -0500 (0:00:00.238) 0:02:07.261 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:48:50 -0500 (0:00:00.127) 0:02:07.389 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.114) 0:02:07.503 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.137) 0:02:07.641 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.125) 0:02:07.766 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.160) 0:02:07.927 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.116) 0:02:08.044 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.126) 0:02:08.170 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.136) 0:02:08.306 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.200) 0:02:08.507 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.108) 0:02:08.615 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.134) 0:02:08.750 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.102) 0:02:08.852 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.111) 0:02:08.964 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.112) 0:02:09.077 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.108) 0:02:09.186 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.111) 0:02:09.298 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:48:52 -0500 (0:00:00.108) 0:02:09.406 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.110) 0:02:09.517 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.107) 0:02:09.624 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.106) 0:02:09.731 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.106) 0:02:09.837 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.112) 0:02:09.949 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.106) 0:02:10.056 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.127) 0:02:10.183 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.108) 0:02:10.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:48:53 -0500 (0:00:00.106) 0:02:10.398 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.106) 0:02:10.505 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.107) 0:02:10.612 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.204) 0:02:10.817 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.108) 0:02:10.925 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.187) 0:02:11.113 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.131) 0:02:11.245 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.136) 0:02:11.381 ****** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:48:55 -0500 (0:00:00.776) 0:02:12.158 ****** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:06 EST", "ActiveEnterTimestampMonotonic": "1126547674", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:05 EST", "ActiveExitTimestampMonotonic": "1126276130", "ActiveState": "active", "After": "system.slice systemd-journald.socket -.mount network.target basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:06 EST", "AssertTimestampMonotonic": "1126546882", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:48:06 EST", "ConditionTimestampMonotonic": "1126546881", "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": "968", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:06 EST", "ExecMainStartTimestampMonotonic": "1126547595", "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": "Tue 2024-11-12 09:48:06 EST", "InactiveEnterTimestampMonotonic": "1126545434", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:06 EST", "InactiveExitTimestampMonotonic": "1126547674", "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": "968", "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": "Tue 2024-11-12 09:48:06 EST", "WatchdogTimestampMonotonic": "1126547651", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:48:56 -0500 (0:00:01.174) 0:02:13.333 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:48:56 -0500 (0:00:00.119) 0:02:13.453 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Tuesday 12 November 2024 09:48:57 -0500 (0:00:00.112) 0:02:13.566 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 12 November 2024 09:48:57 -0500 (0:00:00.483) 0:02:14.049 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 12 November 2024 09:48:57 -0500 (0:00:00.102) 0:02:14.151 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 12 November 2024 09:48:57 -0500 (0:00:00.117) 0:02:14.268 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 12 November 2024 09:48:57 -0500 (0:00:00.138) 0:02:14.407 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.126) 0:02:14.534 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.240) 0:02:14.774 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.116) 0:02:14.890 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.115) 0:02:15.006 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.110) 0:02:15.117 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.295) 0:02:15.412 ****** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:56 EST", "ActiveEnterTimestampMonotonic": "1176951823", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:56 EST", "ActiveExitTimestampMonotonic": "1176503455", "ActiveState": "active", "After": "system.slice systemd-journald.socket -.mount network.target basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:56 EST", "AssertTimestampMonotonic": "1176951076", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:48:56 EST", "ConditionTimestampMonotonic": "1176951075", "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": "3195", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:56 EST", "ExecMainStartTimestampMonotonic": "1176951748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:48:56 EST] ; stop_time=[n/a] ; pid=3195 ; 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": "Tue 2024-11-12 09:48:56 EST", "InactiveEnterTimestampMonotonic": "1176949548", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:56 EST", "InactiveExitTimestampMonotonic": "1176951823", "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": "3195", "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": "Tue 2024-11-12 09:48:56 EST", "WatchdogTimestampMonotonic": "1176951799", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:49:00 -0500 (0:00:01.199) 0:02:16.612 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.006435", "end": "2024-11-12 09:49:00.683057", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:00.676622" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:49:00 -0500 (0:00:00.710) 0:02:17.323 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003737", "end": "2024-11-12 09:49:01.116388", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:01.112651" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:49:01 -0500 (0:00:00.364) 0:02:17.687 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 12 November 2024 09:49:01 -0500 (0:00:00.152) 0:02:17.840 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 12 November 2024 09:49:03 -0500 (0:00:01.759) 0:02:19.600 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025569", "end": "2024-11-12 09:49:03.654621", "rc": 0, "start": "2024-11-12 09:49:03.629052" } 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 12 November 2024 09:49:03 -0500 (0:00:00.677) 0:02:20.278 ****** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.248) 0:02:20.527 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.111) 0:02:20.639 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.123) 0:02:20.763 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.124) 0:02:20.887 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.122) 0:02:21.009 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.129) 0:02:21.139 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.166) 0:02:21.305 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.111) 0:02:21.416 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:05 -0500 (0:00:00.235) 0:02:21.651 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004719", "end": "2024-11-12 09:49:05.509927", "rc": 0, "start": "2024-11-12 09:49:05.505208" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:05 -0500 (0:00:00.588) 0:02:22.240 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:06 -0500 (0:00:00.238) 0:02:22.479 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:06 -0500 (0:00:00.222) 0:02:22.701 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 12 November 2024 09:49:06 -0500 (0:00:00.115) 0:02:22.816 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:06 -0500 (0:00:00.189) 0:02:23.006 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004506", "end": "2024-11-12 09:49:06.795914", "rc": 0, "start": "2024-11-12 09:49:06.791408" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:06 -0500 (0:00:00.355) 0:02:23.361 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:07 -0500 (0:00:00.160) 0:02:23.522 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:07 -0500 (0:00:00.080) 0:02:23.602 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 12 November 2024 09:49:07 -0500 (0:00:00.076) 0:02:23.678 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:07 -0500 (0:00:00.150) 0:02:23.829 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004520", "end": "2024-11-12 09:49:07.648536", "rc": 0, "start": "2024-11-12 09:49:07.644016" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:07 -0500 (0:00:00.473) 0:02:24.303 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:07 -0500 (0:00:00.158) 0:02:24.462 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:08 -0500 (0:00:00.136) 0:02:24.599 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 12 November 2024 09:49:08 -0500 (0:00:00.118) 0:02:24.718 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:08 -0500 (0:00:00.397) 0:02:25.115 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004489", "end": "2024-11-12 09:49:08.982771", "rc": 0, "start": "2024-11-12 09:49:08.978282" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:09 -0500 (0:00:00.463) 0:02:25.579 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:09 -0500 (0:00:00.097) 0:02:25.677 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:09 -0500 (0:00:00.094) 0:02:25.771 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 12 November 2024 09:49:09 -0500 (0:00:00.074) 0:02:25.846 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Tuesday 12 November 2024 09:49:09 -0500 (0:00:00.118) 0:02:25.964 ****** changed: [managed-node2] => (item=/etc/pki/tls/certs/ansible.Z7LgoC) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.Z7LgoC", "path": "/etc/pki/tls/certs/ansible.Z7LgoC", "state": "absent" } changed: [managed-node2] => (item=/etc/pki/tls/private/ansible.B9IvqI) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.B9IvqI", "path": "/etc/pki/tls/private/ansible.B9IvqI", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Tuesday 12 November 2024 09:49:10 -0500 (0:00:01.098) 0:02:27.063 ****** ok: [managed-node2] => (item=/tmp/ansible.Z7LgoC) => { "ansible_loop_var": "item", "changed": false, "checksum": "cc94981926e737e01e96505c8f4ce740808c22d7", "dest": "/tmp/ansible.Z7LgoC", "gid": 0, "group": "root", "item": "/tmp/ansible.Z7LgoC", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Z7LgoC", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed-node2] => (item=/tmp/ansible.B9IvqI) => { "ansible_loop_var": "item", "changed": false, "checksum": "40e9cd9579f573c66470e09dc0e62db2552fbabc", "dest": "/tmp/ansible.B9IvqI", "gid": 0, "group": "root", "item": "/tmp/ansible.B9IvqI", "mode": "0600", "owner": "root", "path": "/tmp/ansible.B9IvqI", "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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Tuesday 12 November 2024 09:49:12 -0500 (0:00:01.413) 0:02:28.476 ****** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Z7LgoC", "mssql_tls_private_key": "ansible.B9IvqI" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Tuesday 12 November 2024 09:49:12 -0500 (0:00:00.074) 0:02:28.551 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:49:13 -0500 (0:00:01.098) 0:02:29.649 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.246) 0:02:29.895 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.128) 0:02:30.023 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.143) 0:02:30.167 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.233) 0:02:30.401 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.119) 0:02:30.520 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.116) 0:02:30.637 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.106) 0:02:30.743 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.128) 0:02:30.871 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.112) 0:02:30.984 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.130) 0:02:31.114 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.133) 0:02:31.248 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.123) 0:02:31.372 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.127) 0:02:31.500 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.123) 0:02:31.623 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.170) 0:02:31.793 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.123) 0:02:31.917 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.126) 0:02:32.043 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.104) 0:02:32.148 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.091) 0:02:32.239 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.090) 0:02:32.329 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:49:17 -0500 (0:00:01.706) 0:02:34.036 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:49:17 -0500 (0:00:00.299) 0:02:34.336 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:49:17 -0500 (0:00:00.113) 0:02:34.450 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:49:18 -0500 (0:00:00.170) 0:02:34.620 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:49:18 -0500 (0:00:00.196) 0:02:34.817 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:49:18 -0500 (0:00:00.606) 0:02:35.424 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.090) 0:02:35.514 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.073) 0:02:35.588 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.121) 0:02:35.710 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.142) 0:02:35.853 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.140) 0:02:35.994 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.123) 0:02:36.118 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.221) 0:02:36.339 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:49:20 -0500 (0:00:00.138) 0:02:36.478 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:49:20 -0500 (0:00:00.847) 0:02:37.326 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:49:21 -0500 (0:00:00.828) 0:02:38.154 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:49:21 -0500 (0:00:00.190) 0:02:38.344 ****** 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.005413", "end": "2024-11-12 09:49:22.199273", "rc": 0, "start": "2024-11-12 09:49:22.193860" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.496) 0:02:38.840 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:49:23 -0500 (0:00:01.140) 0:02:39.980 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.169) 0:02:40.150 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.124) 0:02:40.275 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.109) 0:02:40.384 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.131) 0:02:40.516 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.179) 0:02:40.695 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.177) 0:02:40.872 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.786) 0:02:41.659 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:31 EST", "ActiveEnterTimestampMonotonic": "11394727", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:30 EST", "AssertTimestampMonotonic": "10613619", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:29:30 EST", "ConditionTimestampMonotonic": "10613617", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:30 EST", "ExecMainStartTimestampMonotonic": "10615748", "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": "Tue 2024-11-12 09:29:30 EST", "InactiveExitTimestampMonotonic": "10615784", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service 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": "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": "Tue 2024-11-12 09:29:31 EST", "WatchdogTimestampMonotonic": "11394080", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.778) 0:02:42.437 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088847", "end": "2024-11-12 09:49:26.350713", "rc": 0, "start": "2024-11-12 09:49:26.261866" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.688) 0:02:43.126 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.225) 0:02:43.351 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.131) 0:02:43.483 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.121) 0:02:43.604 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.505) 0:02:44.110 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.128) 0:02:44.238 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.636) 0:02:44.875 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.089) 0:02:44.964 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.110) 0:02:45.075 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.120) 0:02:45.196 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.117) 0:02:45.313 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.127) 0:02:45.440 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:49:29 -0500 (0:00:00.126) 0:02:45.566 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:49:29 -0500 (0:00:00.119) 0:02:45.686 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:49:29 -0500 (0:00:00.119) 0:02:45.805 ****** 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.005831", "end": "2024-11-12 09:49:29.652373", "rc": 0, "start": "2024-11-12 09:49:29.646542" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:49:29 -0500 (0:00:00.426) 0:02:46.232 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:49:29 -0500 (0:00:00.132) 0:02:46.365 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:49:31 -0500 (0:00:01.410) 0:02:47.776 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.110) 0:02:47.886 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.098) 0:02:47.984 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.098) 0:02:48.083 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.132) 0:02:48.215 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.216) 0:02:48.432 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003632", "end": "2024-11-12 09:49:32.509515", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:32.505883" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:32 -0500 (0:00:00.714) 0:02:49.147 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.127164", "end": "2024-11-12 09:49:33.227326", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:33.100162" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.924) 0:02:50.072 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.106) 0:02:50.178 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.098) 0:02:50.276 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.130) 0:02:50.407 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.126) 0:02:50.534 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.137) 0:02:50.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.124) 0:02:50.795 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.130) 0:02:50.926 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.140) 0:02:51.067 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.207) 0:02:51.275 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.172) 0:02:51.448 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:49:35 -0500 (0:00:00.132) 0:02:51.580 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:49:35 -0500 (0:00:00.138) 0:02:51.719 ****** changed: [managed-node2] => (item=/tmp/ansible.Z7LgoC) => { "ansible_loop_var": "item", "changed": true, "checksum": "cc94981926e737e01e96505c8f4ce740808c22d7", "dest": "/etc/pki/tls/certs/ansible.Z7LgoC", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Z7LgoC", "md5sum": "1f33e7aa5c619b23cc36c48ff80260fa", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.Z7LgoC", "state": "file", "uid": 996 } changed: [managed-node2] => (item=/tmp/ansible.B9IvqI) => { "ansible_loop_var": "item", "changed": true, "checksum": "40e9cd9579f573c66470e09dc0e62db2552fbabc", "dest": "/etc/pki/tls/private/ansible.B9IvqI", "gid": 994, "group": "mssql", "item": "/tmp/ansible.B9IvqI", "md5sum": "24ea3fde76c5a8a5c24fb3604a5c2ea7", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.B9IvqI", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:49:36 -0500 (0:00:01.421) 0:02:53.140 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:36 -0500 (0:00:00.292) 0:02:53.432 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003289", "end": "2024-11-12 09:49:37.308834", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:37.305545" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:37 -0500 (0:00:00.502) 0:02:53.935 ****** 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.Z7LgoC" ], "delta": "0:00:00.127499", "end": "2024-11-12 09:49:38.027036", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:37.899537" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:38 -0500 (0:00:00.938) 0:02:54.874 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:49:38 -0500 (0:00:00.129) 0:02:55.004 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:38 -0500 (0:00:00.341) 0:02:55.345 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003602", "end": "2024-11-12 09:49:39.337057", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:39.333455" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:39 -0500 (0:00:00.611) 0:02:55.956 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.B9IvqI" ], "delta": "0:00:00.125469", "end": "2024-11-12 09:49:39.953340", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:39.827871" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:40 -0500 (0:00:00.617) 0:02:56.574 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:49:40 -0500 (0:00:00.120) 0:02:56.695 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:40 -0500 (0:00:00.255) 0:02:56.951 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003309", "end": "2024-11-12 09:49:40.884473", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:40.881164" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:41 -0500 (0:00:00.552) 0:02:57.503 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.125812", "end": "2024-11-12 09:49:41.716893", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:41.591081" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:41 -0500 (0:00:00.864) 0:02:58.368 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:49:42 -0500 (0:00:00.120) 0:02:58.488 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:42 -0500 (0:00:00.229) 0:02:58.718 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003227", "end": "2024-11-12 09:49:42.570757", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:42.567530" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:42 -0500 (0:00:00.469) 0:02:59.187 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.128022", "end": "2024-11-12 09:49:43.209921", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:43.081899" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:43 -0500 (0:00:00.888) 0:03:00.076 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:49:43 -0500 (0:00:00.115) 0:03:00.191 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:49:43 -0500 (0:00:00.122) 0:03:00.313 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:49:43 -0500 (0:00:00.136) 0:03:00.450 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.133) 0:03:00.584 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.180) 0:03:00.764 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.162) 0:03:00.927 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.138) 0:03:01.065 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.093) 0:03:01.158 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.093) 0:03:01.252 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.086) 0:03:01.338 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.084) 0:03:01.422 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.127) 0:03:01.550 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.108) 0:03:01.658 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.091) 0:03:01.750 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.106) 0:03:01.856 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.106) 0:03:01.963 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.137) 0:03:02.100 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.215) 0:03:02.336 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:49:46 -0500 (0:00:00.352) 0:03:02.688 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:49:46 -0500 (0:00:00.123) 0:03:02.812 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:49:46 -0500 (0:00:00.125) 0:03:02.937 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:49:46 -0500 (0:00:00.142) 0:03:03.080 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:49:46 -0500 (0:00:00.127) 0:03:03.207 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:49:46 -0500 (0:00:00.140) 0:03:03.347 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.210) 0:03:03.558 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.131) 0:03:03.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.160) 0:03:03.850 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.116) 0:03:03.967 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.195) 0:03:04.163 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.204) 0:03:04.367 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.147) 0:03:04.515 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.147) 0:03:04.662 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.133) 0:03:04.796 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.124) 0:03:04.920 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.129) 0:03:05.050 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.209) 0:03:05.259 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.210) 0:03:05.470 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.334) 0:03:05.804 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.149) 0:03:05.954 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.129) 0:03:06.084 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.116) 0:03:06.201 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.098) 0:03:06.299 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.085) 0:03:06.384 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.137) 0:03:06.522 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.177) 0:03:06.700 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.122) 0:03:06.822 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.147) 0:03:06.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.129) 0:03:07.099 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.142) 0:03:07.242 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.159) 0:03:07.402 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:49:51 -0500 (0:00:00.120) 0:03:07.522 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:49:51 -0500 (0:00:00.139) 0:03:07.661 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:49:51 -0500 (0:00:00.121) 0:03:07.782 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:49:51 -0500 (0:00:00.138) 0:03:07.920 ****** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:49:52 -0500 (0:00:00.902) 0:03:08.823 ****** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:56 EST", "ActiveEnterTimestampMonotonic": "1176951823", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:56 EST", "ActiveExitTimestampMonotonic": "1176503455", "ActiveState": "active", "After": "system.slice systemd-journald.socket -.mount network.target basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:56 EST", "AssertTimestampMonotonic": "1176951076", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:48:56 EST", "ConditionTimestampMonotonic": "1176951075", "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": "3195", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:56 EST", "ExecMainStartTimestampMonotonic": "1176951748", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:48:56 EST] ; stop_time=[n/a] ; pid=3195 ; 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": "Tue 2024-11-12 09:48:56 EST", "InactiveEnterTimestampMonotonic": "1176949548", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:56 EST", "InactiveExitTimestampMonotonic": "1176951823", "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": "3195", "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": "Tue 2024-11-12 09:48:56 EST", "WatchdogTimestampMonotonic": "1176951799", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.975) 0:03:09.798 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.132) 0:03:09.931 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.174) 0:03:10.105 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.707) 0:03:10.812 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.203) 0:03:11.016 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.235) 0:03:11.252 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.232) 0:03:11.485 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.182) 0:03:11.667 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.121) 0:03:11.788 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.121) 0:03:11.910 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.123) 0:03:12.033 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.172) 0:03:12.206 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:49:56 -0500 (0:00:00.281) 0:03:12.487 ****** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:49:53 EST", "ActiveEnterTimestampMonotonic": "1233375940", "ActiveExitTimestamp": "Tue 2024-11-12 09:49:52 EST", "ActiveExitTimestampMonotonic": "1233159054", "ActiveState": "active", "After": "system.slice systemd-journald.socket -.mount network.target basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:49:53 EST", "AssertTimestampMonotonic": "1233375330", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:49:53 EST", "ConditionTimestampMonotonic": "1233375329", "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": "5583", "ExecMainStartTimestamp": "Tue 2024-11-12 09:49:53 EST", "ExecMainStartTimestampMonotonic": "1233375882", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:49:53 EST] ; stop_time=[n/a] ; pid=5583 ; 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": "Tue 2024-11-12 09:49:53 EST", "InactiveEnterTimestampMonotonic": "1233373343", "InactiveExitTimestamp": "Tue 2024-11-12 09:49:53 EST", "InactiveExitTimestampMonotonic": "1233375940", "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": "5583", "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": "Tue 2024-11-12 09:49:53 EST", "WatchdogTimestampMonotonic": "1233375920", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:49:57 -0500 (0:00:01.228) 0:03:13.716 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003256", "end": "2024-11-12 09:49:57.844786", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:57.841530" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:49:58 -0500 (0:00:00.898) 0:03:14.615 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003250", "end": "2024-11-12 09:49:58.733722", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:58.730472" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:49:58 -0500 (0:00:00.796) 0:03:15.411 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 12 November 2024 09:49:59 -0500 (0:00:00.159) 0:03:15.571 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 12 November 2024 09:50:00 -0500 (0:00:01.511) 0:03:17.083 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023632", "end": "2024-11-12 09:50:00.992404", "rc": 0, "start": "2024-11-12 09:50:00.968772" } 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 12 November 2024 09:50:01 -0500 (0:00:00.539) 0:03:17.622 ****** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 12 November 2024 09:50:01 -0500 (0:00:00.236) 0:03:17.858 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 12 November 2024 09:50:01 -0500 (0:00:00.163) 0:03:18.022 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 12 November 2024 09:50:01 -0500 (0:00:00.126) 0:03:18.149 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 12 November 2024 09:50:01 -0500 (0:00:00.125) 0:03:18.275 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 12 November 2024 09:50:01 -0500 (0:00:00.115) 0:03:18.390 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 12 November 2024 09:50:02 -0500 (0:00:00.115) 0:03:18.506 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 12 November 2024 09:50:02 -0500 (0:00:00.121) 0:03:18.628 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 12 November 2024 09:50:02 -0500 (0:00:00.116) 0:03:18.745 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:02 -0500 (0:00:00.394) 0:03:19.140 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004440", "end": "2024-11-12 09:50:02.973802", "rc": 0, "start": "2024-11-12 09:50:02.969362" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Z7LgoC TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:03 -0500 (0:00:00.440) 0:03:19.580 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:03 -0500 (0:00:00.124) 0:03:19.704 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Z7LgoC] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:03 -0500 (0:00:00.089) 0:03:19.794 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 12 November 2024 09:50:03 -0500 (0:00:00.081) 0:03:19.875 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:03 -0500 (0:00:00.141) 0:03:20.016 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004645", "end": "2024-11-12 09:50:03.867479", "rc": 0, "start": "2024-11-12 09:50:03.862834" } STDOUT: tlskey = /etc/pki/tls/private/ansible.B9IvqI TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.480) 0:03:20.497 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.163) 0:03:20.660 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.B9IvqI] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.127) 0:03:20.788 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.209) 0:03:20.997 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.425) 0:03:21.423 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004533", "end": "2024-11-12 09:50:05.446333", "rc": 0, "start": "2024-11-12 09:50:05.441800" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:05 -0500 (0:00:00.624) 0:03:22.047 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:05 -0500 (0:00:00.172) 0:03:22.220 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:05 -0500 (0:00:00.154) 0:03:22.374 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 12 November 2024 09:50:06 -0500 (0:00:00.239) 0:03:22.614 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:06 -0500 (0:00:00.286) 0:03:22.901 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004914", "end": "2024-11-12 09:50:06.778120", "rc": 0, "start": "2024-11-12 09:50:06.773206" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:06 -0500 (0:00:00.539) 0:03:23.441 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:07 -0500 (0:00:00.161) 0:03:23.602 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:07 -0500 (0:00:00.162) 0:03:23.765 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 12 November 2024 09:50:07 -0500 (0:00:00.131) 0:03:23.896 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Tuesday 12 November 2024 09:50:07 -0500 (0:00:00.119) 0:03:24.015 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Tuesday 12 November 2024 09:50:08 -0500 (0:00:00.651) 0:03:24.667 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003341", "end": "2024-11-12 09:50:08.844507", "rc": 0, "start": "2024-11-12 09:50:08.841166" } 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.Z7LgoC tlskey = /etc/pki/tls/private/ansible.B9IvqI tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Tuesday 12 November 2024 09:50:08 -0500 (0:00:00.774) 0:03:25.442 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:50:10 -0500 (0:00:01.440) 0:03:26.883 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:50:10 -0500 (0:00:00.256) 0:03:27.139 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:50:10 -0500 (0:00:00.134) 0:03:27.274 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:50:10 -0500 (0:00:00.137) 0:03:27.411 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.075) 0:03:27.487 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.076) 0:03:27.563 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.090) 0:03:27.654 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.097) 0:03:27.751 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.114) 0:03:27.865 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.110) 0:03:27.976 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.123) 0:03:28.100 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.141) 0:03:28.242 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.299) 0:03:28.541 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.141) 0:03:28.683 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.151) 0:03:28.835 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.161) 0:03:28.997 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.136) 0:03:29.133 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.113) 0:03:29.247 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.099) 0:03:29.346 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.094) 0:03:29.441 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:50:13 -0500 (0:00:00.118) 0:03:29.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:50:14 -0500 (0:00:01.569) 0:03:31.130 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:50:14 -0500 (0:00:00.312) 0:03:31.442 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:50:15 -0500 (0:00:00.116) 0:03:31.559 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:50:15 -0500 (0:00:00.349) 0:03:31.909 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:50:15 -0500 (0:00:00.255) 0:03:32.164 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.604) 0:03:32.768 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.127) 0:03:32.896 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.133) 0:03:33.030 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.106) 0:03:33.136 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.083) 0:03:33.220 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.128) 0:03:33.348 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:50:17 -0500 (0:00:00.256) 0:03:33.604 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:50:17 -0500 (0:00:00.152) 0:03:33.757 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:50:17 -0500 (0:00:00.129) 0:03:33.887 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:50:18 -0500 (0:00:00.825) 0:03:34.713 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:50:19 -0500 (0:00:00.773) 0:03:35.486 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:50:19 -0500 (0:00:00.115) 0:03:35.602 ****** 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.005653", "end": "2024-11-12 09:50:19.440577", "rc": 0, "start": "2024-11-12 09:50:19.434924" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:50:19 -0500 (0:00:00.518) 0:03:36.121 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:50:20 -0500 (0:00:01.290) 0:03:37.411 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:50:21 -0500 (0:00:00.151) 0:03:37.562 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:50:21 -0500 (0:00:00.127) 0:03:37.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 : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:50:21 -0500 (0:00:00.116) 0:03:37.807 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:50:21 -0500 (0:00:00.142) 0:03:37.949 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:50:21 -0500 (0:00:00.119) 0:03:38.069 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:50:21 -0500 (0:00:00.107) 0:03:38.176 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:50:22 -0500 (0:00:00.837) 0:03:39.014 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:31 EST", "ActiveEnterTimestampMonotonic": "11394727", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:30 EST", "AssertTimestampMonotonic": "10613619", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:29:30 EST", "ConditionTimestampMonotonic": "10613617", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:30 EST", "ExecMainStartTimestampMonotonic": "10615748", "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": "Tue 2024-11-12 09:29:30 EST", "InactiveExitTimestampMonotonic": "10615784", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service 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": "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": "Tue 2024-11-12 09:29:31 EST", "WatchdogTimestampMonotonic": "11394080", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:50:23 -0500 (0:00:00.639) 0:03:39.654 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088120", "end": "2024-11-12 09:50:23.762583", "rc": 0, "start": "2024-11-12 09:50:23.674463" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:50:23 -0500 (0:00:00.742) 0:03:40.396 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:50:24 -0500 (0:00:00.121) 0:03:40.518 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:50:24 -0500 (0:00:00.124) 0:03:40.643 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:50:24 -0500 (0:00:00.119) 0:03:40.762 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:50:24 -0500 (0:00:00.612) 0:03:41.375 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:50:25 -0500 (0:00:00.128) 0:03:41.503 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:50:25 -0500 (0:00:00.706) 0:03:42.209 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:50:25 -0500 (0:00:00.119) 0:03:42.329 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:50:25 -0500 (0:00:00.122) 0:03:42.452 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:50:26 -0500 (0:00:00.119) 0:03:42.571 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:50:26 -0500 (0:00:00.137) 0:03:42.709 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:50:26 -0500 (0:00:00.119) 0:03:42.829 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:50:26 -0500 (0:00:00.122) 0:03:42.952 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:50:26 -0500 (0:00:00.117) 0:03:43.069 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:50:26 -0500 (0:00:00.113) 0:03:43.183 ****** 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.005421", "end": "2024-11-12 09:50:27.043039", "rc": 0, "start": "2024-11-12 09:50:27.037618" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:50:27 -0500 (0:00:00.480) 0:03:43.664 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:50:27 -0500 (0:00:00.132) 0:03:43.796 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:50:29 -0500 (0:00:01.729) 0:03:45.525 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:50:29 -0500 (0:00:00.089) 0:03:45.615 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:50:29 -0500 (0:00:00.104) 0:03:45.719 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:50:29 -0500 (0:00:00.121) 0:03:45.841 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:50:29 -0500 (0:00:00.117) 0:03:45.958 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:29 -0500 (0:00:00.162) 0:03:46.121 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003281", "end": "2024-11-12 09:50:29.922026", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:50:29.918745" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:30 -0500 (0:00:00.386) 0:03:46.508 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.125402", "end": "2024-11-12 09:50:30.492261", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:30.366859" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:30 -0500 (0:00:00.757) 0:03:47.265 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:50:31 -0500 (0:00:00.221) 0:03:47.487 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:50:31 -0500 (0:00:00.197) 0:03:47.684 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:50:31 -0500 (0:00:00.124) 0:03:47.809 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:50:31 -0500 (0:00:00.124) 0:03:47.934 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:50:31 -0500 (0:00:00.117) 0:03:48.052 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:50:31 -0500 (0:00:00.142) 0:03:48.194 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.336) 0:03:48.531 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.158) 0:03:48.689 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.150) 0:03:48.839 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.158) 0:03:48.997 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.138) 0:03:49.136 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.167) 0:03:49.304 ****** skipping: [managed-node2] => (item=/tmp/ansible.Z7LgoC) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Z7LgoC", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.B9IvqI) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.B9IvqI", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.156) 0:03:49.461 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:33 -0500 (0:00:00.303) 0:03:49.764 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003273", "end": "2024-11-12 09:50:33.677113", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:33.673840" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Z7LgoC TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:33 -0500 (0:00:00.647) 0:03:50.412 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:34 -0500 (0:00:00.132) 0:03:50.545 ****** 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.123830", "end": "2024-11-12 09:50:34.599062", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:34.475232" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:50:34 -0500 (0:00:00.772) 0:03:51.317 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:35 -0500 (0:00:00.302) 0:03:51.620 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003331", "end": "2024-11-12 09:50:35.514420", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:35.511089" } STDOUT: tlskey = /etc/pki/tls/private/ansible.B9IvqI TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:35 -0500 (0:00:00.508) 0:03:52.128 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:35 -0500 (0:00:00.137) 0:03:52.265 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.125203", "end": "2024-11-12 09:50:36.262430", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:36.137227" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:50:36 -0500 (0:00:00.685) 0:03:52.950 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:36 -0500 (0:00:00.151) 0:03:53.102 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003311", "end": "2024-11-12 09:50:36.907934", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:36.904623" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:37 -0500 (0:00:00.381) 0:03:53.483 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:37 -0500 (0:00:00.130) 0:03:53.613 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.125450", "end": "2024-11-12 09:50:37.596715", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:37.471265" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:50:37 -0500 (0:00:00.627) 0:03:54.241 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:38 -0500 (0:00:00.249) 0:03:54.490 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003493", "end": "2024-11-12 09:50:38.339794", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:38.336301" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:38 -0500 (0:00:00.446) 0:03:54.936 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:38 -0500 (0:00:00.093) 0:03:55.030 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.124229", "end": "2024-11-12 09:50:38.964263", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:38.840034" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:50:39 -0500 (0:00:00.560) 0:03:55.590 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:50:39 -0500 (0:00:00.123) 0:03:55.713 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:50:39 -0500 (0:00:00.135) 0:03:55.848 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:50:39 -0500 (0:00:00.120) 0:03:55.969 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:50:39 -0500 (0:00:00.257) 0:03:56.227 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:50:39 -0500 (0:00:00.123) 0:03:56.350 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.121) 0:03:56.472 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.097) 0:03:56.569 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.094) 0:03:56.664 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.082) 0:03:56.747 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.088) 0:03:56.836 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.079) 0:03:56.915 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.078) 0:03:56.994 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.088) 0:03:57.083 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.116) 0:03:57.199 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.104) 0:03:57.304 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:50:40 -0500 (0:00:00.100) 0:03:57.404 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.085) 0:03:57.490 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.076) 0:03:57.567 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.075) 0:03:57.642 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.077) 0:03:57.720 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.097) 0:03:57.817 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.130) 0:03:57.948 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.246) 0:03:58.194 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.099) 0:03:58.293 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:50:41 -0500 (0:00:00.081) 0:03:58.375 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.124) 0:03:58.500 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.134) 0:03:58.635 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.197) 0:03:58.832 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.152) 0:03:58.985 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.098) 0:03:59.083 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.113) 0:03:59.196 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.079) 0:03:59.275 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.101) 0:03:59.377 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.114) 0:03:59.492 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.096) 0:03:59.588 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.098) 0:03:59.687 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.106) 0:03:59.793 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.111) 0:03:59.905 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.155) 0:04:00.061 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.118) 0:04:00.180 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.113) 0:04:00.294 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.385) 0:04:00.680 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.145) 0:04:00.825 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.276) 0:04:01.101 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.163) 0:04:01.265 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.131) 0:04:01.397 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.120) 0:04:01.517 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.125) 0:04:01.643 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.128) 0:04:01.772 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.091) 0:04:01.863 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.119) 0:04:01.982 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.094) 0:04:02.077 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.132) 0:04:02.210 ****** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:50:46 -0500 (0:00:00.623) 0:04:02.834 ****** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:49:53 EST", "ActiveEnterTimestampMonotonic": "1233375940", "ActiveExitTimestamp": "Tue 2024-11-12 09:49:52 EST", "ActiveExitTimestampMonotonic": "1233159054", "ActiveState": "active", "After": "system.slice systemd-journald.socket -.mount network.target basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:49:53 EST", "AssertTimestampMonotonic": "1233375330", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:49:53 EST", "ConditionTimestampMonotonic": "1233375329", "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": "5583", "ExecMainStartTimestamp": "Tue 2024-11-12 09:49:53 EST", "ExecMainStartTimestampMonotonic": "1233375882", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:49:53 EST] ; stop_time=[n/a] ; pid=5583 ; 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": "Tue 2024-11-12 09:49:53 EST", "InactiveEnterTimestampMonotonic": "1233373343", "InactiveExitTimestamp": "Tue 2024-11-12 09:49:53 EST", "InactiveExitTimestampMonotonic": "1233375940", "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": "5583", "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": "Tue 2024-11-12 09:49:53 EST", "WatchdogTimestampMonotonic": "1233375920", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:50:47 -0500 (0:00:01.024) 0:04:03.858 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:50:47 -0500 (0:00:00.126) 0:04:03.984 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Tuesday 12 November 2024 09:50:47 -0500 (0:00:00.102) 0:04:04.087 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 12 November 2024 09:50:48 -0500 (0:00:01.048) 0:04:05.135 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 12 November 2024 09:50:48 -0500 (0:00:00.075) 0:04:05.211 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 12 November 2024 09:50:48 -0500 (0:00:00.078) 0:04:05.289 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 12 November 2024 09:50:48 -0500 (0:00:00.077) 0:04:05.367 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 12 November 2024 09:50:48 -0500 (0:00:00.090) 0:04:05.457 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 12 November 2024 09:50:49 -0500 (0:00:00.127) 0:04:05.585 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 12 November 2024 09:50:49 -0500 (0:00:00.110) 0:04:05.695 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 12 November 2024 09:50:49 -0500 (0:00:00.116) 0:04:05.812 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 12 November 2024 09:50:49 -0500 (0:00:00.106) 0:04:05.919 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:50:49 -0500 (0:00:00.176) 0:04:06.095 ****** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:50:47 EST", "ActiveEnterTimestampMonotonic": "1287484139", "ActiveExitTimestamp": "Tue 2024-11-12 09:50:46 EST", "ActiveExitTimestampMonotonic": "1287260383", "ActiveState": "active", "After": "system.slice systemd-journald.socket -.mount network.target basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:50:47 EST", "AssertTimestampMonotonic": "1287482914", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:50:47 EST", "ConditionTimestampMonotonic": "1287482912", "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": "7677", "ExecMainStartTimestamp": "Tue 2024-11-12 09:50:47 EST", "ExecMainStartTimestampMonotonic": "1287483576", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:50:47 EST] ; stop_time=[n/a] ; pid=7677 ; 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": "Tue 2024-11-12 09:50:47 EST", "InactiveEnterTimestampMonotonic": "1287482294", "InactiveExitTimestamp": "Tue 2024-11-12 09:50:47 EST", "InactiveExitTimestampMonotonic": "1287484139", "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": "7677", "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": "Tue 2024-11-12 09:50:47 EST", "WatchdogTimestampMonotonic": "1287484107", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:50:51 -0500 (0:00:01.397) 0:04:07.492 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005009", "end": "2024-11-12 09:50:51.397263", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:50:51.392254" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:50:51 -0500 (0:00:00.598) 0:04:08.091 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003604", "end": "2024-11-12 09:50:51.964399", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:50:51.960795" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:50:52 -0500 (0:00:00.483) 0:04:08.574 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 12 November 2024 09:50:52 -0500 (0:00:00.155) 0:04:08.730 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 12 November 2024 09:50:53 -0500 (0:00:01.545) 0:04:10.276 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025118", "end": "2024-11-12 09:50:54.149014", "rc": 0, "start": "2024-11-12 09:50:54.123896" } 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.484) 0:04:10.760 ****** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.120) 0:04:10.880 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.076) 0:04:10.957 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.076) 0:04:11.033 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.079) 0:04:11.112 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.103) 0:04:11.216 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.114) 0:04:11.331 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.193) 0:04:11.524 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.399) 0:04:11.924 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.271) 0:04:12.195 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004364", "end": "2024-11-12 09:50:56.069943", "rc": 0, "start": "2024-11-12 09:50:56.065579" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.497) 0:04:12.693 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.146) 0:04:12.839 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.154) 0:04:12.994 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.128) 0:04:13.122 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.220) 0:04:13.343 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004355", "end": "2024-11-12 09:50:57.194113", "rc": 0, "start": "2024-11-12 09:50:57.189758" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.474) 0:04:13.817 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.143) 0:04:13.961 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.138) 0:04:14.100 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.119) 0:04:14.219 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.216) 0:04:14.436 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004319", "end": "2024-11-12 09:50:58.291213", "rc": 0, "start": "2024-11-12 09:50:58.286894" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.476) 0:04:14.912 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.144) 0:04:15.056 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.276) 0:04:15.332 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.120) 0:04:15.453 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.226) 0:04:15.679 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004416", "end": "2024-11-12 09:50:59.544895", "rc": 0, "start": "2024-11-12 09:50:59.540479" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.489) 0:04:16.168 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.145) 0:04:16.314 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.147) 0:04:16.461 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 12 November 2024 09:51:00 -0500 (0:00:00.120) 0:04:16.581 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Tuesday 12 November 2024 09:51:00 -0500 (0:00:00.129) 0:04:16.711 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:51:03 -0500 (0:00:02.907) 0:04:19.619 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:51:03 -0500 (0:00:00.272) 0:04:19.892 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:51:03 -0500 (0:00:00.180) 0:04:20.073 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:51:03 -0500 (0:00:00.193) 0:04:20.266 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:51:03 -0500 (0:00:00.113) 0:04:20.380 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.107) 0:04:20.487 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.106) 0:04:20.594 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.125) 0:04:20.720 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.128) 0:04:20.848 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.166) 0:04:21.015 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.140) 0:04:21.156 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.118) 0:04:21.275 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:51:05 -0500 (0:00:00.522) 0:04:21.797 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:51:05 -0500 (0:00:00.213) 0:04:22.010 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:51:05 -0500 (0:00:00.276) 0:04:22.287 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:51:06 -0500 (0:00:00.247) 0:04:22.535 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:51:06 -0500 (0:00:00.136) 0:04:22.671 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:51:06 -0500 (0:00:00.150) 0:04:22.822 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:51:06 -0500 (0:00:00.149) 0:04:22.972 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:51:06 -0500 (0:00:00.248) 0:04:23.221 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:51:06 -0500 (0:00:00.185) 0:04:23.406 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:51:08 -0500 (0:00:02.005) 0:04:25.411 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.510) 0:04:25.922 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.250) 0:04:26.172 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.268) 0:04:26.441 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:51:10 -0500 (0:00:00.341) 0:04:26.783 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:51:11 -0500 (0:00:01.179) 0:04:27.963 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:51:11 -0500 (0:00:00.124) 0:04:28.087 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:51:11 -0500 (0:00:00.130) 0:04:28.217 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:51:11 -0500 (0:00:00.234) 0:04:28.452 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:51:12 -0500 (0:00:00.221) 0:04:28.673 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:51:12 -0500 (0:00:00.171) 0:04:28.845 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:51:12 -0500 (0:00:00.143) 0:04:28.988 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:51:12 -0500 (0:00:00.282) 0:04:29.271 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:51:12 -0500 (0:00:00.122) 0:04:29.393 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:51:14 -0500 (0:00:01.087) 0:04:30.481 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:51:15 -0500 (0:00:01.141) 0:04:31.622 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:51:15 -0500 (0:00:00.204) 0:04:31.827 ****** 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.005325", "end": "2024-11-12 09:51:15.800457", "rc": 0, "start": "2024-11-12 09:51:15.795132" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:51:15 -0500 (0:00:00.596) 0:04:32.423 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:51:17 -0500 (0:00:01.242) 0:04:33.666 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:51:17 -0500 (0:00:00.193) 0:04:33.860 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:51:17 -0500 (0:00:00.386) 0:04:34.246 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:51:17 -0500 (0:00:00.101) 0:04:34.347 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:51:18 -0500 (0:00:00.138) 0:04:34.486 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:51:18 -0500 (0:00:00.129) 0:04:34.615 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:51:18 -0500 (0:00:00.155) 0:04:34.771 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:51:19 -0500 (0:00:00.789) 0:04:35.561 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:31 EST", "ActiveEnterTimestampMonotonic": "11394727", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:30 EST", "AssertTimestampMonotonic": "10613619", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:29:30 EST", "ConditionTimestampMonotonic": "10613617", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:30 EST", "ExecMainStartTimestampMonotonic": "10615748", "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": "Tue 2024-11-12 09:29:30 EST", "InactiveExitTimestampMonotonic": "10615784", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service 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": "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": "Tue 2024-11-12 09:29:31 EST", "WatchdogTimestampMonotonic": "11394080", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:51:20 -0500 (0:00:00.929) 0:04:36.490 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090155", "end": "2024-11-12 09:51:20.497019", "rc": 0, "start": "2024-11-12 09:51:20.406864" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:51:20 -0500 (0:00:00.731) 0:04:37.222 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:51:21 -0500 (0:00:00.248) 0:04:37.470 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:51:21 -0500 (0:00:00.128) 0:04:37.598 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:51:21 -0500 (0:00:00.124) 0:04:37.722 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:51:21 -0500 (0:00:00.552) 0:04:38.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:51:21 -0500 (0:00:00.153) 0:04:38.428 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:51:22 -0500 (0:00:00.731) 0:04:39.159 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:51:22 -0500 (0:00:00.143) 0:04:39.303 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.372) 0:04:39.676 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.129) 0:04:39.806 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.096) 0:04:39.902 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.143) 0:04:40.046 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.154) 0:04:40.200 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.122) 0:04:40.322 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:51:24 -0500 (0:00:00.167) 0:04:40.490 ****** 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.005772", "end": "2024-11-12 09:51:24.414300", "rc": 0, "start": "2024-11-12 09:51:24.408528" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:51:29 -0500 (0:00:05.577) 0:04:46.067 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:51:29 -0500 (0:00:00.124) 0:04:46.192 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:51:31 -0500 (0:00:01.557) 0:04:47.750 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:51:31 -0500 (0:00:00.152) 0:04:47.902 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:51:31 -0500 (0:00:00.413) 0:04:48.316 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:51:31 -0500 (0:00:00.132) 0:04:48.448 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:51:32 -0500 (0:00:00.137) 0:04:48.586 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:32 -0500 (0:00:00.235) 0:04:48.821 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003598", "end": "2024-11-12 09:51:32.698939", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:51:32.695341" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:32 -0500 (0:00:00.512) 0:04:49.334 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.126580", "end": "2024-11-12 09:51:33.363332", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:33.236752" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:33 -0500 (0:00:00.744) 0:04:50.078 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:51:33 -0500 (0:00:00.119) 0:04:50.198 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:51:33 -0500 (0:00:00.201) 0:04:50.400 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.180) 0:04:50.580 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.128) 0:04:50.708 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.111) 0:04:50.820 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.093) 0:04:50.913 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.182) 0:04:51.096 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.227) 0:04:51.324 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.120) 0:04:51.445 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:51:35 -0500 (0:00:00.137) 0:04:51.582 ****** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 12 November 2024 09:51:35 -0500 (0:00:00.400) 0:04:51.983 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 12 November 2024 09:51:35 -0500 (0:00:00.157) 0:04:52.140 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Tuesday 12 November 2024 09:51:35 -0500 (0:00:00.129) 0:04:52.270 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Tuesday 12 November 2024 09:51:36 -0500 (0:00:00.604) 0:04:52.874 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Tuesday 12 November 2024 09:51:36 -0500 (0:00:00.176) 0:04:53.050 ****** 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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Tuesday 12 November 2024 09:51:37 -0500 (0:00:00.452) 0:04:53.503 ****** 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: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\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.3 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Tuesday 12 November 2024 09:51:41 -0500 (0:00:04.908) 0:04:58.412 ****** 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.7 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Tuesday 12 November 2024 09:51:51 -0500 (0:00:09.611) 0:05:08.024 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Tuesday 12 November 2024 09:51:52 -0500 (0:00:00.524) 0:05:08.549 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Tuesday 12 November 2024 09:51:52 -0500 (0:00:00.505) 0:05:09.054 ****** 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": "basic.target systemd-journald.socket network.target system.slice syslog.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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Tuesday 12 November 2024 09:51:53 -0500 (0:00:00.805) 0:05:09.860 ****** changed: [managed-node2] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.44', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.45.44", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Tuesday 12 November 2024 09:51:54 -0500 (0:00:01.402) 0:05:11.262 ****** 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.45.44', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.45.44", "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.45.44', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.45.44", "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.45.44', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.45.44", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 12 November 2024 09:51:55 -0500 (0:00:00.455) 0:05:11.718 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Tuesday 12 November 2024 09:51:55 -0500 (0:00:00.145) 0:05:11.863 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Tuesday 12 November 2024 09:51:55 -0500 (0:00:00.165) 0:05:12.029 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:51:55 -0500 (0:00:00.151) 0:05:12.181 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:51:55 -0500 (0:00:00.137) 0:05:12.318 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:51:56 -0500 (0:00:00.204) 0:05:12.522 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:56 -0500 (0:00:00.255) 0:05:12.778 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003807", "end": "2024-11-12 09:51:56.657108", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:51:56.653301" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:56 -0500 (0:00:00.451) 0:05:13.229 ****** 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.126510", "end": "2024-11-12 09:51:57.173791", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:57.047281" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:57 -0500 (0:00:00.529) 0:05:13.759 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:51:57 -0500 (0:00:00.082) 0:05:13.841 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:57 -0500 (0:00:00.149) 0:05:13.991 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003884", "end": "2024-11-12 09:51:57.799550", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:51:57.795666" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:57 -0500 (0:00:00.381) 0:05:14.372 ****** 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.125760", "end": "2024-11-12 09:51:58.321994", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:58.196234" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:58 -0500 (0:00:00.607) 0:05:14.980 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:51:58 -0500 (0:00:00.085) 0:05:15.066 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:58 -0500 (0:00:00.151) 0:05:15.217 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003425", "end": "2024-11-12 09:51:59.024638", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:51:59.021213" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:59 -0500 (0:00:00.397) 0:05:15.614 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.129172", "end": "2024-11-12 09:51:59.561512", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:59.432340" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:59 -0500 (0:00:00.530) 0:05:16.144 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:51:59 -0500 (0:00:00.081) 0:05:16.226 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:59 -0500 (0:00:00.155) 0:05:16.381 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003735", "end": "2024-11-12 09:52:00.194369", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:52:00.190634" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:52:00 -0500 (0:00:00.396) 0:05:16.777 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.126849", "end": "2024-11-12 09:52:00.721965", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:00.595116" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:52:00 -0500 (0:00:00.528) 0:05:17.306 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:52:00 -0500 (0:00:00.081) 0:05:17.388 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.081) 0:05:17.469 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.214) 0:05:17.684 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.081) 0:05:17.766 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.083) 0:05:17.850 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.086) 0:05:17.936 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.090) 0:05:18.027 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.101) 0:05:18.128 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.094) 0:05:18.222 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.119) 0:05:18.342 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.122) 0:05:18.465 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.116) 0:05:18.581 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.162) 0:05:18.743 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.126) 0:05:18.870 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.123) 0:05:18.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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.152) 0:05:19.146 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.111) 0:05:19.257 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.117) 0:05:19.375 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:52:03 -0500 (0:00:00.118) 0:05:19.494 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:52:03 -0500 (0:00:00.120) 0:05:19.615 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:52:03 -0500 (0:00:00.146) 0:05:19.761 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:52:03 -0500 (0:00:00.328) 0:05:20.090 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:52:03 -0500 (0:00:00.204) 0:05:20.294 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:52:03 -0500 (0:00:00.123) 0:05:20.418 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.167) 0:05:20.585 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.149) 0:05:20.735 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.166) 0:05:20.901 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.127) 0:05:21.029 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.165) 0:05:21.195 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.115) 0:05:21.310 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.122) 0:05:21.432 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.150) 0:05:21.583 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.118) 0:05:21.701 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.116) 0:05:21.819 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.098) 0:05:21.917 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.111) 0:05:22.028 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.076) 0:05:22.104 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.081) 0:05:22.186 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.103) 0:05:22.289 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.111) 0:05:22.401 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.246) 0:05:22.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.099) 0:05:22.748 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.119) 0:05:22.867 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.097) 0:05:22.965 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.138) 0:05:23.103 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.089) 0:05:23.193 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.113) 0:05:23.306 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.150) 0:05:23.457 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:52:07 -0500 (0:00:00.169) 0:05:23.627 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:52:07 -0500 (0:00:00.139) 0:05:23.766 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:52:07 -0500 (0:00:00.132) 0:05:23.899 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:52:07 -0500 (0:00:00.144) 0:05:24.044 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:52:07 -0500 (0:00:00.130) 0:05:24.174 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:52:07 -0500 (0:00:00.128) 0:05:24.303 ****** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:52:08 -0500 (0:00:00.838) 0:05:25.142 ****** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:50:47 EST", "ActiveEnterTimestampMonotonic": "1287484139", "ActiveExitTimestamp": "Tue 2024-11-12 09:50:46 EST", "ActiveExitTimestampMonotonic": "1287260383", "ActiveState": "active", "After": "-.mount system.slice systemd-journald.socket basic.target network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:50:47 EST", "AssertTimestampMonotonic": "1287482914", "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": "Tue 2024-11-12 09:50:47 EST", "ConditionTimestampMonotonic": "1287482912", "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": "7677", "ExecMainStartTimestamp": "Tue 2024-11-12 09:50:47 EST", "ExecMainStartTimestampMonotonic": "1287483576", "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": "Tue 2024-11-12 09:50:47 EST", "InactiveEnterTimestampMonotonic": "1287482294", "InactiveExitTimestamp": "Tue 2024-11-12 09:50:47 EST", "InactiveExitTimestampMonotonic": "1287484139", "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": "7677", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:50:47 EST", "WatchdogTimestampMonotonic": "1287484107", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:52:10 -0500 (0:00:01.449) 0:05:26.591 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:52:10 -0500 (0:00:00.214) 0:05:26.806 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Tuesday 12 November 2024 09:52:10 -0500 (0:00:00.078) 0:05:26.884 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.955) 0:05:27.840 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.124) 0:05:27.964 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.124) 0:05:28.089 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.125) 0:05:28.215 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.130) 0:05:28.346 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.119) 0:05:28.465 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 12 November 2024 09:52:12 -0500 (0:00:00.100) 0:05:28.566 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 12 November 2024 09:52:12 -0500 (0:00:00.101) 0:05:28.667 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 12 November 2024 09:52:12 -0500 (0:00:00.084) 0:05:28.751 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:52:12 -0500 (0:00:00.287) 0:05:29.039 ****** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:52:09 EST", "ActiveEnterTimestampMonotonic": "1370281169", "ActiveExitTimestamp": "Tue 2024-11-12 09:52:09 EST", "ActiveExitTimestampMonotonic": "1369656590", "ActiveState": "active", "After": "-.mount system.slice systemd-journald.socket basic.target network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:52:09 EST", "AssertTimestampMonotonic": "1370280330", "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": "Tue 2024-11-12 09:52:09 EST", "ConditionTimestampMonotonic": "1370280328", "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": "10328", "ExecMainStartTimestamp": "Tue 2024-11-12 09:52:09 EST", "ExecMainStartTimestampMonotonic": "1370281090", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:52:09 EST] ; stop_time=[n/a] ; pid=10328 ; 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": "Tue 2024-11-12 09:52:09 EST", "InactiveEnterTimestampMonotonic": "1370278570", "InactiveExitTimestamp": "Tue 2024-11-12 09:52:09 EST", "InactiveExitTimestampMonotonic": "1370281169", "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": "10328", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:52:09 EST", "WatchdogTimestampMonotonic": "1370281145", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:52:13 -0500 (0:00:01.192) 0:05:30.231 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003818", "end": "2024-11-12 09:52:14.328342", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:52:14.324524" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:52:14 -0500 (0:00:00.749) 0:05:30.981 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003140", "end": "2024-11-12 09:52:14.847256", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:52:14.844116" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:52:14 -0500 (0:00:00.460) 0:05:31.441 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 12 November 2024 09:52:15 -0500 (0:00:00.138) 0:05:31.580 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 12 November 2024 09:52:21 -0500 (0:00:06.568) 0:05:38.148 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025545", "end": "2024-11-12 09:52:22.172542", "rc": 0, "start": "2024-11-12 09:52:22.146997" } 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.716) 0:05:38.865 ****** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.159) 0:05:39.025 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.102) 0:05:39.127 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.079) 0:05:39.207 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.114) 0:05:39.322 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.123) 0:05:39.445 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.119) 0:05:39.565 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.299) 0:05:39.865 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.121) 0:05:39.986 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.306) 0:05:40.293 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004579", "end": "2024-11-12 09:52:29.183073", "rc": 0, "start": "2024-11-12 09:52:29.178494" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:52:29 -0500 (0:00:05.515) 0:05:45.809 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:52:29 -0500 (0:00:00.130) 0:05:45.940 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:52:29 -0500 (0:00:00.114) 0:05:46.054 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 12 November 2024 09:52:29 -0500 (0:00:00.082) 0:05:46.137 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:52:29 -0500 (0:00:00.201) 0:05:46.338 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004998", "end": "2024-11-12 09:52:30.195053", "rc": 0, "start": "2024-11-12 09:52:30.190055" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.431) 0:05:46.770 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.100) 0:05:46.870 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.110) 0:05:46.980 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.121) 0:05:47.101 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.428) 0:05:47.529 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004466", "end": "2024-11-12 09:52:31.392909", "rc": 0, "start": "2024-11-12 09:52:31.388443" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.442) 0:05:47.972 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.099) 0:05:48.071 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.089) 0:05:48.161 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.084) 0:05:48.245 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.150) 0:05:48.396 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004921", "end": "2024-11-12 09:52:32.211053", "rc": 0, "start": "2024-11-12 09:52:32.206132" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:52:32 -0500 (0:00:00.390) 0:05:48.786 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:52:32 -0500 (0:00:00.086) 0:05:48.873 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:52:32 -0500 (0:00:00.099) 0:05:48.973 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 12 November 2024 09:52:32 -0500 (0:00:00.080) 0:05:49.054 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Tuesday 12 November 2024 09:52:32 -0500 (0:00:00.075) 0:05:49.129 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:52:34 -0500 (0:00:01.536) 0:05:50.666 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:52:34 -0500 (0:00:00.131) 0:05:50.797 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:52:34 -0500 (0:00:00.101) 0:05:50.899 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:52:34 -0500 (0:00:00.117) 0:05:51.017 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:52:34 -0500 (0:00:00.074) 0:05:51.091 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:52:34 -0500 (0:00:00.247) 0:05:51.339 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:52:34 -0500 (0:00:00.079) 0:05:51.418 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.084) 0:05:51.503 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.091) 0:05:51.595 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.083) 0:05:51.679 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.081) 0:05:51.760 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.077) 0:05:51.838 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.082) 0:05:51.920 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.080) 0:05:52.000 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.090) 0:05:52.091 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.078) 0:05:52.169 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.080) 0:05:52.250 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.080) 0:05:52.330 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:52:35 -0500 (0:00:00.076) 0:05:52.407 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:52:36 -0500 (0:00:00.083) 0:05:52.490 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:52:36 -0500 (0:00:00.082) 0:05:52.573 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:52:37 -0500 (0:00:01.834) 0:05:54.407 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.320) 0:05:54.728 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.114) 0:05:54.843 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.105) 0:05:54.949 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.170) 0:05:55.119 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.648) 0:05:55.768 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.104) 0:05:55.872 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.123) 0:05:55.996 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.121) 0:05:56.118 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.122) 0:05:56.240 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.127) 0:05:56.368 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:52:40 -0500 (0:00:00.134) 0:05:56.502 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:52:40 -0500 (0:00:00.165) 0:05:56.668 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:52:40 -0500 (0:00:00.137) 0:05:56.805 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.766) 0:05:57.572 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.679) 0:05:58.252 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.080) 0:05:58.332 ****** 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.005783", "end": "2024-11-12 09:52:42.147778", "rc": 0, "start": "2024-11-12 09:52:42.141995" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:52:42 -0500 (0:00:00.391) 0:05:58.724 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:52:43 -0500 (0:00:01.089) 0:05:59.813 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.187) 0:06:00.001 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.140) 0:06:00.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 the directory and permissions for datadir and logdir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.121) 0:06:00.263 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.158) 0:06:00.422 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:52:44 -0500 (0:00:00.110) 0:06:00.532 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:52:44 -0500 (0:00:00.114) 0:06:00.647 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:52:44 -0500 (0:00:00.645) 0:06:01.292 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:31 EST", "ActiveEnterTimestampMonotonic": "11394727", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-sysctl.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:30 EST", "AssertTimestampMonotonic": "10613619", "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": "Tue 2024-11-12 09:29:30 EST", "ConditionTimestampMonotonic": "10613617", "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": "851", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:30 EST", "ExecMainStartTimestampMonotonic": "10615748", "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": "Tue 2024-11-12 09:29:30 EST", "InactiveExitTimestampMonotonic": "10615784", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:29:31 EST", "WatchdogTimestampMonotonic": "11394080", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:52:45 -0500 (0:00:00.505) 0:06:01.798 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091847", "end": "2024-11-12 09:52:45.696741", "rc": 0, "start": "2024-11-12 09:52:45.604894" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:52:45 -0500 (0:00:00.472) 0:06:02.271 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:52:46 -0500 (0:00:00.241) 0:06:02.513 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:52:46 -0500 (0:00:00.089) 0:06:02.602 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:52:46 -0500 (0:00:00.083) 0:06:02.686 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:52:46 -0500 (0:00:00.401) 0:06:03.087 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:52:46 -0500 (0:00:00.114) 0:06:03.202 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.715) 0:06:03.917 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.135) 0:06:04.053 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.154) 0:06:04.208 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.127) 0:06:04.335 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.133) 0:06:04.469 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:52:48 -0500 (0:00:00.112) 0:06:04.581 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:52:48 -0500 (0:00:00.134) 0:06:04.715 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:52:48 -0500 (0:00:00.105) 0:06:04.821 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:52:48 -0500 (0:00:00.088) 0:06:04.910 ****** 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.005405", "end": "2024-11-12 09:52:48.768605", "rc": 0, "start": "2024-11-12 09:52:48.763200" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:52:48 -0500 (0:00:00.453) 0:06:05.363 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:52:49 -0500 (0:00:00.251) 0:06:05.615 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:52:50 -0500 (0:00:01.295) 0:06:06.911 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:52:50 -0500 (0:00:00.092) 0:06:07.003 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:52:50 -0500 (0:00:00.082) 0:06:07.085 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:52:50 -0500 (0:00:00.086) 0:06:07.171 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:52:50 -0500 (0:00:00.091) 0:06:07.263 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:52:50 -0500 (0:00:00.149) 0:06:07.413 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003309", "end": "2024-11-12 09:52:51.224423", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:52:51.221114" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:52:51 -0500 (0:00:00.391) 0:06:07.804 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.127215", "end": "2024-11-12 09:52:51.747172", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:51.619957" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:52:51 -0500 (0:00:00.542) 0:06:08.346 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:52:51 -0500 (0:00:00.080) 0:06:08.427 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.079) 0:06:08.506 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.081) 0:06:08.588 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.248) 0:06:08.836 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.093) 0:06:08.929 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.129) 0:06:09.059 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.110) 0:06:09.169 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.105) 0:06:09.275 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.099) 0:06:09.374 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:52:52 -0500 (0:00:00.091) 0:06:09.466 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:52:53 -0500 (0:00:00.130) 0:06:09.596 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:52:53 -0500 (0:00:00.112) 0:06:09.709 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:52:53 -0500 (0:00:00.124) 0:06:09.833 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:52:53 -0500 (0:00:00.147) 0:06:09.981 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003407", "end": "2024-11-12 09:52:53.795485", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:53.792078" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:52:53 -0500 (0:00:00.403) 0:06:10.384 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:52:54 -0500 (0:00:00.093) 0:06:10.478 ****** 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.126098", "end": "2024-11-12 09:52:54.420394", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:54.294296" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:52:54 -0500 (0:00:00.566) 0:06:11.044 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:52:54 -0500 (0:00:00.245) 0:06:11.289 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003668", "end": "2024-11-12 09:52:55.117649", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:55.113981" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:52:55 -0500 (0:00:00.575) 0:06:11.865 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:52:55 -0500 (0:00:00.094) 0:06:11.959 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.128655", "end": "2024-11-12 09:52:55.913473", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:55.784818" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:52:56 -0500 (0:00:00.545) 0:06:12.505 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:52:56 -0500 (0:00:00.158) 0:06:12.663 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003375", "end": "2024-11-12 09:52:56.476562", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:56.473187" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:52:56 -0500 (0:00:00.392) 0:06:13.056 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:52:56 -0500 (0:00:00.089) 0:06:13.145 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.126802", "end": "2024-11-12 09:52:57.107703", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:56.980901" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:52:57 -0500 (0:00:00.545) 0:06:13.691 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:52:57 -0500 (0:00:00.149) 0:06:13.841 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003378", "end": "2024-11-12 09:52:57.645504", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:57.642126" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:52:57 -0500 (0:00:00.380) 0:06:14.221 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:52:57 -0500 (0:00:00.089) 0:06:14.311 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.126642", "end": "2024-11-12 09:52:58.269705", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:58.143063" } 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 : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:52:58 -0500 (0:00:00.593) 0:06:14.905 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:52:58 -0500 (0:00:00.141) 0:06:15.046 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:52:58 -0500 (0:00:00.135) 0:06:15.182 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.343) 0:06:15.525 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.137) 0:06:15.662 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.115) 0:06:15.778 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.105) 0:06:15.884 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.091) 0:06:15.975 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.083) 0:06:16.059 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.081) 0:06:16.140 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.085) 0:06:16.225 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.110) 0:06:16.336 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:52:59 -0500 (0:00:00.125) 0:06:16.461 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.124) 0:06:16.586 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.121) 0:06:16.707 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.134) 0:06:16.842 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.122) 0:06:16.964 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.122) 0:06:17.087 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.123) 0:06:17.211 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.130) 0:06:17.342 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:53:00 -0500 (0:00:00.123) 0:06:17.465 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:53:01 -0500 (0:00:00.125) 0:06:17.591 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:53:01 -0500 (0:00:00.375) 0:06:17.966 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:53:01 -0500 (0:00:00.132) 0:06:18.099 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:53:01 -0500 (0:00:00.132) 0:06:18.231 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:53:01 -0500 (0:00:00.129) 0:06:18.360 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.126) 0:06:18.487 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.132) 0:06:18.619 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.149) 0:06:18.768 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.128) 0:06:18.897 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.118) 0:06:19.015 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.163) 0:06:19.179 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.129) 0:06:19.308 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:53:02 -0500 (0:00:00.122) 0:06:19.431 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:53:03 -0500 (0:00:00.130) 0:06:19.561 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:53:03 -0500 (0:00:00.125) 0:06:19.687 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:53:03 -0500 (0:00:00.137) 0:06:19.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:53:03 -0500 (0:00:00.127) 0:06:19.953 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:53:03 -0500 (0:00:00.122) 0:06:20.075 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:53:03 -0500 (0:00:00.120) 0:06:20.196 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:53:03 -0500 (0:00:00.122) 0:06:20.318 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:53:04 -0500 (0:00:00.351) 0:06:20.670 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:53:04 -0500 (0:00:00.108) 0:06:20.778 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:53:04 -0500 (0:00:00.157) 0:06:20.936 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:53:04 -0500 (0:00:00.161) 0:06:21.098 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:53:04 -0500 (0:00:00.116) 0:06:21.214 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:53:04 -0500 (0:00:00.094) 0:06:21.309 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:53:04 -0500 (0:00:00.080) 0:06:21.390 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:53:05 -0500 (0:00:00.086) 0:06:21.477 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:53:05 -0500 (0:00:00.091) 0:06:21.569 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:53:05 -0500 (0:00:00.082) 0:06:21.652 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:53:05 -0500 (0:00:00.083) 0:06:21.735 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:53:05 -0500 (0:00:00.079) 0:06:21.814 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:53:05 -0500 (0:00:00.099) 0:06:21.914 ****** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:53:06 -0500 (0:00:00.595) 0:06:22.510 ****** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:52:09 EST", "ActiveEnterTimestampMonotonic": "1370281169", "ActiveExitTimestamp": "Tue 2024-11-12 09:52:09 EST", "ActiveExitTimestampMonotonic": "1369656590", "ActiveState": "active", "After": "-.mount system.slice systemd-journald.socket basic.target network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:52:09 EST", "AssertTimestampMonotonic": "1370280330", "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": "Tue 2024-11-12 09:52:09 EST", "ConditionTimestampMonotonic": "1370280328", "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": "10328", "ExecMainStartTimestamp": "Tue 2024-11-12 09:52:09 EST", "ExecMainStartTimestampMonotonic": "1370281090", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:52:09 EST] ; stop_time=[n/a] ; pid=10328 ; 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": "Tue 2024-11-12 09:52:09 EST", "InactiveEnterTimestampMonotonic": "1370278570", "InactiveExitTimestamp": "Tue 2024-11-12 09:52:09 EST", "InactiveExitTimestampMonotonic": "1370281169", "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": "10328", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:52:09 EST", "WatchdogTimestampMonotonic": "1370281145", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:53:06 -0500 (0:00:00.894) 0:06:23.405 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:53:07 -0500 (0:00:00.078) 0:06:23.484 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:26 Tuesday 12 November 2024 09:53:07 -0500 (0:00:00.085) 0:06:23.569 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Tuesday 12 November 2024 09:53:07 -0500 (0:00:00.433) 0:06:24.002 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Tuesday 12 November 2024 09:53:09 -0500 (0:00:02.145) 0:06:26.148 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Tuesday 12 November 2024 09:53:09 -0500 (0:00:00.114) 0:06:26.262 ****** ok: [managed-node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Tuesday 12 November 2024 09:53:09 -0500 (0:00:00.087) 0:06:26.350 ****** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 12 November 2024 09:53:10 -0500 (0:00:00.214) 0:06:26.564 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 12 November 2024 09:53:10 -0500 (0:00:00.182) 0:06:26.747 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 12 November 2024 09:53:10 -0500 (0:00:00.157) 0:06:26.905 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 12 November 2024 09:53:11 -0500 (0:00:00.856) 0:06:27.762 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 12 November 2024 09:53:11 -0500 (0:00:00.090) 0:06:27.852 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 12 November 2024 09:53:11 -0500 (0:00:00.416) 0:06:28.268 ****** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 12 November 2024 09:53:11 -0500 (0:00:00.090) 0:06:28.358 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 12 November 2024 09:53:12 -0500 (0:00:00.633) 0:06:28.992 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 12 November 2024 09:53:12 -0500 (0:00:00.083) 0:06:29.075 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 12 November 2024 09:53:12 -0500 (0:00:00.078) 0:06:29.154 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 12 November 2024 09:53:12 -0500 (0:00:00.080) 0:06:29.234 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 12 November 2024 09:53:12 -0500 (0:00:00.093) 0:06:29.328 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 12 November 2024 09:53:12 -0500 (0:00:00.096) 0:06:29.424 ****** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:40:22 EST", "ActiveEnterTimestampMonotonic": "662716279", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:40:22 EST", "AssertTimestampMonotonic": "662453719", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:40:22 EST", "ConditionTimestampMonotonic": "662453717", "Conflicts": "ebtables.service ip6tables.service shutdown.target iptables.service ipset.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": "20386", "ExecMainStartTimestamp": "Tue 2024-11-12 09:40:22 EST", "ExecMainStartTimestampMonotonic": "662454983", "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": "Tue 2024-11-12 09:40:22 EST", "InactiveExitTimestampMonotonic": "662455645", "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": "20386", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-11-12 09:40:22 EST", "WatchdogTimestampMonotonic": "662715801", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 12 November 2024 09:53:13 -0500 (0:00:00.515) 0:06:29.940 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:40:22 EST", "ActiveEnterTimestampMonotonic": "662716279", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:40:22 EST", "AssertTimestampMonotonic": "662453719", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-11-12 09:40:22 EST", "ConditionTimestampMonotonic": "662453717", "Conflicts": "ebtables.service ip6tables.service shutdown.target iptables.service ipset.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": "20386", "ExecMainStartTimestamp": "Tue 2024-11-12 09:40:22 EST", "ExecMainStartTimestampMonotonic": "662454983", "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": "Tue 2024-11-12 09:40:22 EST", "InactiveExitTimestampMonotonic": "662455645", "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": "20386", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-11-12 09:40:22 EST", "WatchdogTimestampMonotonic": "662715801", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 12 November 2024 09:53:19 -0500 (0:00:05.541) 0:06:35.481 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 12 November 2024 09:53:19 -0500 (0:00:00.247) 0:06:35.729 ****** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.44 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 12 November 2024 09:53:19 -0500 (0:00:00.440) 0:06:36.169 ****** ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 12 November 2024 09:53:19 -0500 (0:00:00.092) 0:06:36.261 ****** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 12 November 2024 09:53:19 -0500 (0:00:00.082) 0:06:36.344 ****** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 12 November 2024 09:53:19 -0500 (0:00:00.087) 0:06:36.431 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 12 November 2024 09:53:20 -0500 (0:00:00.104) 0:06:36.536 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 12 November 2024 09:53:20 -0500 (0:00:00.084) 0:06:36.621 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 12 November 2024 09:53:20 -0500 (0:00:00.084) 0:06:36.705 ****** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.44 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 12 November 2024 09:53:20 -0500 (0:00:00.381) 0:06:37.087 ****** ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 12 November 2024 09:53:20 -0500 (0:00:00.091) 0:06:37.179 ****** skipping: [managed-node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Tuesday 12 November 2024 09:53:20 -0500 (0:00:00.085) 0:06:37.264 ****** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Tuesday 12 November 2024 09:53:20 -0500 (0:00:00.198) 0:06:37.463 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Tuesday 12 November 2024 09:53:21 -0500 (0:00:00.154) 0:06:37.617 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Tuesday 12 November 2024 09:53:21 -0500 (0:00:00.257) 0:06:37.874 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Tuesday 12 November 2024 09:53:21 -0500 (0:00:00.154) 0:06:38.029 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Tuesday 12 November 2024 09:53:26 -0500 (0:00:05.415) 0:06:43.444 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Tuesday 12 November 2024 09:53:27 -0500 (0:00:00.090) 0:06:43.535 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Tuesday 12 November 2024 09:53:27 -0500 (0:00:00.391) 0:06:43.926 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Tuesday 12 November 2024 09:53:27 -0500 (0:00:00.091) 0:06:44.017 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Tuesday 12 November 2024 09:53:28 -0500 (0:00:00.654) 0:06:44.672 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Tuesday 12 November 2024 09:53:28 -0500 (0:00:00.113) 0:06:44.785 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Tuesday 12 November 2024 09:53:28 -0500 (0:00:00.082) 0:06:44.868 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Tuesday 12 November 2024 09:53:28 -0500 (0:00:00.089) 0:06:44.957 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Tuesday 12 November 2024 09:53:28 -0500 (0:00:00.128) 0:06:45.086 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Tuesday 12 November 2024 09:53:28 -0500 (0:00:00.101) 0:06:45.187 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Tuesday 12 November 2024 09:53:28 -0500 (0:00:00.097) 0:06:45.285 ****** ok: [managed-node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Tuesday 12 November 2024 09:53:29 -0500 (0:00:00.696) 0:06:45.982 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Tuesday 12 November 2024 09:53:29 -0500 (0:00:00.308) 0:06:46.290 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Tuesday 12 November 2024 09:53:29 -0500 (0:00:00.121) 0:06:46.412 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Tuesday 12 November 2024 09:53:30 -0500 (0:00:00.128) 0:06:46.541 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Tuesday 12 November 2024 09:53:30 -0500 (0:00:00.103) 0:06:46.645 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Tuesday 12 November 2024 09:53:30 -0500 (0:00:00.088) 0:06:46.733 ****** 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.375055", "end": "2024-11-12 09:53:30.963310", "rc": 0, "start": "2024-11-12 09:53:30.588255" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.828) 0:06:47.561 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.130) 0:06:47.691 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.095) 0:06:47.786 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.092) 0:06:47.879 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.119) 0:06:47.998 ****** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.107) 0:06:48.106 ****** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.103) 0:06:48.210 ****** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.080) 0:06:48.290 ****** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Tuesday 12 November 2024 09:53:31 -0500 (0:00:00.080) 0:06:48.371 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Tuesday 12 November 2024 09:53:35 -0500 (0:00:03.370) 0:06:51.742 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Tuesday 12 November 2024 09:53:35 -0500 (0:00:00.155) 0:06:51.897 ****** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Tuesday 12 November 2024 09:53:35 -0500 (0:00:00.136) 0:06:52.034 ****** TASK [Leave realm] ************************************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Tuesday 12 November 2024 09:53:35 -0500 (0:00:00.128) 0:06:52.163 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Tuesday 12 November 2024 09:53:35 -0500 (0:00:00.198) 0:06:52.361 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Tuesday 12 November 2024 09:53:36 -0500 (0:00:00.159) 0:06:52.520 ****** ok: [managed-node2] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Tuesday 12 November 2024 09:53:36 -0500 (0:00:00.857) 0:06:53.378 ****** 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-tools.x86_64 0:17.10.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 msodbcsql17 to be removed - no longer needed by mssql-tools\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 msodbcsql17.x86_64 0:17.10.6.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-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 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 msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 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 : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\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 : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/17 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/17 \n Verifying : lsof-4.87-6.el7.x86_64 8/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools.x86_64 0:17.10.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 msodbcsql17.x86_64 0:17.10.6.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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Tuesday 12 November 2024 09:53:40 -0500 (0:00:03.993) 0:06:57.371 ****** [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.011158", "end": "2024-11-12 09:53:41.187555", "rc": 0, "start": "2024-11-12 09:53:41.176397" } 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/e899b4f2-1f82-4a70-b98e-1278804fadae’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133758967903550000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133758965960600000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758965391010000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133758964591390000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/system_health_0_133758965397280000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133758964638160000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758967898320000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758964890720000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133758966501060000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758964584010000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758965955270000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133758967329860000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758964631360000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133758964896840000.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_133758966496200000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758967324450000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Tuesday 12 November 2024 09:53:41 -0500 (0:00:00.433) 0:06:57.804 ****** ok: [managed-node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.361878", "end": "2024-11-12 09:53:41.977052", "rc": 0, "start": "2024-11-12 09:53:41.615174" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Tuesday 12 November 2024 09:53:42 -0500 (0:00:00.690) 0:06:58.495 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.844241", "end": "2024-11-12 09:53:44.244494", "rc": 0, "start": "2024-11-12 09:53:42.400253" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=389 changed=62 unreachable=0 failed=0 skipped=886 rescued=0 ignored=0 Tuesday 12 November 2024 09:53:44 -0500 (0:00:02.278) 0:07:00.773 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 40.64s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 9.61s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Wait for mssql-server to prepare for client connections ----------------- 6.57s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 5.97s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition --- 5.58s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 5.54s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Get the value of the setting tlscert ------------------------------------ 5.52s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.43s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.selinux : Check if system is ostree ----------- 5.42s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.91s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Remove related packages ------------------------------------------------- 3.99s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.37s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Test with certs created by the certificate role ------------------------- 2.91s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.28s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Gather package facts ---------------------------------------------------- 2.15s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.01s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.83s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.76s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.71s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.64s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93