ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_tls_2017.yml *************************************************** 2 plays in /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:5 Friday 20 September 2024 22:34:05 -0400 (0:00:00.037) 0:00:00.037 ****** 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-TGU/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:9 Friday 20 September 2024 22:34:05 -0400 (0:00:00.042) 0:00:00.079 ****** ok: [managed_node2] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:23 Friday 20 September 2024 22:34:07 -0400 (0:00:01.261) 0:00:01.341 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 20 September 2024 22:34:07 -0400 (0:00:00.254) 0:00:01.595 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 20 September 2024 22:34:07 -0400 (0:00:00.100) 0:00:01.696 ****** ok: [managed_node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 20 September 2024 22:34:08 -0400 (0:00:00.674) 0:00:02.371 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 20 September 2024 22:34:08 -0400 (0:00:00.076) 0:00:02.447 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 20 September 2024 22:34:08 -0400 (0:00:00.036) 0:00:02.483 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 20 September 2024 22:34:09 -0400 (0:00:01.026) 0:00:03.510 ****** changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.BbkIPK", "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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 20 September 2024 22:34:09 -0400 (0:00:00.763) 0:00:04.273 ****** changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.hlnAO8", "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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 20 September 2024 22:34:10 -0400 (0:00:00.496) 0:00:04.770 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.10.74", "-out", "/tmp/ansible.BbkIPK", "-keyout", "/tmp/ansible.hlnAO8", "-days", "365" ], "delta": "0:00:00.098128", "end": "2024-09-20 22:34:11.159159", "rc": 0, "start": "2024-09-20 22:34:11.061031" } STDERR: Generating a 2048 bit RSA private key ...................................................................+++ ...............+++ writing new private key to '/tmp/ansible.hlnAO8' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 20 September 2024 22:34:11 -0400 (0:00:00.728) 0:00:05.499 ****** changed: [managed_node2] => (item=/tmp/ansible.BbkIPK) => { "ansible_loop_var": "item", "changed": true, "checksum": "1a898ddba203ccfd15a21df9e64e2c3185acabd2", "dest": "/tmp/ansible.BbkIPK", "item": "/tmp/ansible.BbkIPK", "md5sum": "04041881f2c026e839a7621474b614a4", "remote_checksum": "1a898ddba203ccfd15a21df9e64e2c3185acabd2", "remote_md5sum": null } changed: [managed_node2] => (item=/tmp/ansible.hlnAO8) => { "ansible_loop_var": "item", "changed": true, "checksum": "975694882c2a3cb5da314b4e44e498c3be36c2ae", "dest": "/tmp/ansible.hlnAO8", "item": "/tmp/ansible.hlnAO8", "md5sum": "4cf7ef00462d53e33252ace9e6d685a9", "remote_checksum": "975694882c2a3cb5da314b4e44e498c3be36c2ae", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 20 September 2024 22:34:12 -0400 (0:00:00.933) 0:00:06.432 ****** changed: [managed_node2 -> localhost] => { "changed": true, "checksum": "975694882c2a3cb5da314b4e44e498c3be36c2ae", "dest": "./ansible.hlnAO8", "gid": 0, "group": "root", "md5sum": "4cf7ef00462d53e33252ace9e6d685a9", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1726886052.18-21681-37883217496900/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 20 September 2024 22:34:12 -0400 (0:00:00.563) 0:00:06.995 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.BbkIPK", "mssql_tls_private_key": "ansible.hlnAO8" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 20 September 2024 22:34:12 -0400 (0:00:00.037) 0:00:07.033 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 20 September 2024 22:34:13 -0400 (0:00:00.438) 0:00:07.472 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 20 September 2024 22:34:13 -0400 (0:00:00.041) 0:00:07.514 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 20 September 2024 22:34:13 -0400 (0:00:00.052) 0:00:07.566 ****** 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-6xu/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-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 20 September 2024 22:34:13 -0400 (0:00:00.078) 0:00:07.644 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 20 September 2024 22:34:13 -0400 (0:00:00.038) 0:00:07.683 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 20 September 2024 22:34:13 -0400 (0:00:00.033) 0:00:07.716 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 20 September 2024 22:34:13 -0400 (0:00:00.032) 0:00:07.749 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 20 September 2024 22:34:13 -0400 (0:00:00.030) 0:00:07.779 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 20 September 2024 22:34:13 -0400 (0:00:00.031) 0:00:07.810 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 20 September 2024 22:34:13 -0400 (0:00:00.030) 0:00:07.841 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 20 September 2024 22:34:13 -0400 (0:00:00.030) 0:00:07.872 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 20 September 2024 22:34:13 -0400 (0:00:00.030) 0:00:07.902 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 20 September 2024 22:34:13 -0400 (0:00:00.030) 0:00:07.933 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 20 September 2024 22:34:13 -0400 (0:00:00.034) 0:00:07.967 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 20 September 2024 22:34:13 -0400 (0:00:00.043) 0:00:08.011 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 20 September 2024 22:34:13 -0400 (0:00:00.032) 0:00:08.043 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 20 September 2024 22:34:13 -0400 (0:00:00.032) 0:00:08.076 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 20 September 2024 22:34:13 -0400 (0:00:00.030) 0:00:08.106 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 20 September 2024 22:34:13 -0400 (0:00:00.031) 0:00:08.137 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 20 September 2024 22:34:13 -0400 (0:00:00.033) 0:00:08.170 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 20 September 2024 22:34:13 -0400 (0:00:00.033) 0:00:08.204 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 20 September 2024 22:34:15 -0400 (0:00:01.689) 0:00:09.894 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 20 September 2024 22:34:15 -0400 (0:00:00.176) 0:00:10.070 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 20 September 2024 22:34:15 -0400 (0:00:00.143) 0:00:10.213 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 20 September 2024 22:34:16 -0400 (0:00:00.100) 0:00:10.314 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 20 September 2024 22:34:16 -0400 (0:00:00.143) 0:00:10.458 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 20 September 2024 22:34:16 -0400 (0:00:00.732) 0:00:11.191 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 20 September 2024 22:34:16 -0400 (0:00:00.057) 0:00:11.248 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 20 September 2024 22:34:17 -0400 (0:00:00.058) 0:00:11.307 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 20 September 2024 22:34:17 -0400 (0:00:00.059) 0:00:11.366 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 20 September 2024 22:34:17 -0400 (0:00:00.056) 0:00:11.423 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 20 September 2024 22:34:17 -0400 (0:00:00.059) 0:00:11.482 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 20 September 2024 22:34:17 -0400 (0:00:00.056) 0:00:11.539 ****** changed: [managed_node2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 20 September 2024 22:34:17 -0400 (0:00:00.555) 0:00:12.095 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 20 September 2024 22:34:17 -0400 (0:00:00.103) 0:00:12.199 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 20 September 2024 22:34:18 -0400 (0:00:00.631) 0:00:12.830 ****** changed: [managed_node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nTotal download size: 200 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 20 September 2024 22:35:05 -0400 (0:00:46.888) 0:00:59.718 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 20 September 2024 22:35:05 -0400 (0:00:00.057) 0:00:59.776 ****** 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.005722", "end": "2024-09-20 22:35:05.741647", "rc": 0, "start": "2024-09-20 22:35:05.735925" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 20 September 2024 22:35:05 -0400 (0:00:00.328) 0:01:00.104 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 20 September 2024 22:35:06 -0400 (0:00:01.018) 0:01:01.123 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 20 September 2024 22:35:06 -0400 (0:00:00.085) 0:01:01.208 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 20 September 2024 22:35:06 -0400 (0:00:00.071) 0:01:01.280 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 20 September 2024 22:35:11 -0400 (0:00:04.628) 0:01:05.908 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 20 September 2024 22:35:11 -0400 (0:00:00.119) 0:01:06.027 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 20 September 2024 22:35:11 -0400 (0:00:00.103) 0:01:06.131 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 20 September 2024 22:35:11 -0400 (0:00:00.099) 0:01:06.230 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 20 September 2024 22:35:12 -0400 (0:00:00.881) 0:01:07.112 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:24:52 EDT", "ActiveEnterTimestampMonotonic": "7926737", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:24:51 EDT", "AssertTimestampMonotonic": "7259163", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ConditionTimestampMonotonic": "7259162", "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": "846", "ExecMainStartTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ExecMainStartTimestampMonotonic": "7261066", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:24:51 EDT", "InactiveExitTimestampMonotonic": "7261101", "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": "846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:24:52 EDT", "WatchdogTimestampMonotonic": "7926686", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 20 September 2024 22:35:14 -0400 (0:00:01.282) 0:01:08.395 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.159365", "end": "2024-09-20 22:35:15.013276", "rc": 0, "start": "2024-09-20 22:35:14.853911" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 20 September 2024 22:35:15 -0400 (0:00:01.111) 0:01:09.506 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 20 September 2024 22:35:15 -0400 (0:00:00.242) 0:01:09.749 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 20 September 2024 22:35:15 -0400 (0:00:00.122) 0:01:09.871 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 20 September 2024 22:35:15 -0400 (0:00:00.151) 0:01:10.022 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 20 September 2024 22:35:16 -0400 (0:00:00.679) 0:01:10.702 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 20 September 2024 22:35:16 -0400 (0:00:00.186) 0:01:10.888 ****** 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: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 20 September 2024 22:35:21 -0400 (0:00:05.350) 0:01:16.238 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 20 September 2024 22:35:22 -0400 (0:00:00.121) 0:01:16.360 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 20 September 2024 22:35:22 -0400 (0:00:00.186) 0:01:16.546 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 20 September 2024 22:35:22 -0400 (0:00:00.166) 0:01:16.713 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 20 September 2024 22:35:22 -0400 (0:00:00.200) 0:01:16.913 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 20 September 2024 22:35:22 -0400 (0:00:00.132) 0:01:17.045 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 20 September 2024 22:35:22 -0400 (0:00:00.121) 0:01:17.167 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 20 September 2024 22:35:22 -0400 (0:00:00.110) 0:01:17.277 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 20 September 2024 22:35:23 -0400 (0:00:00.121) 0:01:17.399 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 20 September 2024 22:35:23 -0400 (0:00:00.163) 0:01:17.562 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 20 September 2024 22:35:23 -0400 (0:00:00.075) 0:01:17.638 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 20 September 2024 22:35:23 -0400 (0:00:00.068) 0:01:17.706 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 20 September 2024 22:35:23 -0400 (0:00:00.091) 0:01:17.797 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 20 September 2024 22:35:23 -0400 (0:00:00.091) 0:01:17.889 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 20 September 2024 22:35:23 -0400 (0:00:00.088) 0:01:17.978 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 20 September 2024 22:35:23 -0400 (0:00:00.075) 0:01:18.053 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:35:23 -0400 (0:00:00.115) 0:01:18.169 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003081", "end": "2024-09-20 22:35:24.215540", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:35:24.212459" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:35:24 -0400 (0:00:00.567) 0:01:18.737 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045055", "end": "2024-09-20 22:35:24.983512", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:35:24.938457" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:35:25 -0400 (0:00:00.797) 0:01:19.534 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 20 September 2024 22:35:25 -0400 (0:00:00.103) 0:01:19.638 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 20 September 2024 22:35:25 -0400 (0:00:00.152) 0:01:19.791 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 20 September 2024 22:35:25 -0400 (0:00:00.100) 0:01:19.892 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 20 September 2024 22:35:25 -0400 (0:00:00.109) 0:01:20.001 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 20 September 2024 22:35:25 -0400 (0:00:00.113) 0:01:20.114 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 20 September 2024 22:35:25 -0400 (0:00:00.099) 0:01:20.213 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 20 September 2024 22:35:26 -0400 (0:00:00.107) 0:01:20.321 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 20 September 2024 22:35:26 -0400 (0:00:00.118) 0:01:20.439 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 20 September 2024 22:35:26 -0400 (0:00:00.242) 0:01:20.682 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 20 September 2024 22:35:26 -0400 (0:00:00.130) 0:01:20.813 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 20 September 2024 22:35:26 -0400 (0:00:00.213) 0:01:21.027 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 20 September 2024 22:35:26 -0400 (0:00:00.156) 0:01:21.184 ****** changed: [managed_node2] => (item=/tmp/ansible.BbkIPK) => { "ansible_loop_var": "item", "changed": true, "checksum": "1a898ddba203ccfd15a21df9e64e2c3185acabd2", "dest": "/etc/pki/tls/certs/ansible.BbkIPK", "gid": 994, "group": "mssql", "item": "/tmp/ansible.BbkIPK", "md5sum": "04041881f2c026e839a7621474b614a4", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1726886127.02-23838-80199913362699/source", "state": "file", "uid": 996 } changed: [managed_node2] => (item=ansible.hlnAO8) => { "ansible_loop_var": "item", "changed": true, "checksum": "975694882c2a3cb5da314b4e44e498c3be36c2ae", "dest": "/etc/pki/tls/private/ansible.hlnAO8", "gid": 994, "group": "mssql", "item": "ansible.hlnAO8", "md5sum": "4cf7ef00462d53e33252ace9e6d685a9", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1726886128.03-23838-14115105957654/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 20 September 2024 22:35:28 -0400 (0:00:02.055) 0:01:23.239 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:35:29 -0400 (0:00:00.198) 0:01:23.437 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003192", "end": "2024-09-20 22:35:29.430503", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:35:29.427311" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:35:29 -0400 (0:00:00.365) 0:01:23.803 ****** 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.BbkIPK" ], "delta": "0:00:00.044932", "end": "2024-09-20 22:35:29.862060", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:35:29.817128" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:35:30 -0400 (0:00:00.499) 0:01:24.302 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 20 September 2024 22:35:30 -0400 (0:00:00.152) 0:01:24.455 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:35:30 -0400 (0:00:00.307) 0:01:24.762 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003148", "end": "2024-09-20 22:35:30.864259", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:35:30.861111" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:35:30 -0400 (0:00:00.511) 0:01:25.274 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.hlnAO8" ], "delta": "0:00:00.043556", "end": "2024-09-20 22:35:31.403420", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:35:31.359864" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:35:31 -0400 (0:00:00.685) 0:01:25.959 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 20 September 2024 22:35:31 -0400 (0:00:00.192) 0:01:26.151 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:35:32 -0400 (0:00:00.326) 0:01:26.477 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003140", "end": "2024-09-20 22:35:32.490914", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:35:32.487774" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:35:32 -0400 (0:00:00.444) 0:01:26.921 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.043461", "end": "2024-09-20 22:35:32.990249", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:35:32.946788" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:35:33 -0400 (0:00:00.532) 0:01:27.454 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 20 September 2024 22:35:33 -0400 (0:00:00.123) 0:01:27.577 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:35:33 -0400 (0:00:00.228) 0:01:27.806 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003047", "end": "2024-09-20 22:35:33.775912", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:35:33.772865" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:35:33 -0400 (0:00:00.460) 0:01:28.266 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.044138", "end": "2024-09-20 22:35:34.364112", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:35:34.319974" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:35:34 -0400 (0:00:00.518) 0:01:28.785 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 20 September 2024 22:35:34 -0400 (0:00:00.092) 0:01:28.877 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 20 September 2024 22:35:34 -0400 (0:00:00.091) 0:01:28.968 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 20 September 2024 22:35:34 -0400 (0:00:00.117) 0:01:29.085 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 20 September 2024 22:35:34 -0400 (0:00:00.092) 0:01:29.178 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 20 September 2024 22:35:34 -0400 (0:00:00.086) 0:01:29.265 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 20 September 2024 22:35:35 -0400 (0:00:00.080) 0:01:29.345 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 20 September 2024 22:35:35 -0400 (0:00:00.066) 0:01:29.411 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 20 September 2024 22:35:35 -0400 (0:00:00.068) 0:01:29.480 ****** 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 : Get SPNs for the principal] ************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 20 September 2024 22:35:35 -0400 (0:00:00.065) 0:01:29.545 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 20 September 2024 22:35:35 -0400 (0:00:00.157) 0:01:29.703 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 20 September 2024 22:35:35 -0400 (0:00:00.106) 0:01:29.809 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 20 September 2024 22:35:35 -0400 (0:00:00.104) 0:01:29.914 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 20 September 2024 22:35:35 -0400 (0:00:00.101) 0:01:30.016 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 20 September 2024 22:35:35 -0400 (0:00:00.098) 0:01:30.115 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 20 September 2024 22:35:35 -0400 (0:00:00.119) 0:01:30.234 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 20 September 2024 22:35:36 -0400 (0:00:00.102) 0:01:30.337 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 20 September 2024 22:35:36 -0400 (0:00:00.105) 0:01:30.443 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 20 September 2024 22:35:36 -0400 (0:00:00.106) 0:01:30.549 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 20 September 2024 22:35:36 -0400 (0:00:00.092) 0:01:30.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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 20 September 2024 22:35:36 -0400 (0:00:00.084) 0:01:30.727 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 20 September 2024 22:35:36 -0400 (0:00:00.078) 0:01:30.806 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 20 September 2024 22:35:36 -0400 (0:00:00.067) 0:01:30.873 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 20 September 2024 22:35:36 -0400 (0:00:00.065) 0:01:30.938 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 20 September 2024 22:35:36 -0400 (0:00:00.090) 0:01:31.029 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 20 September 2024 22:35:36 -0400 (0:00:00.092) 0:01:31.121 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 20 September 2024 22:35:36 -0400 (0:00:00.106) 0:01:31.228 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 20 September 2024 22:35:37 -0400 (0:00:00.089) 0:01:31.317 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 20 September 2024 22:35:37 -0400 (0:00:00.101) 0:01:31.419 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 20 September 2024 22:35:37 -0400 (0:00:00.069) 0:01:31.488 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 20 September 2024 22:35:37 -0400 (0:00:00.125) 0:01:31.614 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 20 September 2024 22:35:37 -0400 (0:00:00.120) 0:01:31.734 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 20 September 2024 22:35:37 -0400 (0:00:00.086) 0:01:31.820 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 20 September 2024 22:35:37 -0400 (0:00:00.087) 0:01:31.908 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 20 September 2024 22:35:37 -0400 (0:00:00.068) 0:01:31.976 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 20 September 2024 22:35:37 -0400 (0:00:00.067) 0:01:32.043 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 20 September 2024 22:35:37 -0400 (0:00:00.070) 0:01:32.114 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 20 September 2024 22:35:37 -0400 (0:00:00.094) 0:01:32.208 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 20 September 2024 22:35:38 -0400 (0:00:00.114) 0:01:32.323 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 20 September 2024 22:35:38 -0400 (0:00:00.105) 0:01:32.429 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 20 September 2024 22:35:38 -0400 (0:00:00.101) 0:01:32.531 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 20 September 2024 22:35:38 -0400 (0:00:00.098) 0:01:32.629 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 20 September 2024 22:35:38 -0400 (0:00:00.083) 0:01:32.712 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 20 September 2024 22:35:38 -0400 (0:00:00.080) 0:01:32.793 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 20 September 2024 22:35:38 -0400 (0:00:00.089) 0:01:32.883 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 20 September 2024 22:35:38 -0400 (0:00:00.099) 0:01:32.983 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 20 September 2024 22:35:38 -0400 (0:00:00.109) 0:01:33.092 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 20 September 2024 22:35:38 -0400 (0:00:00.095) 0:01:33.187 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 20 September 2024 22:35:38 -0400 (0:00:00.091) 0:01:33.279 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 20 September 2024 22:35:39 -0400 (0:00:00.091) 0:01:33.371 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 20 September 2024 22:35:39 -0400 (0:00:00.128) 0:01:33.500 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 20 September 2024 22:35:39 -0400 (0:00:00.066) 0:01:33.566 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 20 September 2024 22:35:39 -0400 (0:00:00.089) 0:01:33.655 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 20 September 2024 22:35:39 -0400 (0:00:00.100) 0:01:33.755 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 20 September 2024 22:35:40 -0400 (0:00:00.648) 0:01:34.404 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:35:11 EDT", "ActiveEnterTimestampMonotonic": "626702857", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket -.mount auditd.service network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:35:11 EDT", "AssertTimestampMonotonic": "626702078", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:35:11 EDT", "ConditionTimestampMonotonic": "626702077", "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": "22109", "ExecMainStartTimestamp": "Fri 2024-09-20 22:35:11 EDT", "ExecMainStartTimestampMonotonic": "626702801", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:35:11 EDT", "InactiveExitTimestampMonotonic": "626702857", "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": "22109", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:35:11 EDT", "WatchdogTimestampMonotonic": "626702836", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 20 September 2024 22:35:40 -0400 (0:00:00.756) 0:01:35.161 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 20 September 2024 22:35:40 -0400 (0:00:00.099) 0:01:35.260 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 20 September 2024 22:35:41 -0400 (0:00:00.124) 0:01:35.384 ****** changed: [managed_node2 -> localhost] => { "changed": true, "path": "ansible.hlnAO8", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 20 September 2024 22:35:41 -0400 (0:00:00.492) 0:01:35.877 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 20 September 2024 22:35:41 -0400 (0:00:00.117) 0:01:35.995 ****** changed: [managed_node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 20 September 2024 22:35:42 -0400 (0:00:00.781) 0:01:36.776 ****** changed: [managed_node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 20 September 2024 22:35:43 -0400 (0:00:00.590) 0:01:37.366 ****** ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 20 September 2024 22:35:44 -0400 (0:00:00.956) 0:01:38.323 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 20 September 2024 22:35:44 -0400 (0:00:00.147) 0:01:38.471 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 20 September 2024 22:35:44 -0400 (0:00:00.074) 0:01:38.545 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 20 September 2024 22:35:44 -0400 (0:00:00.066) 0:01:38.612 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 20 September 2024 22:35:44 -0400 (0:00:00.067) 0:01:38.679 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 20 September 2024 22:35:44 -0400 (0:00:00.065) 0:01:38.744 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 20 September 2024 22:35:44 -0400 (0:00:00.065) 0:01:38.810 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 20 September 2024 22:35:44 -0400 (0:00:00.064) 0:01:38.874 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 20 September 2024 22:35:44 -0400 (0:00:00.082) 0:01:38.957 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 20 September 2024 22:35:44 -0400 (0:00:00.116) 0:01:39.074 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 20 September 2024 22:35:44 -0400 (0:00:00.176) 0:01:39.250 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ActiveEnterTimestampMonotonic": "656116935", "ActiveExitTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ActiveExitTimestampMonotonic": "655900965", "ActiveState": "active", "After": "basic.target system.slice -.mount network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:35:40 EDT", "AssertTimestampMonotonic": "656116191", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ConditionTimestampMonotonic": "656116189", "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": "23372", "ExecMainStartTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ExecMainStartTimestampMonotonic": "656116859", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:35:40 EDT", "InactiveEnterTimestampMonotonic": "656114647", "InactiveExitTimestamp": "Fri 2024-09-20 22:35:40 EDT", "InactiveExitTimestampMonotonic": "656116935", "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": "23372", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:35:40 EDT", "WatchdogTimestampMonotonic": "656116913", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 20 September 2024 22:35:45 -0400 (0:00:00.472) 0:01:39.722 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004661", "end": "2024-09-20 22:35:46.683842", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:35:45.679181" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 20 September 2024 22:35:46 -0400 (0:00:01.332) 0:01:41.055 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002963", "end": "2024-09-20 22:35:47.006734", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:35:47.003771" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 20 September 2024 22:35:47 -0400 (0:00:00.326) 0:01:41.381 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 20 September 2024 22:35:47 -0400 (0:00:00.081) 0:01:41.463 ****** 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": 6354, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 20 September 2024 22:35:48 -0400 (0:00:01.503) 0:01:42.966 ****** 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.029618", "end": "2024-09-20 22:35:48.941312", "rc": 0, "start": "2024-09-20 22:35:48.911694" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 20 September 2024 22:35:49 -0400 (0:00:00.353) 0:01:43.319 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 20 September 2024 22:35:49 -0400 (0:00:00.070) 0:01:43.390 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 20 September 2024 22:35:49 -0400 (0:00:00.066) 0:01:43.456 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 20 September 2024 22:35:49 -0400 (0:00:00.108) 0:01:43.564 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 20 September 2024 22:35:49 -0400 (0:00:00.079) 0:01:43.644 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 20 September 2024 22:35:49 -0400 (0:00:00.063) 0:01:43.707 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 20 September 2024 22:35:49 -0400 (0:00:00.065) 0:01:43.773 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 20 September 2024 22:35:49 -0400 (0:00:00.064) 0:01:43.837 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 20 September 2024 22:35:49 -0400 (0:00:00.081) 0:01:43.919 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:35:49 -0400 (0:00:00.189) 0:01:44.108 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004141", "end": "2024-09-20 22:35:50.110513", "rc": 0, "start": "2024-09-20 22:35:50.106372" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.BbkIPK TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:35:50 -0400 (0:00:00.421) 0:01:44.530 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:35:50 -0400 (0:00:00.138) 0:01:44.669 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.BbkIPK] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:35:50 -0400 (0:00:00.118) 0:01:44.787 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 20 September 2024 22:35:50 -0400 (0:00:00.107) 0:01:44.894 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:35:50 -0400 (0:00:00.199) 0:01:45.094 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004221", "end": "2024-09-20 22:35:51.081462", "rc": 0, "start": "2024-09-20 22:35:51.077241" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hlnAO8 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:35:51 -0400 (0:00:00.375) 0:01:45.469 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:35:51 -0400 (0:00:00.123) 0:01:45.593 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.hlnAO8] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:35:51 -0400 (0:00:00.093) 0:01:45.687 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 20 September 2024 22:35:51 -0400 (0:00:00.092) 0:01:45.779 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:35:51 -0400 (0:00:00.223) 0:01:46.002 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004016", "end": "2024-09-20 22:35:52.005760", "rc": 0, "start": "2024-09-20 22:35:52.001744" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:35:52 -0400 (0:00:00.421) 0:01:46.424 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:35:52 -0400 (0:00:00.129) 0:01:46.554 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:35:52 -0400 (0:00:00.116) 0:01:46.671 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 20 September 2024 22:35:52 -0400 (0:00:00.105) 0:01:46.776 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:35:52 -0400 (0:00:00.221) 0:01:46.997 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004096", "end": "2024-09-20 22:35:52.986497", "rc": 0, "start": "2024-09-20 22:35:52.982401" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:35:53 -0400 (0:00:00.402) 0:01:47.400 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:35:53 -0400 (0:00:00.110) 0:01:47.511 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:35:53 -0400 (0:00:00.128) 0:01:47.640 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 20 September 2024 22:35:53 -0400 (0:00:00.104) 0:01:47.745 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 20 September 2024 22:35:53 -0400 (0:00:00.107) 0:01:47.852 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 20 September 2024 22:35:54 -0400 (0:00:00.624) 0:01:48.476 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 20 September 2024 22:35:54 -0400 (0:00:00.182) 0:01:48.659 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 20 September 2024 22:35:54 -0400 (0:00:00.129) 0:01:48.789 ****** 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-6xu/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-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 20 September 2024 22:35:54 -0400 (0:00:00.161) 0:01:48.950 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 20 September 2024 22:35:54 -0400 (0:00:00.114) 0:01:49.064 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 20 September 2024 22:35:54 -0400 (0:00:00.102) 0:01:49.166 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 20 September 2024 22:35:54 -0400 (0:00:00.104) 0:01:49.271 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 20 September 2024 22:35:55 -0400 (0:00:00.103) 0:01:49.374 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 20 September 2024 22:35:55 -0400 (0:00:00.105) 0:01:49.479 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 20 September 2024 22:35:55 -0400 (0:00:00.100) 0:01:49.580 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 20 September 2024 22:35:55 -0400 (0:00:00.101) 0:01:49.682 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 20 September 2024 22:35:55 -0400 (0:00:00.099) 0:01:49.782 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 20 September 2024 22:35:55 -0400 (0:00:00.101) 0:01:49.883 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 20 September 2024 22:35:55 -0400 (0:00:00.103) 0:01:49.986 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 20 September 2024 22:35:55 -0400 (0:00:00.118) 0:01:50.105 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 20 September 2024 22:35:55 -0400 (0:00:00.103) 0:01:50.208 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 20 September 2024 22:35:56 -0400 (0:00:00.101) 0:01:50.310 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 20 September 2024 22:35:56 -0400 (0:00:00.103) 0:01:50.414 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 20 September 2024 22:35:56 -0400 (0:00:00.102) 0:01:50.517 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 20 September 2024 22:35:56 -0400 (0:00:00.108) 0:01:50.625 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 20 September 2024 22:35:56 -0400 (0:00:00.182) 0:01:50.807 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 20 September 2024 22:35:57 -0400 (0:00:01.317) 0:01:52.125 ****** ok: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 20 September 2024 22:35:58 -0400 (0:00:00.297) 0:01:52.422 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 20 September 2024 22:35:58 -0400 (0:00:00.105) 0:01:52.528 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 20 September 2024 22:35:58 -0400 (0:00:00.110) 0:01:52.638 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 20 September 2024 22:35:58 -0400 (0:00:00.190) 0:01:52.829 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 20 September 2024 22:35:59 -0400 (0:00:00.651) 0:01:53.480 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 20 September 2024 22:35:59 -0400 (0:00:00.089) 0:01:53.569 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 20 September 2024 22:35:59 -0400 (0:00:00.075) 0:01:53.644 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 20 September 2024 22:35:59 -0400 (0:00:00.091) 0:01:53.736 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 20 September 2024 22:35:59 -0400 (0:00:00.110) 0:01:53.847 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 20 September 2024 22:35:59 -0400 (0:00:00.165) 0:01:54.013 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 20 September 2024 22:35:59 -0400 (0:00:00.080) 0:01:54.094 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 20 September 2024 22:35:59 -0400 (0:00:00.094) 0:01:54.188 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 20 September 2024 22:35:59 -0400 (0:00:00.093) 0:01:54.281 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 20 September 2024 22:36:00 -0400 (0:00:00.676) 0:01:54.957 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 20 September 2024 22:36:01 -0400 (0:00:00.638) 0:01:55.596 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 20 September 2024 22:36:01 -0400 (0:00:00.106) 0:01:55.702 ****** 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.004989", "end": "2024-09-20 22:36:01.696749", "rc": 0, "start": "2024-09-20 22:36:01.691760" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 20 September 2024 22:36:01 -0400 (0:00:00.388) 0:01:56.091 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 20 September 2024 22:36:02 -0400 (0:00:00.913) 0:01:57.005 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 20 September 2024 22:36:02 -0400 (0:00:00.097) 0:01:57.103 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 20 September 2024 22:36:02 -0400 (0:00:00.068) 0:01:57.172 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 20 September 2024 22:36:02 -0400 (0:00:00.068) 0:01:57.241 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 20 September 2024 22:36:03 -0400 (0:00:00.236) 0:01:57.478 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 20 September 2024 22:36:03 -0400 (0:00:00.096) 0:01:57.574 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 20 September 2024 22:36:03 -0400 (0:00:00.086) 0:01:57.660 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 20 September 2024 22:36:03 -0400 (0:00:00.540) 0:01:58.200 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:24:52 EDT", "ActiveEnterTimestampMonotonic": "7926737", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice systemd-sysctl.service network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:24:51 EDT", "AssertTimestampMonotonic": "7259163", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ConditionTimestampMonotonic": "7259162", "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": "846", "ExecMainStartTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ExecMainStartTimestampMonotonic": "7261066", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:24:51 EDT", "InactiveExitTimestampMonotonic": "7261101", "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": "846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:24:52 EDT", "WatchdogTimestampMonotonic": "7926686", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 20 September 2024 22:36:04 -0400 (0:00:00.415) 0:01:58.616 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.081736", "end": "2024-09-20 22:36:04.649100", "rc": 0, "start": "2024-09-20 22:36:04.567364" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 20 September 2024 22:36:04 -0400 (0:00:00.406) 0:01:59.022 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 20 September 2024 22:36:04 -0400 (0:00:00.070) 0:01:59.092 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 20 September 2024 22:36:04 -0400 (0:00:00.072) 0:01:59.165 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 20 September 2024 22:36:04 -0400 (0:00:00.070) 0:01:59.235 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 20 September 2024 22:36:05 -0400 (0:00:00.371) 0:01:59.607 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 20 September 2024 22:36:05 -0400 (0:00:00.090) 0:01:59.697 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 20 September 2024 22:36:06 -0400 (0:00:00.609) 0:02:00.307 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 20 September 2024 22:36:06 -0400 (0:00:00.110) 0:02:00.417 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 20 September 2024 22:36:06 -0400 (0:00:00.181) 0:02:00.598 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 20 September 2024 22:36:06 -0400 (0:00:00.116) 0:02:00.715 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 20 September 2024 22:36:06 -0400 (0:00:00.104) 0:02:00.820 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 20 September 2024 22:36:06 -0400 (0:00:00.115) 0:02:00.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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 20 September 2024 22:36:06 -0400 (0:00:00.110) 0:02:01.046 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 20 September 2024 22:36:06 -0400 (0:00:00.111) 0:02:01.158 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 20 September 2024 22:36:06 -0400 (0:00:00.111) 0:02:01.269 ****** 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.005103", "end": "2024-09-20 22:36:07.272973", "rc": 0, "start": "2024-09-20 22:36:07.267870" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 20 September 2024 22:36:07 -0400 (0:00:00.409) 0:02:01.679 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 20 September 2024 22:36:07 -0400 (0:00:00.120) 0:02:01.800 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 20 September 2024 22:36:08 -0400 (0:00:01.298) 0:02:03.098 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 20 September 2024 22:36:08 -0400 (0:00:00.115) 0:02:03.213 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 20 September 2024 22:36:09 -0400 (0:00:00.107) 0:02:03.320 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 20 September 2024 22:36:09 -0400 (0:00:00.172) 0:02:03.493 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 20 September 2024 22:36:09 -0400 (0:00:00.109) 0:02:03.603 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:09 -0400 (0:00:00.195) 0:02:03.798 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002995", "end": "2024-09-20 22:36:09.800877", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:09.797882" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:09 -0400 (0:00:00.419) 0:02:04.218 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045566", "end": "2024-09-20 22:36:10.267058", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:10.221492" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:10 -0400 (0:00:00.437) 0:02:04.655 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 20 September 2024 22:36:10 -0400 (0:00:00.067) 0:02:04.723 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 20 September 2024 22:36:10 -0400 (0:00:00.069) 0:02:04.793 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 20 September 2024 22:36:10 -0400 (0:00:00.081) 0:02:04.874 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 20 September 2024 22:36:10 -0400 (0:00:00.069) 0:02:04.944 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 20 September 2024 22:36:10 -0400 (0:00:00.068) 0:02:05.013 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 20 September 2024 22:36:10 -0400 (0:00:00.065) 0:02:05.079 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 20 September 2024 22:36:10 -0400 (0:00:00.066) 0:02:05.146 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 20 September 2024 22:36:10 -0400 (0:00:00.067) 0:02:05.213 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 20 September 2024 22:36:10 -0400 (0:00:00.066) 0:02:05.280 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 20 September 2024 22:36:11 -0400 (0:00:00.096) 0:02:05.377 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 20 September 2024 22:36:11 -0400 (0:00:00.101) 0:02:05.478 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 20 September 2024 22:36:11 -0400 (0:00:00.185) 0:02:05.664 ****** skipping: [managed_node2] => (item=/tmp/ansible.BbkIPK) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.BbkIPK", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ansible.hlnAO8) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.hlnAO8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 20 September 2024 22:36:11 -0400 (0:00:00.134) 0:02:05.799 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:11 -0400 (0:00:00.210) 0:02:06.009 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003232", "end": "2024-09-20 22:36:12.018789", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:12.015557" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.BbkIPK TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:12 -0400 (0:00:00.423) 0:02:06.433 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:12 -0400 (0:00:00.098) 0:02:06.532 ****** 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.043647", "end": "2024-09-20 22:36:12.535746", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:12.492099" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 20 September 2024 22:36:12 -0400 (0:00:00.400) 0:02:06.932 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:12 -0400 (0:00:00.215) 0:02:07.148 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003105", "end": "2024-09-20 22:36:13.140865", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:13.137760" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hlnAO8 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:13 -0400 (0:00:00.408) 0:02:07.557 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:13 -0400 (0:00:00.122) 0:02:07.679 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.044022", "end": "2024-09-20 22:36:13.732513", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:13.688491" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 20 September 2024 22:36:13 -0400 (0:00:00.438) 0:02:08.117 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:13 -0400 (0:00:00.132) 0:02:08.250 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003230", "end": "2024-09-20 22:36:14.229976", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:14.226746" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:14 -0400 (0:00:00.375) 0:02:08.626 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:14 -0400 (0:00:00.139) 0:02:08.765 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.044528", "end": "2024-09-20 22:36:14.772720", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:14.728192" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 20 September 2024 22:36:14 -0400 (0:00:00.420) 0:02:09.186 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:15 -0400 (0:00:00.157) 0:02:09.344 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003137", "end": "2024-09-20 22:36:15.343459", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:15.340322" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:15 -0400 (0:00:00.377) 0:02:09.721 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:15 -0400 (0:00:00.124) 0:02:09.845 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.043834", "end": "2024-09-20 22:36:15.851052", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:15.807218" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 20 September 2024 22:36:15 -0400 (0:00:00.391) 0:02:10.237 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 20 September 2024 22:36:16 -0400 (0:00:00.099) 0:02:10.337 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 20 September 2024 22:36:16 -0400 (0:00:00.113) 0:02:10.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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 20 September 2024 22:36:16 -0400 (0:00:00.106) 0:02:10.556 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 20 September 2024 22:36:16 -0400 (0:00:00.112) 0:02:10.668 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 20 September 2024 22:36:16 -0400 (0:00:00.113) 0:02:10.782 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 20 September 2024 22:36:16 -0400 (0:00:00.119) 0:02:10.902 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 20 September 2024 22:36:16 -0400 (0:00:00.111) 0:02:11.013 ****** 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 : Get SPNs for the principal] ************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 20 September 2024 22:36:16 -0400 (0:00:00.115) 0:02:11.129 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 20 September 2024 22:36:16 -0400 (0:00:00.123) 0:02:11.253 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 20 September 2024 22:36:17 -0400 (0:00:00.173) 0:02:11.426 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 20 September 2024 22:36:17 -0400 (0:00:00.087) 0:02:11.514 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 20 September 2024 22:36:17 -0400 (0:00:00.066) 0:02:11.580 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 20 September 2024 22:36:17 -0400 (0:00:00.069) 0:02:11.649 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 20 September 2024 22:36:17 -0400 (0:00:00.067) 0:02:11.717 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 20 September 2024 22:36:17 -0400 (0:00:00.080) 0:02:11.798 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 20 September 2024 22:36:17 -0400 (0:00:00.113) 0:02:11.911 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 20 September 2024 22:36:17 -0400 (0:00:00.086) 0:02:11.997 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 20 September 2024 22:36:17 -0400 (0:00:00.090) 0:02:12.088 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 20 September 2024 22:36:17 -0400 (0:00:00.074) 0:02:12.162 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 20 September 2024 22:36:17 -0400 (0:00:00.083) 0:02:12.245 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 20 September 2024 22:36:18 -0400 (0:00:00.086) 0:02:12.332 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 20 September 2024 22:36:18 -0400 (0:00:00.105) 0:02:12.437 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 20 September 2024 22:36:18 -0400 (0:00:00.088) 0:02:12.525 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 20 September 2024 22:36:18 -0400 (0:00:00.086) 0:02:12.612 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 20 September 2024 22:36:18 -0400 (0:00:00.069) 0:02:12.682 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 20 September 2024 22:36:18 -0400 (0:00:00.068) 0:02:12.750 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 20 September 2024 22:36:18 -0400 (0:00:00.103) 0:02:12.853 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 20 September 2024 22:36:18 -0400 (0:00:00.103) 0:02:12.957 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 20 September 2024 22:36:18 -0400 (0:00:00.195) 0:02:13.153 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 20 September 2024 22:36:19 -0400 (0:00:00.146) 0:02:13.300 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 20 September 2024 22:36:19 -0400 (0:00:00.089) 0:02:13.389 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 20 September 2024 22:36:19 -0400 (0:00:00.087) 0:02:13.477 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 20 September 2024 22:36:19 -0400 (0:00:00.067) 0:02:13.544 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 20 September 2024 22:36:19 -0400 (0:00:00.098) 0:02:13.643 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 20 September 2024 22:36:19 -0400 (0:00:00.105) 0:02:13.748 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 20 September 2024 22:36:19 -0400 (0:00:00.106) 0:02:13.855 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 20 September 2024 22:36:19 -0400 (0:00:00.110) 0:02:13.965 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 20 September 2024 22:36:19 -0400 (0:00:00.088) 0:02:14.053 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 20 September 2024 22:36:19 -0400 (0:00:00.085) 0:02:14.139 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 20 September 2024 22:36:19 -0400 (0:00:00.066) 0:02:14.206 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 20 September 2024 22:36:19 -0400 (0:00:00.069) 0:02:14.275 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 20 September 2024 22:36:20 -0400 (0:00:00.078) 0:02:14.354 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 20 September 2024 22:36:20 -0400 (0:00:00.097) 0:02:14.451 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 20 September 2024 22:36:20 -0400 (0:00:00.104) 0:02:14.556 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 20 September 2024 22:36:20 -0400 (0:00:00.101) 0:02:14.657 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 20 September 2024 22:36:20 -0400 (0:00:00.107) 0:02:14.764 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 20 September 2024 22:36:20 -0400 (0:00:00.107) 0:02:14.872 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 20 September 2024 22:36:20 -0400 (0:00:00.202) 0:02:15.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 20 September 2024 22:36:20 -0400 (0:00:00.108) 0:02:15.183 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 20 September 2024 22:36:21 -0400 (0:00:00.108) 0:02:15.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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 20 September 2024 22:36:21 -0400 (0:00:00.116) 0:02:15.408 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 20 September 2024 22:36:21 -0400 (0:00:00.111) 0:02:15.520 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 20 September 2024 22:36:21 -0400 (0:00:00.532) 0:02:16.052 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ActiveEnterTimestampMonotonic": "656116935", "ActiveExitTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ActiveExitTimestampMonotonic": "655900965", "ActiveState": "active", "After": "basic.target system.slice -.mount network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:35:40 EDT", "AssertTimestampMonotonic": "656116191", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ConditionTimestampMonotonic": "656116189", "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": "23372", "ExecMainStartTimestamp": "Fri 2024-09-20 22:35:40 EDT", "ExecMainStartTimestampMonotonic": "656116859", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:35:40 EDT", "InactiveEnterTimestampMonotonic": "656114647", "InactiveExitTimestamp": "Fri 2024-09-20 22:35:40 EDT", "InactiveExitTimestampMonotonic": "656116935", "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": "23372", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:35:40 EDT", "WatchdogTimestampMonotonic": "656116913", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 20 September 2024 22:36:22 -0400 (0:00:00.726) 0:02:16.778 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 20 September 2024 22:36:22 -0400 (0:00:00.092) 0:02:16.871 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 20 September 2024 22:36:22 -0400 (0:00:00.103) 0:02:16.974 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 20 September 2024 22:36:23 -0400 (0:00:00.399) 0:02:17.374 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 20 September 2024 22:36:23 -0400 (0:00:00.108) 0:02:17.483 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 20 September 2024 22:36:23 -0400 (0:00:00.091) 0:02:17.574 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 20 September 2024 22:36:23 -0400 (0:00:00.087) 0:02:17.661 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 20 September 2024 22:36:23 -0400 (0:00:00.083) 0:02:17.744 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 20 September 2024 22:36:23 -0400 (0:00:00.161) 0:02:17.906 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 20 September 2024 22:36:23 -0400 (0:00:00.109) 0:02:18.015 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 20 September 2024 22:36:23 -0400 (0:00:00.109) 0:02:18.125 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 20 September 2024 22:36:23 -0400 (0:00:00.110) 0:02:18.236 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 20 September 2024 22:36:24 -0400 (0:00:00.195) 0:02:18.431 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ActiveEnterTimestampMonotonic": "697731900", "ActiveExitTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ActiveExitTimestampMonotonic": "697528908", "ActiveState": "active", "After": "basic.target system.slice -.mount network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:36:22 EDT", "AssertTimestampMonotonic": "697730479", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ConditionTimestampMonotonic": "697730478", "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": "25557", "ExecMainStartTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ExecMainStartTimestampMonotonic": "697731163", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-20 22:36:22 EDT] ; stop_time=[n/a] ; pid=25557 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:36:22 EDT", "InactiveEnterTimestampMonotonic": "697729205", "InactiveExitTimestamp": "Fri 2024-09-20 22:36:22 EDT", "InactiveExitTimestampMonotonic": "697731900", "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": "25557", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:36:22 EDT", "WatchdogTimestampMonotonic": "697731868", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 20 September 2024 22:36:24 -0400 (0:00:00.694) 0:02:19.126 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004003", "end": "2024-09-20 22:36:25.580018", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:25.576015" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 20 September 2024 22:36:25 -0400 (0:00:00.874) 0:02:20.001 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003170", "end": "2024-09-20 22:36:26.063728", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:26.060558" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 20 September 2024 22:36:26 -0400 (0:00:00.477) 0:02:20.478 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 20 September 2024 22:36:26 -0400 (0:00:00.123) 0:02:20.602 ****** 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": 6264, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 20 September 2024 22:36:27 -0400 (0:00:01.413) 0:02:22.016 ****** 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.029377", "end": "2024-09-20 22:36:28.057719", "rc": 0, "start": "2024-09-20 22:36:28.028342" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 20 September 2024 22:36:28 -0400 (0:00:00.470) 0:02:22.486 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 20 September 2024 22:36:28 -0400 (0:00:00.117) 0:02:22.604 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 20 September 2024 22:36:28 -0400 (0:00:00.115) 0:02:22.719 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 20 September 2024 22:36:28 -0400 (0:00:00.115) 0:02:22.834 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 20 September 2024 22:36:28 -0400 (0:00:00.110) 0:02:22.945 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 20 September 2024 22:36:28 -0400 (0:00:00.104) 0:02:23.050 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 20 September 2024 22:36:28 -0400 (0:00:00.111) 0:02:23.161 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 20 September 2024 22:36:28 -0400 (0:00:00.105) 0:02:23.266 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 20 September 2024 22:36:29 -0400 (0:00:00.106) 0:02:23.373 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:36:29 -0400 (0:00:00.194) 0:02:23.568 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004265", "end": "2024-09-20 22:36:29.566924", "rc": 0, "start": "2024-09-20 22:36:29.562659" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:36:29 -0400 (0:00:00.417) 0:02:23.985 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:36:29 -0400 (0:00:00.134) 0:02:24.120 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:36:29 -0400 (0:00:00.118) 0:02:24.239 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 20 September 2024 22:36:30 -0400 (0:00:00.109) 0:02:24.348 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:36:30 -0400 (0:00:00.205) 0:02:24.554 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004124", "end": "2024-09-20 22:36:30.544756", "rc": 0, "start": "2024-09-20 22:36:30.540632" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:36:30 -0400 (0:00:00.476) 0:02:25.031 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:36:30 -0400 (0:00:00.096) 0:02:25.127 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:36:30 -0400 (0:00:00.116) 0:02:25.243 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 20 September 2024 22:36:31 -0400 (0:00:00.099) 0:02:25.343 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:36:31 -0400 (0:00:00.160) 0:02:25.504 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004048", "end": "2024-09-20 22:36:31.462361", "rc": 0, "start": "2024-09-20 22:36:31.458313" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:36:31 -0400 (0:00:00.337) 0:02:25.841 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:36:31 -0400 (0:00:00.155) 0:02:25.997 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:36:31 -0400 (0:00:00.113) 0:02:26.110 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 20 September 2024 22:36:31 -0400 (0:00:00.111) 0:02:26.222 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:36:32 -0400 (0:00:00.214) 0:02:26.436 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004150", "end": "2024-09-20 22:36:32.427025", "rc": 0, "start": "2024-09-20 22:36:32.422875" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:36:32 -0400 (0:00:00.410) 0:02:26.846 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:36:32 -0400 (0:00:00.132) 0:02:26.979 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:36:32 -0400 (0:00:00.149) 0:02:27.128 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 20 September 2024 22:36:32 -0400 (0:00:00.107) 0:02:27.236 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 20 September 2024 22:36:33 -0400 (0:00:00.105) 0:02:27.342 ****** changed: [managed_node2] => (item=/etc/pki/tls/certs/ansible.BbkIPK) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.BbkIPK", "path": "/etc/pki/tls/certs/ansible.BbkIPK", "state": "absent" } changed: [managed_node2] => (item=/etc/pki/tls/private/ansible.hlnAO8) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.hlnAO8", "path": "/etc/pki/tls/private/ansible.hlnAO8", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 20 September 2024 22:36:33 -0400 (0:00:00.791) 0:02:28.134 ****** ok: [managed_node2] => (item=/tmp/ansible.BbkIPK) => { "ansible_loop_var": "item", "changed": false, "checksum": "1a898ddba203ccfd15a21df9e64e2c3185acabd2", "dest": "/tmp/ansible.BbkIPK", "gid": 0, "group": "root", "item": "/tmp/ansible.BbkIPK", "mode": "0600", "owner": "root", "path": "/tmp/ansible.BbkIPK", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed_node2] => (item=/tmp/ansible.hlnAO8) => { "ansible_loop_var": "item", "changed": false, "checksum": "975694882c2a3cb5da314b4e44e498c3be36c2ae", "dest": "/tmp/ansible.hlnAO8", "gid": 0, "group": "root", "item": "/tmp/ansible.hlnAO8", "mode": "0600", "owner": "root", "path": "/tmp/ansible.hlnAO8", "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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 20 September 2024 22:36:35 -0400 (0:00:01.179) 0:02:29.314 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.BbkIPK", "mssql_tls_private_key": "ansible.hlnAO8" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 20 September 2024 22:36:35 -0400 (0:00:00.111) 0:02:29.426 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 20 September 2024 22:36:36 -0400 (0:00:00.856) 0:02:30.282 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 20 September 2024 22:36:36 -0400 (0:00:00.114) 0:02:30.397 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 20 September 2024 22:36:36 -0400 (0:00:00.087) 0:02:30.484 ****** 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-6xu/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-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 20 September 2024 22:36:36 -0400 (0:00:00.175) 0:02:30.659 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 20 September 2024 22:36:36 -0400 (0:00:00.068) 0:02:30.727 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 20 September 2024 22:36:36 -0400 (0:00:00.070) 0:02:30.798 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 20 September 2024 22:36:36 -0400 (0:00:00.092) 0:02:30.890 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 20 September 2024 22:36:36 -0400 (0:00:00.095) 0:02:30.986 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 20 September 2024 22:36:36 -0400 (0:00:00.111) 0:02:31.097 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 20 September 2024 22:36:36 -0400 (0:00:00.108) 0:02:31.206 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 20 September 2024 22:36:37 -0400 (0:00:00.114) 0:02:31.321 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 20 September 2024 22:36:37 -0400 (0:00:00.106) 0:02:31.427 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 20 September 2024 22:36:37 -0400 (0:00:00.112) 0:02:31.540 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 20 September 2024 22:36:37 -0400 (0:00:00.111) 0:02:31.651 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 20 September 2024 22:36:37 -0400 (0:00:00.121) 0:02:31.772 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 20 September 2024 22:36:37 -0400 (0:00:00.114) 0:02:31.887 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 20 September 2024 22:36:37 -0400 (0:00:00.107) 0:02:31.994 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 20 September 2024 22:36:37 -0400 (0:00:00.087) 0:02:32.082 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 20 September 2024 22:36:37 -0400 (0:00:00.086) 0:02:32.169 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 20 September 2024 22:36:37 -0400 (0:00:00.070) 0:02:32.240 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 20 September 2024 22:36:38 -0400 (0:00:00.080) 0:02:32.320 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 20 September 2024 22:36:39 -0400 (0:00:01.561) 0:02:33.882 ****** ok: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 20 September 2024 22:36:39 -0400 (0:00:00.310) 0:02:34.192 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 20 September 2024 22:36:39 -0400 (0:00:00.077) 0:02:34.269 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 20 September 2024 22:36:40 -0400 (0:00:00.114) 0:02:34.384 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 20 September 2024 22:36:40 -0400 (0:00:00.189) 0:02:34.574 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 20 September 2024 22:36:40 -0400 (0:00:00.619) 0:02:35.194 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 20 September 2024 22:36:41 -0400 (0:00:00.157) 0:02:35.351 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 20 September 2024 22:36:41 -0400 (0:00:00.129) 0:02:35.481 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 20 September 2024 22:36:41 -0400 (0:00:00.099) 0:02:35.580 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 20 September 2024 22:36:41 -0400 (0:00:00.080) 0:02:35.661 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 20 September 2024 22:36:41 -0400 (0:00:00.119) 0:02:35.781 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 20 September 2024 22:36:41 -0400 (0:00:00.092) 0:02:35.874 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 20 September 2024 22:36:41 -0400 (0:00:00.114) 0:02:35.989 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 20 September 2024 22:36:41 -0400 (0:00:00.068) 0:02:36.057 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 20 September 2024 22:36:42 -0400 (0:00:00.628) 0:02:36.685 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 20 September 2024 22:36:43 -0400 (0:00:00.623) 0:02:37.308 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 20 September 2024 22:36:43 -0400 (0:00:00.105) 0:02:37.414 ****** 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.005024", "end": "2024-09-20 22:36:43.398146", "rc": 0, "start": "2024-09-20 22:36:43.393122" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 20 September 2024 22:36:43 -0400 (0:00:00.358) 0:02:37.773 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 20 September 2024 22:36:44 -0400 (0:00:00.875) 0:02:38.649 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 20 September 2024 22:36:44 -0400 (0:00:00.096) 0:02:38.745 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 20 September 2024 22:36:44 -0400 (0:00:00.099) 0:02:38.845 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 20 September 2024 22:36:44 -0400 (0:00:00.106) 0:02:38.951 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 20 September 2024 22:36:44 -0400 (0:00:00.131) 0:02:39.083 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 20 September 2024 22:36:44 -0400 (0:00:00.106) 0:02:39.189 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 20 September 2024 22:36:45 -0400 (0:00:00.097) 0:02:39.287 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 20 September 2024 22:36:45 -0400 (0:00:00.681) 0:02:39.969 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:24:52 EDT", "ActiveEnterTimestampMonotonic": "7926737", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice systemd-sysctl.service network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:24:51 EDT", "AssertTimestampMonotonic": "7259163", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ConditionTimestampMonotonic": "7259162", "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": "846", "ExecMainStartTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ExecMainStartTimestampMonotonic": "7261066", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:24:51 EDT", "InactiveExitTimestampMonotonic": "7261101", "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": "846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:24:52 EDT", "WatchdogTimestampMonotonic": "7926686", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 20 September 2024 22:36:46 -0400 (0:00:00.489) 0:02:40.458 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.081531", "end": "2024-09-20 22:36:46.540204", "rc": 0, "start": "2024-09-20 22:36:46.458673" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 20 September 2024 22:36:46 -0400 (0:00:00.456) 0:02:40.915 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 20 September 2024 22:36:46 -0400 (0:00:00.079) 0:02:40.995 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 20 September 2024 22:36:46 -0400 (0:00:00.128) 0:02:41.124 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 20 September 2024 22:36:46 -0400 (0:00:00.135) 0:02:41.259 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 20 September 2024 22:36:47 -0400 (0:00:00.517) 0:02:41.776 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 20 September 2024 22:36:47 -0400 (0:00:00.100) 0:02:41.877 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 20 September 2024 22:36:48 -0400 (0:00:00.559) 0:02:42.437 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 20 September 2024 22:36:48 -0400 (0:00:00.072) 0:02:42.510 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 20 September 2024 22:36:48 -0400 (0:00:00.086) 0:02:42.597 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 20 September 2024 22:36:48 -0400 (0:00:00.113) 0:02:42.710 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 20 September 2024 22:36:48 -0400 (0:00:00.095) 0:02:42.806 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 20 September 2024 22:36:48 -0400 (0:00:00.102) 0:02:42.908 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 20 September 2024 22:36:48 -0400 (0:00:00.120) 0:02:43.028 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 20 September 2024 22:36:48 -0400 (0:00:00.203) 0:02:43.232 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 20 September 2024 22:36:49 -0400 (0:00:00.089) 0:02:43.321 ****** 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.004903", "end": "2024-09-20 22:36:49.286184", "rc": 0, "start": "2024-09-20 22:36:49.281281" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 20 September 2024 22:36:49 -0400 (0:00:00.368) 0:02:43.690 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 20 September 2024 22:36:49 -0400 (0:00:00.091) 0:02:43.782 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 20 September 2024 22:36:50 -0400 (0:00:01.307) 0:02:45.089 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 20 September 2024 22:36:50 -0400 (0:00:00.114) 0:02:45.203 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 20 September 2024 22:36:51 -0400 (0:00:00.106) 0:02:45.309 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 20 September 2024 22:36:51 -0400 (0:00:00.112) 0:02:45.421 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 20 September 2024 22:36:51 -0400 (0:00:00.112) 0:02:45.535 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:51 -0400 (0:00:00.178) 0:02:45.713 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003227", "end": "2024-09-20 22:36:51.738463", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:51.735236" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:52 -0400 (0:00:00.649) 0:02:46.363 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045756", "end": "2024-09-20 22:36:52.391426", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:52.345670" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:52 -0400 (0:00:00.444) 0:02:46.808 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 20 September 2024 22:36:52 -0400 (0:00:00.072) 0:02:46.880 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 20 September 2024 22:36:52 -0400 (0:00:00.068) 0:02:46.949 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 20 September 2024 22:36:52 -0400 (0:00:00.084) 0:02:47.034 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 20 September 2024 22:36:52 -0400 (0:00:00.069) 0:02:47.103 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 20 September 2024 22:36:52 -0400 (0:00:00.069) 0:02:47.173 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 20 September 2024 22:36:52 -0400 (0:00:00.066) 0:02:47.239 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 20 September 2024 22:36:53 -0400 (0:00:00.068) 0:02:47.308 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 20 September 2024 22:36:53 -0400 (0:00:00.068) 0:02:47.376 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 20 September 2024 22:36:53 -0400 (0:00:00.067) 0:02:47.444 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 20 September 2024 22:36:53 -0400 (0:00:00.070) 0:02:47.514 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 20 September 2024 22:36:53 -0400 (0:00:00.072) 0:02:47.587 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 20 September 2024 22:36:53 -0400 (0:00:00.073) 0:02:47.661 ****** changed: [managed_node2] => (item=/tmp/ansible.BbkIPK) => { "ansible_loop_var": "item", "changed": true, "checksum": "1a898ddba203ccfd15a21df9e64e2c3185acabd2", "dest": "/etc/pki/tls/certs/ansible.BbkIPK", "gid": 994, "group": "mssql", "item": "/tmp/ansible.BbkIPK", "md5sum": "04041881f2c026e839a7621474b614a4", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.BbkIPK", "state": "file", "uid": 996 } changed: [managed_node2] => (item=/tmp/ansible.hlnAO8) => { "ansible_loop_var": "item", "changed": true, "checksum": "975694882c2a3cb5da314b4e44e498c3be36c2ae", "dest": "/etc/pki/tls/private/ansible.hlnAO8", "gid": 994, "group": "mssql", "item": "/tmp/ansible.hlnAO8", "md5sum": "4cf7ef00462d53e33252ace9e6d685a9", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.hlnAO8", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 20 September 2024 22:36:54 -0400 (0:00:00.629) 0:02:48.290 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:54 -0400 (0:00:00.199) 0:02:48.489 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003082", "end": "2024-09-20 22:36:54.442300", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:54.439218" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:54 -0400 (0:00:00.329) 0:02:48.819 ****** 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.BbkIPK" ], "delta": "0:00:00.043470", "end": "2024-09-20 22:36:54.826794", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:54.783324" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:54 -0400 (0:00:00.390) 0:02:49.210 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 20 September 2024 22:36:55 -0400 (0:00:00.074) 0:02:49.285 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:55 -0400 (0:00:00.131) 0:02:49.416 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002981", "end": "2024-09-20 22:36:55.372254", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:55.369273" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:55 -0400 (0:00:00.329) 0:02:49.745 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.hlnAO8" ], "delta": "0:00:00.044010", "end": "2024-09-20 22:36:55.754594", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:55.710584" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:55 -0400 (0:00:00.442) 0:02:50.188 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 20 September 2024 22:36:56 -0400 (0:00:00.114) 0:02:50.302 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:56 -0400 (0:00:00.217) 0:02:50.520 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004142", "end": "2024-09-20 22:36:57.517173", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:56.513031" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:57 -0400 (0:00:01.576) 0:02:52.096 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.043629", "end": "2024-09-20 22:36:58.444047", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:36:58.400418" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:36:58 -0400 (0:00:00.876) 0:02:52.973 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 20 September 2024 22:36:58 -0400 (0:00:00.209) 0:02:53.182 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:36:59 -0400 (0:00:00.244) 0:02:53.427 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003127", "end": "2024-09-20 22:36:59.648026", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:36:59.644899" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:36:59 -0400 (0:00:00.788) 0:02:54.215 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.043635", "end": "2024-09-20 22:37:00.389386", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:00.345751" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:37:00 -0400 (0:00:00.623) 0:02:54.838 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 20 September 2024 22:37:00 -0400 (0:00:00.152) 0:02:54.990 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 20 September 2024 22:37:00 -0400 (0:00:00.111) 0:02:55.102 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 20 September 2024 22:37:00 -0400 (0:00:00.133) 0:02:55.236 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 20 September 2024 22:37:01 -0400 (0:00:00.117) 0:02:55.354 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 20 September 2024 22:37:01 -0400 (0:00:00.130) 0:02:55.485 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 20 September 2024 22:37:01 -0400 (0:00:00.121) 0:02:55.606 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 20 September 2024 22:37:01 -0400 (0:00:00.140) 0:02:55.747 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 20 September 2024 22:37:01 -0400 (0:00:00.210) 0:02:55.958 ****** 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 : Get SPNs for the principal] ************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 20 September 2024 22:37:01 -0400 (0:00:00.167) 0:02:56.125 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 20 September 2024 22:37:01 -0400 (0:00:00.109) 0:02:56.234 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 20 September 2024 22:37:02 -0400 (0:00:00.240) 0:02:56.475 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 20 September 2024 22:37:02 -0400 (0:00:00.225) 0:02:56.701 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 20 September 2024 22:37:02 -0400 (0:00:00.254) 0:02:56.956 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 20 September 2024 22:37:02 -0400 (0:00:00.189) 0:02:57.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 : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 20 September 2024 22:37:03 -0400 (0:00:00.220) 0:02:57.366 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 20 September 2024 22:37:03 -0400 (0:00:00.174) 0:02:57.541 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 20 September 2024 22:37:03 -0400 (0:00:00.236) 0:02:57.777 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 20 September 2024 22:37:03 -0400 (0:00:00.156) 0:02:57.933 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 20 September 2024 22:37:03 -0400 (0:00:00.105) 0:02:58.039 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 20 September 2024 22:37:03 -0400 (0:00:00.198) 0:02:58.237 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 20 September 2024 22:37:04 -0400 (0:00:00.172) 0:02:58.409 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 20 September 2024 22:37:04 -0400 (0:00:00.222) 0:02:58.632 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 20 September 2024 22:37:04 -0400 (0:00:00.223) 0:02:58.855 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 20 September 2024 22:37:04 -0400 (0:00:00.167) 0:02:59.023 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 20 September 2024 22:37:04 -0400 (0:00:00.165) 0:02:59.188 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 20 September 2024 22:37:05 -0400 (0:00:00.145) 0:02:59.334 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 20 September 2024 22:37:05 -0400 (0:00:00.193) 0:02:59.527 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 20 September 2024 22:37:05 -0400 (0:00:00.276) 0:02:59.803 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 20 September 2024 22:37:05 -0400 (0:00:00.219) 0:03:00.023 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 20 September 2024 22:37:05 -0400 (0:00:00.254) 0:03:00.278 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 20 September 2024 22:37:06 -0400 (0:00:00.142) 0:03:00.421 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 20 September 2024 22:37:06 -0400 (0:00:00.226) 0:03:00.647 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 20 September 2024 22:37:06 -0400 (0:00:00.206) 0:03:00.853 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 20 September 2024 22:37:06 -0400 (0:00:00.166) 0:03:01.019 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 20 September 2024 22:37:06 -0400 (0:00:00.205) 0:03:01.224 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 20 September 2024 22:37:07 -0400 (0:00:00.179) 0:03:01.404 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 20 September 2024 22:37:07 -0400 (0:00:00.212) 0:03:01.617 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 20 September 2024 22:37:07 -0400 (0:00:00.197) 0:03:01.815 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 20 September 2024 22:37:07 -0400 (0:00:00.208) 0:03:02.023 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 20 September 2024 22:37:07 -0400 (0:00:00.160) 0:03:02.183 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 20 September 2024 22:37:08 -0400 (0:00:00.107) 0:03:02.291 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 20 September 2024 22:37:08 -0400 (0:00:00.150) 0:03:02.441 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 20 September 2024 22:37:08 -0400 (0:00:00.174) 0:03:02.616 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 20 September 2024 22:37:08 -0400 (0:00:00.235) 0:03:02.851 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 20 September 2024 22:37:08 -0400 (0:00:00.251) 0:03:03.102 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 20 September 2024 22:37:08 -0400 (0:00:00.170) 0:03:03.273 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 20 September 2024 22:37:09 -0400 (0:00:00.114) 0:03:03.387 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 20 September 2024 22:37:09 -0400 (0:00:00.136) 0:03:03.523 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 20 September 2024 22:37:09 -0400 (0:00:00.249) 0:03:03.773 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 20 September 2024 22:37:09 -0400 (0:00:00.121) 0:03:03.895 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 20 September 2024 22:37:09 -0400 (0:00:00.172) 0:03:04.067 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 20 September 2024 22:37:09 -0400 (0:00:00.159) 0:03:04.227 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 20 September 2024 22:37:10 -0400 (0:00:00.161) 0:03:04.389 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 20 September 2024 22:37:11 -0400 (0:00:00.897) 0:03:05.286 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ActiveEnterTimestampMonotonic": "697731900", "ActiveExitTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ActiveExitTimestampMonotonic": "697528908", "ActiveState": "active", "After": "basic.target system.slice -.mount network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:36:22 EDT", "AssertTimestampMonotonic": "697730479", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ConditionTimestampMonotonic": "697730478", "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": "25557", "ExecMainStartTimestamp": "Fri 2024-09-20 22:36:22 EDT", "ExecMainStartTimestampMonotonic": "697731163", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-20 22:36:22 EDT] ; stop_time=[n/a] ; pid=25557 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:36:22 EDT", "InactiveEnterTimestampMonotonic": "697729205", "InactiveExitTimestamp": "Fri 2024-09-20 22:36:22 EDT", "InactiveExitTimestampMonotonic": "697731900", "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": "25557", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:36:22 EDT", "WatchdogTimestampMonotonic": "697731868", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 20 September 2024 22:37:12 -0400 (0:00:01.332) 0:03:06.619 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 20 September 2024 22:37:12 -0400 (0:00:00.115) 0:03:06.735 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 20 September 2024 22:37:12 -0400 (0:00:00.116) 0:03:06.851 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 20 September 2024 22:37:13 -0400 (0:00:00.679) 0:03:07.531 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 20 September 2024 22:37:13 -0400 (0:00:00.126) 0:03:07.658 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 20 September 2024 22:37:13 -0400 (0:00:00.112) 0:03:07.770 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 20 September 2024 22:37:13 -0400 (0:00:00.111) 0:03:07.882 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 20 September 2024 22:37:13 -0400 (0:00:00.149) 0:03:08.031 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 20 September 2024 22:37:14 -0400 (0:00:00.323) 0:03:08.355 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 20 September 2024 22:37:14 -0400 (0:00:00.156) 0:03:08.511 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 20 September 2024 22:37:14 -0400 (0:00:00.156) 0:03:08.668 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 20 September 2024 22:37:14 -0400 (0:00:00.121) 0:03:08.789 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 20 September 2024 22:37:14 -0400 (0:00:00.211) 0:03:09.001 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:37:12 EDT", "ActiveEnterTimestampMonotonic": "747374753", "ActiveExitTimestamp": "Fri 2024-09-20 22:37:11 EDT", "ActiveExitTimestampMonotonic": "747180929", "ActiveState": "active", "After": "basic.target system.slice -.mount network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:37:12 EDT", "AssertTimestampMonotonic": "747374086", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:37:12 EDT", "ConditionTimestampMonotonic": "747374085", "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": "27916", "ExecMainStartTimestamp": "Fri 2024-09-20 22:37:12 EDT", "ExecMainStartTimestampMonotonic": "747374692", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-20 22:37:12 EDT] ; stop_time=[n/a] ; pid=27916 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:37:12 EDT", "InactiveEnterTimestampMonotonic": "747373052", "InactiveExitTimestamp": "Fri 2024-09-20 22:37:12 EDT", "InactiveExitTimestampMonotonic": "747374753", "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": "27916", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:37:12 EDT", "WatchdogTimestampMonotonic": "747374731", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 20 September 2024 22:37:15 -0400 (0:00:00.829) 0:03:09.831 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002965", "end": "2024-09-20 22:37:16.010491", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:37:16.007526" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 20 September 2024 22:37:16 -0400 (0:00:00.606) 0:03:10.437 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002939", "end": "2024-09-20 22:37:16.443646", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:37:16.440707" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 20 September 2024 22:37:16 -0400 (0:00:00.417) 0:03:10.855 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 20 September 2024 22:37:16 -0400 (0:00:00.132) 0:03:10.988 ****** 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": 6354, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 20 September 2024 22:37:18 -0400 (0:00:01.537) 0:03:12.526 ****** 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.028401", "end": "2024-09-20 22:37:18.813005", "rc": 0, "start": "2024-09-20 22:37:18.784604" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 20 September 2024 22:37:19 -0400 (0:00:00.840) 0:03:13.366 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 20 September 2024 22:37:19 -0400 (0:00:00.238) 0:03:13.605 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 20 September 2024 22:37:19 -0400 (0:00:00.470) 0:03:14.076 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 20 September 2024 22:37:20 -0400 (0:00:00.222) 0:03:14.298 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 20 September 2024 22:37:20 -0400 (0:00:00.170) 0:03:14.468 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 20 September 2024 22:37:20 -0400 (0:00:00.126) 0:03:14.594 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 20 September 2024 22:37:20 -0400 (0:00:00.111) 0:03:14.706 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 20 September 2024 22:37:20 -0400 (0:00:00.132) 0:03:14.838 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 20 September 2024 22:37:20 -0400 (0:00:00.108) 0:03:14.946 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:37:20 -0400 (0:00:00.220) 0:03:15.167 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004049", "end": "2024-09-20 22:37:21.167679", "rc": 0, "start": "2024-09-20 22:37:21.163630" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.BbkIPK TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:37:21 -0400 (0:00:00.439) 0:03:15.606 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:37:21 -0400 (0:00:00.270) 0:03:15.877 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.BbkIPK] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:37:21 -0400 (0:00:00.203) 0:03:16.080 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 20 September 2024 22:37:21 -0400 (0:00:00.113) 0:03:16.193 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:37:22 -0400 (0:00:00.452) 0:03:16.646 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004198", "end": "2024-09-20 22:37:22.928554", "rc": 0, "start": "2024-09-20 22:37:22.924356" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hlnAO8 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:37:23 -0400 (0:00:00.762) 0:03:17.409 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:37:23 -0400 (0:00:00.143) 0:03:17.552 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.hlnAO8] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:37:23 -0400 (0:00:00.129) 0:03:17.682 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 20 September 2024 22:37:23 -0400 (0:00:00.281) 0:03:17.963 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:37:23 -0400 (0:00:00.243) 0:03:18.207 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004154", "end": "2024-09-20 22:37:24.383594", "rc": 0, "start": "2024-09-20 22:37:24.379440" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:37:24 -0400 (0:00:00.600) 0:03:18.808 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:37:24 -0400 (0:00:00.203) 0:03:19.011 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:37:24 -0400 (0:00:00.148) 0:03:19.160 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 20 September 2024 22:37:25 -0400 (0:00:00.132) 0:03:19.293 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:37:25 -0400 (0:00:00.293) 0:03:19.586 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004129", "end": "2024-09-20 22:37:25.578924", "rc": 0, "start": "2024-09-20 22:37:25.574795" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:37:25 -0400 (0:00:00.370) 0:03:19.957 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:37:25 -0400 (0:00:00.104) 0:03:20.061 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:37:25 -0400 (0:00:00.141) 0:03:20.202 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 20 September 2024 22:37:26 -0400 (0:00:00.114) 0:03:20.317 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 20 September 2024 22:37:26 -0400 (0:00:00.125) 0:03:20.442 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 20 September 2024 22:37:27 -0400 (0:00:00.930) 0:03:21.373 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003116", "end": "2024-09-20 22:37:27.780616", "rc": 0, "start": "2024-09-20 22:37:27.777500" } 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.BbkIPK tlskey = /etc/pki/tls/private/ansible.hlnAO8 tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 20 September 2024 22:37:27 -0400 (0:00:00.848) 0:03:22.221 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 20 September 2024 22:37:29 -0400 (0:00:01.489) 0:03:23.711 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 20 September 2024 22:37:29 -0400 (0:00:00.296) 0:03:24.007 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 20 September 2024 22:37:29 -0400 (0:00:00.178) 0:03:24.185 ****** 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-6xu/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-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 20 September 2024 22:37:30 -0400 (0:00:00.170) 0:03:24.355 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 20 September 2024 22:37:30 -0400 (0:00:00.087) 0:03:24.442 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 20 September 2024 22:37:30 -0400 (0:00:00.252) 0:03:24.695 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 20 September 2024 22:37:30 -0400 (0:00:00.108) 0:03:24.804 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 20 September 2024 22:37:30 -0400 (0:00:00.146) 0:03:24.950 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 20 September 2024 22:37:30 -0400 (0:00:00.119) 0:03:25.070 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 20 September 2024 22:37:30 -0400 (0:00:00.110) 0:03:25.181 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 20 September 2024 22:37:31 -0400 (0:00:00.108) 0:03:25.290 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 20 September 2024 22:37:31 -0400 (0:00:00.121) 0:03:25.412 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 20 September 2024 22:37:31 -0400 (0:00:00.142) 0:03:25.554 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 20 September 2024 22:37:31 -0400 (0:00:00.114) 0:03:25.669 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 20 September 2024 22:37:31 -0400 (0:00:00.140) 0:03:25.809 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 20 September 2024 22:37:31 -0400 (0:00:00.121) 0:03:25.931 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 20 September 2024 22:37:31 -0400 (0:00:00.138) 0:03:26.070 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 20 September 2024 22:37:31 -0400 (0:00:00.120) 0:03:26.190 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 20 September 2024 22:37:32 -0400 (0:00:00.127) 0:03:26.318 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 20 September 2024 22:37:32 -0400 (0:00:00.125) 0:03:26.444 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 20 September 2024 22:37:32 -0400 (0:00:00.098) 0:03:26.542 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 20 September 2024 22:37:34 -0400 (0:00:01.843) 0:03:28.386 ****** ok: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 20 September 2024 22:37:34 -0400 (0:00:00.361) 0:03:28.748 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 20 September 2024 22:37:34 -0400 (0:00:00.154) 0:03:28.903 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 20 September 2024 22:37:34 -0400 (0:00:00.124) 0:03:29.028 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 20 September 2024 22:37:34 -0400 (0:00:00.219) 0:03:29.247 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 20 September 2024 22:37:35 -0400 (0:00:00.617) 0:03:29.865 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 20 September 2024 22:37:35 -0400 (0:00:00.152) 0:03:30.018 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 20 September 2024 22:37:35 -0400 (0:00:00.114) 0:03:30.132 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 20 September 2024 22:37:35 -0400 (0:00:00.126) 0:03:30.259 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 20 September 2024 22:37:36 -0400 (0:00:00.145) 0:03:30.405 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 20 September 2024 22:37:36 -0400 (0:00:00.122) 0:03:30.527 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 20 September 2024 22:37:36 -0400 (0:00:00.102) 0:03:30.630 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 20 September 2024 22:37:36 -0400 (0:00:00.120) 0:03:30.751 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 20 September 2024 22:37:36 -0400 (0:00:00.111) 0:03:30.863 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 20 September 2024 22:37:37 -0400 (0:00:00.962) 0:03:31.825 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 20 September 2024 22:37:38 -0400 (0:00:00.723) 0:03:32.549 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 20 September 2024 22:37:38 -0400 (0:00:00.120) 0:03:32.670 ****** 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.005019", "end": "2024-09-20 22:37:38.672943", "rc": 0, "start": "2024-09-20 22:37:38.667924" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 20 September 2024 22:37:38 -0400 (0:00:00.380) 0:03:33.050 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 20 September 2024 22:37:39 -0400 (0:00:00.942) 0:03:33.993 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 20 September 2024 22:37:39 -0400 (0:00:00.150) 0:03:34.144 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 20 September 2024 22:37:39 -0400 (0:00:00.107) 0:03:34.252 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 20 September 2024 22:37:40 -0400 (0:00:00.113) 0:03:34.365 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 20 September 2024 22:37:40 -0400 (0:00:00.131) 0:03:34.497 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 20 September 2024 22:37:40 -0400 (0:00:00.140) 0:03:34.637 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 20 September 2024 22:37:40 -0400 (0:00:00.107) 0:03:34.744 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 20 September 2024 22:37:41 -0400 (0:00:00.662) 0:03:35.407 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:24:52 EDT", "ActiveEnterTimestampMonotonic": "7926737", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice systemd-sysctl.service network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:24:51 EDT", "AssertTimestampMonotonic": "7259163", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ConditionTimestampMonotonic": "7259162", "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": "846", "ExecMainStartTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ExecMainStartTimestampMonotonic": "7261066", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:24:51 EDT", "InactiveExitTimestampMonotonic": "7261101", "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": "846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:24:52 EDT", "WatchdogTimestampMonotonic": "7926686", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 20 September 2024 22:37:41 -0400 (0:00:00.661) 0:03:36.069 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.080201", "end": "2024-09-20 22:37:42.410420", "rc": 0, "start": "2024-09-20 22:37:42.330219" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 20 September 2024 22:37:42 -0400 (0:00:00.811) 0:03:36.881 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 20 September 2024 22:37:42 -0400 (0:00:00.110) 0:03:36.991 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 20 September 2024 22:37:42 -0400 (0:00:00.138) 0:03:37.130 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 20 September 2024 22:37:43 -0400 (0:00:00.219) 0:03:37.350 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 20 September 2024 22:37:43 -0400 (0:00:00.497) 0:03:37.847 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 20 September 2024 22:37:43 -0400 (0:00:00.108) 0:03:37.956 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 20 September 2024 22:37:44 -0400 (0:00:00.645) 0:03:38.601 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 20 September 2024 22:37:44 -0400 (0:00:00.112) 0:03:38.714 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 20 September 2024 22:37:44 -0400 (0:00:00.139) 0:03:38.853 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 20 September 2024 22:37:44 -0400 (0:00:00.115) 0:03:38.969 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 20 September 2024 22:37:44 -0400 (0:00:00.114) 0:03:39.083 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 20 September 2024 22:37:44 -0400 (0:00:00.106) 0:03:39.190 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 20 September 2024 22:37:45 -0400 (0:00:00.115) 0:03:39.306 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 20 September 2024 22:37:45 -0400 (0:00:00.113) 0:03:39.419 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 20 September 2024 22:37:45 -0400 (0:00:00.109) 0:03:39.529 ****** 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.005002", "end": "2024-09-20 22:37:45.531581", "rc": 0, "start": "2024-09-20 22:37:45.526579" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 20 September 2024 22:37:45 -0400 (0:00:00.421) 0:03:39.950 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 20 September 2024 22:37:45 -0400 (0:00:00.247) 0:03:40.197 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 20 September 2024 22:37:47 -0400 (0:00:01.441) 0:03:41.639 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 20 September 2024 22:37:47 -0400 (0:00:00.146) 0:03:41.786 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 20 September 2024 22:37:47 -0400 (0:00:00.158) 0:03:41.944 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 20 September 2024 22:37:47 -0400 (0:00:00.220) 0:03:42.165 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 20 September 2024 22:37:48 -0400 (0:00:00.136) 0:03:42.302 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:37:48 -0400 (0:00:00.220) 0:03:42.522 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004330", "end": "2024-09-20 22:37:49.536798", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:37:48.532468" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:37:49 -0400 (0:00:01.495) 0:03:44.017 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044864", "end": "2024-09-20 22:37:50.109323", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:50.064459" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:37:50 -0400 (0:00:00.514) 0:03:44.533 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 20 September 2024 22:37:50 -0400 (0:00:00.089) 0:03:44.622 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 20 September 2024 22:37:50 -0400 (0:00:00.182) 0:03:44.805 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 20 September 2024 22:37:50 -0400 (0:00:00.113) 0:03:44.918 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 20 September 2024 22:37:50 -0400 (0:00:00.099) 0:03:45.018 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 20 September 2024 22:37:50 -0400 (0:00:00.104) 0:03:45.122 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 20 September 2024 22:37:50 -0400 (0:00:00.079) 0:03:45.202 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 20 September 2024 22:37:50 -0400 (0:00:00.074) 0:03:45.277 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 20 September 2024 22:37:51 -0400 (0:00:00.069) 0:03:45.347 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 20 September 2024 22:37:51 -0400 (0:00:00.071) 0:03:45.418 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 20 September 2024 22:37:51 -0400 (0:00:00.069) 0:03:45.487 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 20 September 2024 22:37:51 -0400 (0:00:00.074) 0:03:45.562 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 20 September 2024 22:37:51 -0400 (0:00:00.072) 0:03:45.634 ****** skipping: [managed_node2] => (item=/tmp/ansible.BbkIPK) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.BbkIPK", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ansible.hlnAO8) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.hlnAO8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 20 September 2024 22:37:51 -0400 (0:00:00.092) 0:03:45.727 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:37:51 -0400 (0:00:00.170) 0:03:45.897 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003031", "end": "2024-09-20 22:37:51.990074", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:51.987043" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.BbkIPK TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:37:52 -0400 (0:00:00.521) 0:03:46.419 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:37:52 -0400 (0:00:00.134) 0:03:46.553 ****** 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.043423", "end": "2024-09-20 22:37:52.611218", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:52.567795" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 20 September 2024 22:37:52 -0400 (0:00:00.482) 0:03:47.036 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:37:53 -0400 (0:00:00.376) 0:03:47.413 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003101", "end": "2024-09-20 22:37:53.737150", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:53.734049" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hlnAO8 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:37:53 -0400 (0:00:00.858) 0:03:48.272 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:37:54 -0400 (0:00:00.225) 0:03:48.497 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.043179", "end": "2024-09-20 22:37:54.815949", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:54.772770" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 20 September 2024 22:37:54 -0400 (0:00:00.751) 0:03:49.249 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:37:55 -0400 (0:00:00.234) 0:03:49.483 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003137", "end": "2024-09-20 22:37:55.721127", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:55.717990" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:37:55 -0400 (0:00:00.665) 0:03:50.149 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:37:56 -0400 (0:00:00.133) 0:03:50.282 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.043187", "end": "2024-09-20 22:37:56.579273", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:56.536086" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 20 September 2024 22:37:56 -0400 (0:00:00.835) 0:03:51.118 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:37:57 -0400 (0:00:00.388) 0:03:51.507 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003064", "end": "2024-09-20 22:37:57.671847", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:57.668783" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:37:57 -0400 (0:00:00.584) 0:03:52.092 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:37:57 -0400 (0:00:00.123) 0:03:52.216 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.043728", "end": "2024-09-20 22:37:58.274277", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:37:58.230549" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 20 September 2024 22:37:58 -0400 (0:00:00.438) 0:03:52.654 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 20 September 2024 22:37:58 -0400 (0:00:00.072) 0:03:52.727 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 20 September 2024 22:37:58 -0400 (0:00:00.224) 0:03:52.952 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 20 September 2024 22:37:58 -0400 (0:00:00.111) 0:03:53.063 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 20 September 2024 22:37:58 -0400 (0:00:00.110) 0:03:53.174 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 20 September 2024 22:37:59 -0400 (0:00:00.120) 0:03:53.294 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 20 September 2024 22:37:59 -0400 (0:00:00.207) 0:03:53.502 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 20 September 2024 22:37:59 -0400 (0:00:00.216) 0:03:53.718 ****** 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 : Get SPNs for the principal] ************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 20 September 2024 22:37:59 -0400 (0:00:00.161) 0:03:53.880 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 20 September 2024 22:37:59 -0400 (0:00:00.195) 0:03:54.075 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 20 September 2024 22:37:59 -0400 (0:00:00.203) 0:03:54.279 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 20 September 2024 22:38:00 -0400 (0:00:00.177) 0:03:54.456 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 20 September 2024 22:38:00 -0400 (0:00:00.111) 0:03:54.568 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 20 September 2024 22:38:00 -0400 (0:00:00.171) 0:03:54.739 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 20 September 2024 22:38:00 -0400 (0:00:00.114) 0:03:54.854 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 20 September 2024 22:38:00 -0400 (0:00:00.149) 0:03:55.003 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 20 September 2024 22:38:00 -0400 (0:00:00.125) 0:03:55.128 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 20 September 2024 22:38:00 -0400 (0:00:00.074) 0:03:55.203 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 20 September 2024 22:38:00 -0400 (0:00:00.075) 0:03:55.278 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 20 September 2024 22:38:01 -0400 (0:00:00.068) 0:03:55.347 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 20 September 2024 22:38:01 -0400 (0:00:00.079) 0:03:55.426 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 20 September 2024 22:38:01 -0400 (0:00:00.188) 0:03:55.615 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 20 September 2024 22:38:01 -0400 (0:00:00.336) 0:03:55.952 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 20 September 2024 22:38:01 -0400 (0:00:00.149) 0:03:56.101 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 20 September 2024 22:38:01 -0400 (0:00:00.152) 0:03:56.254 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 20 September 2024 22:38:02 -0400 (0:00:00.238) 0:03:56.492 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 20 September 2024 22:38:02 -0400 (0:00:00.167) 0:03:56.660 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 20 September 2024 22:38:02 -0400 (0:00:00.191) 0:03:56.852 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 20 September 2024 22:38:02 -0400 (0:00:00.134) 0:03:56.986 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 20 September 2024 22:38:02 -0400 (0:00:00.123) 0:03:57.110 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 20 September 2024 22:38:02 -0400 (0:00:00.130) 0:03:57.241 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 20 September 2024 22:38:03 -0400 (0:00:00.087) 0:03:57.329 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 20 September 2024 22:38:03 -0400 (0:00:00.114) 0:03:57.443 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 20 September 2024 22:38:03 -0400 (0:00:00.106) 0:03:57.549 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 20 September 2024 22:38:03 -0400 (0:00:00.125) 0:03:57.675 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 20 September 2024 22:38:03 -0400 (0:00:00.110) 0:03:57.785 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 20 September 2024 22:38:03 -0400 (0:00:00.167) 0:03:57.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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 20 September 2024 22:38:03 -0400 (0:00:00.129) 0:03:58.082 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 20 September 2024 22:38:03 -0400 (0:00:00.101) 0:03:58.184 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 20 September 2024 22:38:03 -0400 (0:00:00.072) 0:03:58.256 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 20 September 2024 22:38:04 -0400 (0:00:00.068) 0:03:58.324 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 20 September 2024 22:38:04 -0400 (0:00:00.204) 0:03:58.529 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 20 September 2024 22:38:04 -0400 (0:00:00.165) 0:03:58.694 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 20 September 2024 22:38:04 -0400 (0:00:00.161) 0:03:58.855 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 20 September 2024 22:38:04 -0400 (0:00:00.104) 0:03:58.960 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 20 September 2024 22:38:04 -0400 (0:00:00.085) 0:03:59.046 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 20 September 2024 22:38:04 -0400 (0:00:00.085) 0:03:59.131 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 20 September 2024 22:38:04 -0400 (0:00:00.091) 0:03:59.223 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 20 September 2024 22:38:05 -0400 (0:00:00.119) 0:03:59.342 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 20 September 2024 22:38:05 -0400 (0:00:00.089) 0:03:59.432 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 20 September 2024 22:38:05 -0400 (0:00:00.088) 0:03:59.521 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 20 September 2024 22:38:05 -0400 (0:00:00.073) 0:03:59.594 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 20 September 2024 22:38:05 -0400 (0:00:00.070) 0:03:59.665 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 20 September 2024 22:38:05 -0400 (0:00:00.438) 0:04:00.103 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:37:12 EDT", "ActiveEnterTimestampMonotonic": "747374753", "ActiveExitTimestamp": "Fri 2024-09-20 22:37:11 EDT", "ActiveExitTimestampMonotonic": "747180929", "ActiveState": "active", "After": "basic.target system.slice -.mount network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:37:12 EDT", "AssertTimestampMonotonic": "747374086", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:37:12 EDT", "ConditionTimestampMonotonic": "747374085", "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": "27916", "ExecMainStartTimestamp": "Fri 2024-09-20 22:37:12 EDT", "ExecMainStartTimestampMonotonic": "747374692", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-20 22:37:12 EDT] ; stop_time=[n/a] ; pid=27916 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:37:12 EDT", "InactiveEnterTimestampMonotonic": "747373052", "InactiveExitTimestamp": "Fri 2024-09-20 22:37:12 EDT", "InactiveExitTimestampMonotonic": "747374753", "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": "27916", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:37:12 EDT", "WatchdogTimestampMonotonic": "747374731", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 20 September 2024 22:38:07 -0400 (0:00:01.772) 0:04:01.875 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 20 September 2024 22:38:07 -0400 (0:00:00.092) 0:04:01.967 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 20 September 2024 22:38:07 -0400 (0:00:00.073) 0:04:02.041 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 20 September 2024 22:38:08 -0400 (0:00:00.676) 0:04:02.717 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 20 September 2024 22:38:08 -0400 (0:00:00.107) 0:04:02.825 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 20 September 2024 22:38:08 -0400 (0:00:00.104) 0:04:02.930 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 20 September 2024 22:38:08 -0400 (0:00:00.110) 0:04:03.041 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 20 September 2024 22:38:08 -0400 (0:00:00.111) 0:04:03.153 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 20 September 2024 22:38:08 -0400 (0:00:00.088) 0:04:03.241 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 20 September 2024 22:38:09 -0400 (0:00:00.093) 0:04:03.334 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 20 September 2024 22:38:09 -0400 (0:00:00.073) 0:04:03.408 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 20 September 2024 22:38:09 -0400 (0:00:00.077) 0:04:03.486 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 20 September 2024 22:38:09 -0400 (0:00:00.320) 0:04:03.806 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:38:07 EDT", "ActiveEnterTimestampMonotonic": "802675873", "ActiveExitTimestamp": "Fri 2024-09-20 22:38:06 EDT", "ActiveExitTimestampMonotonic": "801686986", "ActiveState": "active", "After": "basic.target system.slice -.mount network.target systemd-journald.socket auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:38:07 EDT", "AssertTimestampMonotonic": "802675321", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:38:07 EDT", "ConditionTimestampMonotonic": "802675319", "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": "29982", "ExecMainStartTimestamp": "Fri 2024-09-20 22:38:07 EDT", "ExecMainStartTimestampMonotonic": "802675821", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-20 22:38:07 EDT] ; stop_time=[n/a] ; pid=29982 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:38:07 EDT", "InactiveEnterTimestampMonotonic": "802674353", "InactiveExitTimestamp": "Fri 2024-09-20 22:38:07 EDT", "InactiveExitTimestampMonotonic": "802675873", "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": "29982", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:38:07 EDT", "WatchdogTimestampMonotonic": "802675854", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 20 September 2024 22:38:10 -0400 (0:00:01.105) 0:04:04.911 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003091", "end": "2024-09-20 22:38:10.924561", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:38:10.921470" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 20 September 2024 22:38:11 -0400 (0:00:00.397) 0:04:05.309 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002947", "end": "2024-09-20 22:38:11.332067", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:38:11.329120" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 20 September 2024 22:38:11 -0400 (0:00:00.404) 0:04:05.713 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 20 September 2024 22:38:11 -0400 (0:00:00.109) 0:04:05.823 ****** 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": 6264, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 20 September 2024 22:38:12 -0400 (0:00:01.393) 0:04:07.216 ****** 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.028479", "end": "2024-09-20 22:38:13.237953", "rc": 0, "start": "2024-09-20 22:38:13.209474" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 20 September 2024 22:38:13 -0400 (0:00:00.404) 0:04:07.620 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 20 September 2024 22:38:13 -0400 (0:00:00.083) 0:04:07.704 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 20 September 2024 22:38:13 -0400 (0:00:00.120) 0:04:07.824 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 20 September 2024 22:38:13 -0400 (0:00:00.213) 0:04:08.038 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 20 September 2024 22:38:13 -0400 (0:00:00.079) 0:04:08.117 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 20 September 2024 22:38:13 -0400 (0:00:00.070) 0:04:08.188 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 20 September 2024 22:38:13 -0400 (0:00:00.072) 0:04:08.261 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 20 September 2024 22:38:14 -0400 (0:00:00.069) 0:04:08.330 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 20 September 2024 22:38:14 -0400 (0:00:00.071) 0:04:08.402 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:38:14 -0400 (0:00:00.176) 0:04:08.578 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004181", "end": "2024-09-20 22:38:14.594632", "rc": 0, "start": "2024-09-20 22:38:14.590451" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:38:14 -0400 (0:00:00.394) 0:04:08.972 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:38:14 -0400 (0:00:00.091) 0:04:09.063 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:38:14 -0400 (0:00:00.078) 0:04:09.141 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 20 September 2024 22:38:14 -0400 (0:00:00.073) 0:04:09.215 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:38:15 -0400 (0:00:00.129) 0:04:09.345 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004130", "end": "2024-09-20 22:38:15.309305", "rc": 0, "start": "2024-09-20 22:38:15.305175" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:38:15 -0400 (0:00:00.381) 0:04:09.727 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:38:15 -0400 (0:00:00.143) 0:04:09.870 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:38:15 -0400 (0:00:00.109) 0:04:09.980 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 20 September 2024 22:38:15 -0400 (0:00:00.246) 0:04:10.226 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:38:16 -0400 (0:00:00.178) 0:04:10.405 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004359", "end": "2024-09-20 22:38:16.369024", "rc": 0, "start": "2024-09-20 22:38:16.364665" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:38:16 -0400 (0:00:00.342) 0:04:10.747 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:38:16 -0400 (0:00:00.089) 0:04:10.837 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:38:16 -0400 (0:00:00.078) 0:04:10.916 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 20 September 2024 22:38:16 -0400 (0:00:00.071) 0:04:10.987 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:38:16 -0400 (0:00:00.136) 0:04:11.124 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004095", "end": "2024-09-20 22:38:17.090734", "rc": 0, "start": "2024-09-20 22:38:17.086639" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:38:17 -0400 (0:00:00.343) 0:04:11.467 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:38:17 -0400 (0:00:00.074) 0:04:11.542 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:38:17 -0400 (0:00:00.104) 0:04:11.647 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 20 September 2024 22:38:17 -0400 (0:00:00.072) 0:04:11.719 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 20 September 2024 22:38:17 -0400 (0:00:00.069) 0:04:11.788 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 20 September 2024 22:38:18 -0400 (0:00:01.254) 0:04:13.043 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 20 September 2024 22:38:18 -0400 (0:00:00.117) 0:04:13.161 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 20 September 2024 22:38:18 -0400 (0:00:00.095) 0:04:13.256 ****** 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-6xu/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-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 20 September 2024 22:38:19 -0400 (0:00:00.106) 0:04:13.363 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 20 September 2024 22:38:19 -0400 (0:00:00.071) 0:04:13.434 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 20 September 2024 22:38:19 -0400 (0:00:00.072) 0:04:13.506 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 20 September 2024 22:38:19 -0400 (0:00:00.201) 0:04:13.707 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 20 September 2024 22:38:19 -0400 (0:00:00.074) 0:04:13.781 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 20 September 2024 22:38:19 -0400 (0:00:00.085) 0:04:13.867 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 20 September 2024 22:38:19 -0400 (0:00:00.110) 0:04:13.978 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 20 September 2024 22:38:19 -0400 (0:00:00.107) 0:04:14.085 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 20 September 2024 22:38:19 -0400 (0:00:00.107) 0:04:14.193 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 20 September 2024 22:38:20 -0400 (0:00:00.100) 0:04:14.294 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 20 September 2024 22:38:20 -0400 (0:00:00.118) 0:04:14.413 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 20 September 2024 22:38:20 -0400 (0:00:00.125) 0:04:14.538 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 20 September 2024 22:38:20 -0400 (0:00:00.111) 0:04:14.650 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 20 September 2024 22:38:20 -0400 (0:00:00.119) 0:04:14.769 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 20 September 2024 22:38:20 -0400 (0:00:00.111) 0:04:14.881 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 20 September 2024 22:38:20 -0400 (0:00:00.113) 0:04:14.994 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 20 September 2024 22:38:20 -0400 (0:00:00.115) 0:04:15.109 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 20 September 2024 22:38:20 -0400 (0:00:00.110) 0:04:15.220 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 20 September 2024 22:38:22 -0400 (0:00:01.471) 0:04:16.692 ****** ok: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 20 September 2024 22:38:22 -0400 (0:00:00.291) 0:04:16.983 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 20 September 2024 22:38:22 -0400 (0:00:00.090) 0:04:17.073 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 20 September 2024 22:38:22 -0400 (0:00:00.080) 0:04:17.154 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 20 September 2024 22:38:23 -0400 (0:00:00.176) 0:04:17.330 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 20 September 2024 22:38:23 -0400 (0:00:00.623) 0:04:17.954 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 20 September 2024 22:38:23 -0400 (0:00:00.129) 0:04:18.084 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 20 September 2024 22:38:23 -0400 (0:00:00.115) 0:04:18.199 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 20 September 2024 22:38:24 -0400 (0:00:00.121) 0:04:18.321 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 20 September 2024 22:38:24 -0400 (0:00:00.119) 0:04:18.440 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 20 September 2024 22:38:24 -0400 (0:00:00.113) 0:04:18.554 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 20 September 2024 22:38:24 -0400 (0:00:00.115) 0:04:18.669 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 20 September 2024 22:38:24 -0400 (0:00:00.157) 0:04:18.826 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 20 September 2024 22:38:24 -0400 (0:00:00.107) 0:04:18.934 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 20 September 2024 22:38:25 -0400 (0:00:00.682) 0:04:19.616 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 20 September 2024 22:38:25 -0400 (0:00:00.629) 0:04:20.246 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 20 September 2024 22:38:26 -0400 (0:00:00.114) 0:04:20.360 ****** 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.005128", "end": "2024-09-20 22:38:26.377680", "rc": 0, "start": "2024-09-20 22:38:26.372552" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 20 September 2024 22:38:26 -0400 (0:00:00.442) 0:04:20.803 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 20 September 2024 22:38:27 -0400 (0:00:00.976) 0:04:21.779 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 20 September 2024 22:38:27 -0400 (0:00:00.156) 0:04:21.935 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 20 September 2024 22:38:27 -0400 (0:00:00.107) 0:04:22.043 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 20 September 2024 22:38:27 -0400 (0:00:00.129) 0:04:22.173 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 20 September 2024 22:38:28 -0400 (0:00:00.132) 0:04:22.306 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 20 September 2024 22:38:28 -0400 (0:00:00.106) 0:04:22.412 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 20 September 2024 22:38:28 -0400 (0:00:00.112) 0:04:22.525 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 20 September 2024 22:38:28 -0400 (0:00:00.643) 0:04:23.169 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:24:52 EDT", "ActiveEnterTimestampMonotonic": "7926737", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice systemd-sysctl.service network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:24:51 EDT", "AssertTimestampMonotonic": "7259163", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ConditionTimestampMonotonic": "7259162", "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": "846", "ExecMainStartTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ExecMainStartTimestampMonotonic": "7261066", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:24:51 EDT", "InactiveExitTimestampMonotonic": "7261101", "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": "846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:24:52 EDT", "WatchdogTimestampMonotonic": "7926686", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 20 September 2024 22:38:29 -0400 (0:00:00.690) 0:04:23.860 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.080560", "end": "2024-09-20 22:38:29.954052", "rc": 0, "start": "2024-09-20 22:38:29.873492" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 20 September 2024 22:38:30 -0400 (0:00:00.522) 0:04:24.382 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 20 September 2024 22:38:30 -0400 (0:00:00.122) 0:04:24.505 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 20 September 2024 22:38:30 -0400 (0:00:00.113) 0:04:24.618 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 20 September 2024 22:38:30 -0400 (0:00:00.117) 0:04:24.735 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 20 September 2024 22:38:30 -0400 (0:00:00.421) 0:04:25.157 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 20 September 2024 22:38:30 -0400 (0:00:00.072) 0:04:25.230 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 20 September 2024 22:38:31 -0400 (0:00:00.624) 0:04:25.854 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 20 September 2024 22:38:31 -0400 (0:00:00.112) 0:04:25.966 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 20 September 2024 22:38:31 -0400 (0:00:00.119) 0:04:26.086 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 20 September 2024 22:38:31 -0400 (0:00:00.115) 0:04:26.202 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 20 September 2024 22:38:32 -0400 (0:00:00.122) 0:04:26.325 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 20 September 2024 22:38:32 -0400 (0:00:00.122) 0:04:26.447 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 20 September 2024 22:38:32 -0400 (0:00:00.121) 0:04:26.568 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 20 September 2024 22:38:32 -0400 (0:00:00.118) 0:04:26.687 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 20 September 2024 22:38:32 -0400 (0:00:00.114) 0:04:26.802 ****** 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.004762", "end": "2024-09-20 22:38:32.816059", "rc": 0, "start": "2024-09-20 22:38:32.811297" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 20 September 2024 22:38:33 -0400 (0:00:00.579) 0:04:27.381 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 20 September 2024 22:38:33 -0400 (0:00:00.120) 0:04:27.502 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 20 September 2024 22:38:34 -0400 (0:00:01.255) 0:04:28.758 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 20 September 2024 22:38:34 -0400 (0:00:00.096) 0:04:28.854 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 20 September 2024 22:38:34 -0400 (0:00:00.076) 0:04:28.931 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 20 September 2024 22:38:34 -0400 (0:00:00.073) 0:04:29.004 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 20 September 2024 22:38:34 -0400 (0:00:00.074) 0:04:29.078 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:38:34 -0400 (0:00:00.152) 0:04:29.231 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002994", "end": "2024-09-20 22:38:35.237355", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:38:35.234361" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:38:35 -0400 (0:00:00.419) 0:04:29.651 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044166", "end": "2024-09-20 22:38:35.690088", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:38:35.645922" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:38:35 -0400 (0:00:00.613) 0:04:30.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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 20 September 2024 22:38:36 -0400 (0:00:00.098) 0:04:30.363 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 20 September 2024 22:38:36 -0400 (0:00:00.096) 0:04:30.459 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 20 September 2024 22:38:36 -0400 (0:00:00.076) 0:04:30.536 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 20 September 2024 22:38:36 -0400 (0:00:00.072) 0:04:30.608 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 20 September 2024 22:38:36 -0400 (0:00:00.087) 0:04:30.696 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 20 September 2024 22:38:36 -0400 (0:00:00.072) 0:04:30.768 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 20 September 2024 22:38:36 -0400 (0:00:00.073) 0:04:30.842 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 20 September 2024 22:38:36 -0400 (0:00:00.073) 0:04:30.915 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 20 September 2024 22:38:36 -0400 (0:00:00.071) 0:04:30.986 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 20 September 2024 22:38:36 -0400 (0:00:00.073) 0:04:31.059 ****** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 20 September 2024 22:38:36 -0400 (0:00:00.156) 0:04:31.216 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 20 September 2024 22:38:37 -0400 (0:00:00.139) 0:04:31.356 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 20 September 2024 22:38:37 -0400 (0:00:00.107) 0:04:31.463 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 20 September 2024 22:38:37 -0400 (0:00:00.400) 0:04:31.863 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 20 September 2024 22:38:37 -0400 (0:00:00.243) 0:04:32.106 ****** 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-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 20 September 2024 22:38:38 -0400 (0:00:00.323) 0:04:32.430 ****** changed: [managed_node2] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.0 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 20 September 2024 22:38:42 -0400 (0:00:04.107) 0:04:36.537 ****** 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: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.6 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 20 September 2024 22:38:46 -0400 (0:00:04.001) 0:04:40.539 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 20 September 2024 22:38:46 -0400 (0:00:00.481) 0:04:41.021 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 20 September 2024 22:38:47 -0400 (0:00:00.488) 0:04:41.509 ****** 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": "systemd-journald.socket network.target system.slice dbus.service basic.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 20 September 2024 22:38:47 -0400 (0:00:00.684) 0:04:42.194 ****** changed: [managed_node2] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.10.74', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.10.74", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 20 September 2024 22:38:49 -0400 (0:00:01.293) 0:04:43.488 ****** 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.10.74', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.10.74", "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.10.74', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.10.74", "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.10.74', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.10.74", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 20 September 2024 22:38:49 -0400 (0:00:00.157) 0:04:43.645 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 20 September 2024 22:38:49 -0400 (0:00:00.092) 0:04:43.737 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 20 September 2024 22:38:49 -0400 (0:00:00.121) 0:04:43.859 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 20 September 2024 22:38:49 -0400 (0:00:00.134) 0:04:43.994 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 20 September 2024 22:38:49 -0400 (0:00:00.274) 0:04:44.268 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 20 September 2024 22:38:50 -0400 (0:00:00.098) 0:04:44.367 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:38:50 -0400 (0:00:00.134) 0:04:44.501 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003502", "end": "2024-09-20 22:38:50.499339", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:38:50.495837" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:38:50 -0400 (0:00:00.429) 0:04:44.931 ****** 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.043174", "end": "2024-09-20 22:38:50.990327", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:38:50.947153" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:38:51 -0400 (0:00:00.494) 0:04:45.426 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 20 September 2024 22:38:51 -0400 (0:00:00.106) 0:04:45.532 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:38:51 -0400 (0:00:00.169) 0:04:45.701 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003210", "end": "2024-09-20 22:38:51.683941", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:38:51.680731" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:38:51 -0400 (0:00:00.399) 0:04:46.101 ****** 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.044450", "end": "2024-09-20 22:38:52.171339", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:38:52.126889" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:38:52 -0400 (0:00:00.514) 0:04:46.615 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 20 September 2024 22:38:52 -0400 (0:00:00.093) 0:04:46.709 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:38:52 -0400 (0:00:00.155) 0:04:46.864 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003185", "end": "2024-09-20 22:38:52.834467", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:38:52.831282" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:38:52 -0400 (0:00:00.352) 0:04:47.216 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.043626", "end": "2024-09-20 22:38:53.364488", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:38:53.320862" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:38:53 -0400 (0:00:00.584) 0:04:47.801 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 20 September 2024 22:38:53 -0400 (0:00:00.121) 0:04:47.923 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:38:53 -0400 (0:00:00.214) 0:04:48.137 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003055", "end": "2024-09-20 22:38:54.154623", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:38:54.151568" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:38:54 -0400 (0:00:00.444) 0:04:48.582 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.043474", "end": "2024-09-20 22:38:54.640172", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:38:54.596698" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:38:54 -0400 (0:00:00.443) 0:04:49.026 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 20 September 2024 22:38:54 -0400 (0:00:00.074) 0:04:49.100 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 20 September 2024 22:38:54 -0400 (0:00:00.070) 0:04:49.170 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 20 September 2024 22:38:54 -0400 (0:00:00.071) 0:04:49.242 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 20 September 2024 22:38:55 -0400 (0:00:00.070) 0:04:49.312 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 20 September 2024 22:38:55 -0400 (0:00:00.078) 0:04:49.391 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 20 September 2024 22:38:55 -0400 (0:00:00.079) 0:04:49.470 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 20 September 2024 22:38:55 -0400 (0:00:00.071) 0:04:49.541 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 20 September 2024 22:38:55 -0400 (0:00:00.073) 0:04:49.615 ****** 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 : Get SPNs for the principal] ************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 20 September 2024 22:38:55 -0400 (0:00:00.071) 0:04:49.686 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 20 September 2024 22:38:55 -0400 (0:00:00.071) 0:04:49.758 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 20 September 2024 22:38:55 -0400 (0:00:00.190) 0:04:49.948 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 20 September 2024 22:38:55 -0400 (0:00:00.073) 0:04:50.021 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 20 September 2024 22:38:55 -0400 (0:00:00.074) 0:04:50.096 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 20 September 2024 22:38:55 -0400 (0:00:00.071) 0:04:50.167 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 20 September 2024 22:38:55 -0400 (0:00:00.072) 0:04:50.240 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 20 September 2024 22:38:56 -0400 (0:00:00.072) 0:04:50.312 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 20 September 2024 22:38:56 -0400 (0:00:00.069) 0:04:50.382 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 20 September 2024 22:38:56 -0400 (0:00:00.084) 0:04:50.467 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 20 September 2024 22:38:56 -0400 (0:00:00.070) 0:04:50.537 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 20 September 2024 22:38:56 -0400 (0:00:00.071) 0:04:50.609 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 20 September 2024 22:38:56 -0400 (0:00:00.071) 0:04:50.681 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 20 September 2024 22:38:56 -0400 (0:00:00.072) 0:04:50.753 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 20 September 2024 22:38:56 -0400 (0:00:00.074) 0:04:50.827 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 20 September 2024 22:38:56 -0400 (0:00:00.071) 0:04:50.899 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 20 September 2024 22:38:56 -0400 (0:00:00.084) 0:04:50.983 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 20 September 2024 22:38:56 -0400 (0:00:00.101) 0:04:51.085 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 20 September 2024 22:38:56 -0400 (0:00:00.127) 0:04:51.212 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 20 September 2024 22:38:57 -0400 (0:00:00.121) 0:04:51.333 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 20 September 2024 22:38:57 -0400 (0:00:00.110) 0:04:51.444 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 20 September 2024 22:38:57 -0400 (0:00:00.287) 0:04:51.732 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 20 September 2024 22:38:57 -0400 (0:00:00.136) 0:04:51.869 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 20 September 2024 22:38:57 -0400 (0:00:00.114) 0:04:51.984 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 20 September 2024 22:38:57 -0400 (0:00:00.112) 0:04:52.096 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 20 September 2024 22:38:57 -0400 (0:00:00.113) 0:04:52.210 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 20 September 2024 22:38:58 -0400 (0:00:00.125) 0:04:52.335 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 20 September 2024 22:38:58 -0400 (0:00:00.105) 0:04:52.441 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 20 September 2024 22:38:58 -0400 (0:00:00.114) 0:04:52.556 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 20 September 2024 22:38:58 -0400 (0:00:00.118) 0:04:52.675 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 20 September 2024 22:38:58 -0400 (0:00:00.112) 0:04:52.788 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 20 September 2024 22:38:58 -0400 (0:00:00.112) 0:04:52.901 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 20 September 2024 22:38:58 -0400 (0:00:00.091) 0:04:52.992 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 20 September 2024 22:38:58 -0400 (0:00:00.074) 0:04:53.066 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 20 September 2024 22:38:58 -0400 (0:00:00.085) 0:04:53.151 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 20 September 2024 22:38:59 -0400 (0:00:00.141) 0:04:53.293 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 20 September 2024 22:38:59 -0400 (0:00:00.100) 0:04:53.394 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 20 September 2024 22:38:59 -0400 (0:00:00.096) 0:04:53.491 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 20 September 2024 22:38:59 -0400 (0:00:00.080) 0:04:53.571 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 20 September 2024 22:38:59 -0400 (0:00:00.082) 0:04:53.654 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 20 September 2024 22:38:59 -0400 (0:00:00.079) 0:04:53.733 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 20 September 2024 22:38:59 -0400 (0:00:00.190) 0:04:53.924 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 20 September 2024 22:38:59 -0400 (0:00:00.073) 0:04:53.997 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 20 September 2024 22:38:59 -0400 (0:00:00.077) 0:04:54.075 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 20 September 2024 22:38:59 -0400 (0:00:00.076) 0:04:54.151 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 20 September 2024 22:39:00 -0400 (0:00:00.441) 0:04:54.593 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:38:07 EDT", "ActiveEnterTimestampMonotonic": "802675873", "ActiveExitTimestamp": "Fri 2024-09-20 22:38:06 EDT", "ActiveExitTimestampMonotonic": "801686986", "ActiveState": "active", "After": "-.mount auditd.service systemd-journald.socket network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:38:07 EDT", "AssertTimestampMonotonic": "802675321", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:38:07 EDT", "ConditionTimestampMonotonic": "802675319", "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": "29982", "ExecMainStartTimestamp": "Fri 2024-09-20 22:38:07 EDT", "ExecMainStartTimestampMonotonic": "802675821", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:38:07 EDT", "InactiveEnterTimestampMonotonic": "802674353", "InactiveExitTimestamp": "Fri 2024-09-20 22:38:07 EDT", "InactiveExitTimestampMonotonic": "802675873", "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": "29982", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:38:07 EDT", "WatchdogTimestampMonotonic": "802675854", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 20 September 2024 22:39:01 -0400 (0:00:00.749) 0:04:55.342 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 20 September 2024 22:39:01 -0400 (0:00:00.071) 0:04:55.414 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 20 September 2024 22:39:01 -0400 (0:00:00.072) 0:04:55.486 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 20 September 2024 22:39:02 -0400 (0:00:00.868) 0:04:56.354 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 20 September 2024 22:39:02 -0400 (0:00:00.101) 0:04:56.456 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 20 September 2024 22:39:02 -0400 (0:00:00.081) 0:04:56.537 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 20 September 2024 22:39:02 -0400 (0:00:00.088) 0:04:56.626 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 20 September 2024 22:39:02 -0400 (0:00:00.131) 0:04:56.757 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 20 September 2024 22:39:02 -0400 (0:00:00.110) 0:04:56.867 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 20 September 2024 22:39:02 -0400 (0:00:00.116) 0:04:56.984 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 20 September 2024 22:39:02 -0400 (0:00:00.094) 0:04:57.079 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 20 September 2024 22:39:02 -0400 (0:00:00.094) 0:04:57.173 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 20 September 2024 22:39:03 -0400 (0:00:00.137) 0:04:57.311 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ActiveEnterTimestampMonotonic": "856291704", "ActiveExitTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ActiveExitTimestampMonotonic": "856063670", "ActiveState": "active", "After": "-.mount auditd.service systemd-journald.socket network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:39:00 EDT", "AssertTimestampMonotonic": "856290969", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ConditionTimestampMonotonic": "856290967", "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": "32544", "ExecMainStartTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ExecMainStartTimestampMonotonic": "856291643", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-20 22:39:00 EDT] ; stop_time=[n/a] ; pid=32544 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:39:00 EDT", "InactiveEnterTimestampMonotonic": "856289105", "InactiveExitTimestamp": "Fri 2024-09-20 22:39:00 EDT", "InactiveExitTimestampMonotonic": "856291704", "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": "32544", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:39:00 EDT", "WatchdogTimestampMonotonic": "856291682", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 20 September 2024 22:39:04 -0400 (0:00:01.001) 0:04:58.313 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003999", "end": "2024-09-20 22:39:04.393535", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:39:04.389536" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 20 September 2024 22:39:04 -0400 (0:00:00.462) 0:04:58.775 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002958", "end": "2024-09-20 22:39:04.751921", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:39:04.748963" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 20 September 2024 22:39:04 -0400 (0:00:00.353) 0:04:59.129 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 20 September 2024 22:39:04 -0400 (0:00:00.089) 0:04:59.218 ****** 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": 6364, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 20 September 2024 22:39:06 -0400 (0:00:01.367) 0:05:00.586 ****** 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.030518", "end": "2024-09-20 22:39:06.575953", "rc": 0, "start": "2024-09-20 22:39:06.545435" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 20 September 2024 22:39:06 -0400 (0:00:00.428) 0:05:01.015 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 20 September 2024 22:39:06 -0400 (0:00:00.123) 0:05:01.138 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 20 September 2024 22:39:06 -0400 (0:00:00.120) 0:05:01.258 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 20 September 2024 22:39:07 -0400 (0:00:00.113) 0:05:01.372 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 20 September 2024 22:39:07 -0400 (0:00:00.119) 0:05:01.491 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 20 September 2024 22:39:07 -0400 (0:00:00.116) 0:05:01.608 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 20 September 2024 22:39:07 -0400 (0:00:00.114) 0:05:01.722 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 20 September 2024 22:39:07 -0400 (0:00:00.113) 0:05:01.836 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 20 September 2024 22:39:07 -0400 (0:00:00.099) 0:05:01.935 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:39:07 -0400 (0:00:00.212) 0:05:02.147 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004368", "end": "2024-09-20 22:39:08.153938", "rc": 0, "start": "2024-09-20 22:39:08.149570" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:39:08 -0400 (0:00:00.382) 0:05:02.530 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:39:08 -0400 (0:00:00.093) 0:05:02.623 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:39:08 -0400 (0:00:00.086) 0:05:02.709 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 20 September 2024 22:39:08 -0400 (0:00:00.302) 0:05:03.012 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:39:08 -0400 (0:00:00.216) 0:05:03.229 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004151", "end": "2024-09-20 22:39:09.251819", "rc": 0, "start": "2024-09-20 22:39:09.247668" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:39:09 -0400 (0:00:00.452) 0:05:03.681 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:39:09 -0400 (0:00:00.147) 0:05:03.829 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:39:09 -0400 (0:00:00.126) 0:05:03.956 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 20 September 2024 22:39:09 -0400 (0:00:00.133) 0:05:04.090 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:39:10 -0400 (0:00:00.219) 0:05:04.310 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004197", "end": "2024-09-20 22:39:10.323484", "rc": 0, "start": "2024-09-20 22:39:10.319287" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:39:10 -0400 (0:00:00.428) 0:05:04.738 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:39:10 -0400 (0:00:00.129) 0:05:04.868 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:39:10 -0400 (0:00:00.117) 0:05:04.986 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 20 September 2024 22:39:10 -0400 (0:00:00.141) 0:05:05.127 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 20 September 2024 22:39:11 -0400 (0:00:00.156) 0:05:05.283 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004077", "end": "2024-09-20 22:39:11.248891", "rc": 0, "start": "2024-09-20 22:39:11.244814" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 20 September 2024 22:39:11 -0400 (0:00:00.342) 0:05:05.626 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 20 September 2024 22:39:11 -0400 (0:00:00.200) 0:05:05.826 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 20 September 2024 22:39:11 -0400 (0:00:00.097) 0:05:05.924 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 20 September 2024 22:39:11 -0400 (0:00:00.092) 0:05:06.017 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 20 September 2024 22:39:11 -0400 (0:00:00.105) 0:05:06.122 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 20 September 2024 22:39:14 -0400 (0:00:02.178) 0:05:08.301 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 20 September 2024 22:39:14 -0400 (0:00:00.131) 0:05:08.432 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 20 September 2024 22:39:14 -0400 (0:00:00.141) 0:05:08.574 ****** 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-6xu/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-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 20 September 2024 22:39:14 -0400 (0:00:00.171) 0:05:08.745 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 20 September 2024 22:39:14 -0400 (0:00:00.095) 0:05:08.841 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 20 September 2024 22:39:14 -0400 (0:00:00.121) 0:05:08.963 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 20 September 2024 22:39:14 -0400 (0:00:00.121) 0:05:09.084 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 20 September 2024 22:39:14 -0400 (0:00:00.094) 0:05:09.179 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 20 September 2024 22:39:14 -0400 (0:00:00.073) 0:05:09.252 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 20 September 2024 22:39:15 -0400 (0:00:00.083) 0:05:09.336 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 20 September 2024 22:39:15 -0400 (0:00:00.074) 0:05:09.410 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 20 September 2024 22:39:15 -0400 (0:00:00.083) 0:05:09.494 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 20 September 2024 22:39:15 -0400 (0:00:00.113) 0:05:09.607 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 20 September 2024 22:39:15 -0400 (0:00:00.120) 0:05:09.728 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 20 September 2024 22:39:15 -0400 (0:00:00.128) 0:05:09.856 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 20 September 2024 22:39:15 -0400 (0:00:00.118) 0:05:09.975 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 20 September 2024 22:39:15 -0400 (0:00:00.115) 0:05:10.091 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 20 September 2024 22:39:16 -0400 (0:00:00.337) 0:05:10.428 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 20 September 2024 22:39:16 -0400 (0:00:00.113) 0:05:10.542 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 20 September 2024 22:39:16 -0400 (0:00:00.127) 0:05:10.669 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 20 September 2024 22:39:16 -0400 (0:00:00.116) 0:05:10.786 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 20 September 2024 22:39:17 -0400 (0:00:01.275) 0:05:12.061 ****** ok: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 20 September 2024 22:39:18 -0400 (0:00:00.294) 0:05:12.356 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 20 September 2024 22:39:18 -0400 (0:00:00.140) 0:05:12.497 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 20 September 2024 22:39:18 -0400 (0:00:00.137) 0:05:12.635 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 20 September 2024 22:39:18 -0400 (0:00:00.210) 0:05:12.845 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 20 September 2024 22:39:19 -0400 (0:00:00.646) 0:05:13.492 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 20 September 2024 22:39:19 -0400 (0:00:00.131) 0:05:13.624 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 20 September 2024 22:39:19 -0400 (0:00:00.129) 0:05:13.753 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 20 September 2024 22:39:19 -0400 (0:00:00.128) 0:05:13.881 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 20 September 2024 22:39:19 -0400 (0:00:00.122) 0:05:14.004 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 20 September 2024 22:39:20 -0400 (0:00:00.321) 0:05:14.326 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 20 September 2024 22:39:20 -0400 (0:00:00.131) 0:05:14.458 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 20 September 2024 22:39:20 -0400 (0:00:00.183) 0:05:14.641 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 20 September 2024 22:39:20 -0400 (0:00:00.122) 0:05:14.763 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 20 September 2024 22:39:21 -0400 (0:00:00.653) 0:05:15.416 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 20 September 2024 22:39:21 -0400 (0:00:00.626) 0:05:16.043 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 20 September 2024 22:39:21 -0400 (0:00:00.105) 0:05:16.148 ****** 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.004982", "end": "2024-09-20 22:39:22.161263", "rc": 0, "start": "2024-09-20 22:39:22.156281" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 20 September 2024 22:39:22 -0400 (0:00:00.445) 0:05:16.594 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 20 September 2024 22:39:23 -0400 (0:00:01.013) 0:05:17.607 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 20 September 2024 22:39:23 -0400 (0:00:00.179) 0:05:17.787 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 20 September 2024 22:39:23 -0400 (0:00:00.119) 0:05:17.907 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 20 September 2024 22:39:23 -0400 (0:00:00.114) 0:05:18.021 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 20 September 2024 22:39:23 -0400 (0:00:00.143) 0:05:18.165 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 20 September 2024 22:39:23 -0400 (0:00:00.093) 0:05:18.259 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 20 September 2024 22:39:24 -0400 (0:00:00.115) 0:05:18.374 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 20 September 2024 22:39:24 -0400 (0:00:00.587) 0:05:18.962 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:24:52 EDT", "ActiveEnterTimestampMonotonic": "7926737", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service systemd-journald.socket network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:24:51 EDT", "AssertTimestampMonotonic": "7259163", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ConditionTimestampMonotonic": "7259162", "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": "846", "ExecMainStartTimestamp": "Fri 2024-09-20 22:24:51 EDT", "ExecMainStartTimestampMonotonic": "7261066", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:24:51 EDT", "InactiveExitTimestampMonotonic": "7261101", "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": "846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.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": "Fri 2024-09-20 22:24:52 EDT", "WatchdogTimestampMonotonic": "7926686", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 20 September 2024 22:39:25 -0400 (0:00:00.943) 0:05:19.905 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.082554", "end": "2024-09-20 22:39:25.987990", "rc": 0, "start": "2024-09-20 22:39:25.905436" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 20 September 2024 22:39:26 -0400 (0:00:00.465) 0:05:20.370 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 20 September 2024 22:39:26 -0400 (0:00:00.075) 0:05:20.446 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 20 September 2024 22:39:26 -0400 (0:00:00.078) 0:05:20.525 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 20 September 2024 22:39:26 -0400 (0:00:00.076) 0:05:20.601 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 20 September 2024 22:39:26 -0400 (0:00:00.370) 0:05:20.971 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 20 September 2024 22:39:26 -0400 (0:00:00.075) 0:05:21.046 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 20 September 2024 22:39:27 -0400 (0:00:00.565) 0:05:21.612 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 20 September 2024 22:39:27 -0400 (0:00:00.074) 0:05:21.686 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 20 September 2024 22:39:27 -0400 (0:00:00.078) 0:05:21.765 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 20 September 2024 22:39:27 -0400 (0:00:00.077) 0:05:21.842 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 20 September 2024 22:39:27 -0400 (0:00:00.086) 0:05:21.929 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 20 September 2024 22:39:27 -0400 (0:00:00.078) 0:05:22.008 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 20 September 2024 22:39:27 -0400 (0:00:00.074) 0:05:22.083 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 20 September 2024 22:39:27 -0400 (0:00:00.075) 0:05:22.158 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 20 September 2024 22:39:27 -0400 (0:00:00.071) 0:05:22.230 ****** 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.005103", "end": "2024-09-20 22:39:28.244462", "rc": 0, "start": "2024-09-20 22:39:28.239359" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 20 September 2024 22:39:28 -0400 (0:00:00.430) 0:05:22.660 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 20 September 2024 22:39:28 -0400 (0:00:00.130) 0:05:22.791 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 20 September 2024 22:39:29 -0400 (0:00:01.380) 0:05:24.172 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 20 September 2024 22:39:29 -0400 (0:00:00.103) 0:05:24.276 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 20 September 2024 22:39:30 -0400 (0:00:00.091) 0:05:24.367 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 20 September 2024 22:39:30 -0400 (0:00:00.076) 0:05:24.444 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 20 September 2024 22:39:30 -0400 (0:00:00.076) 0:05:24.521 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:39:30 -0400 (0:00:00.129) 0:05:24.650 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003020", "end": "2024-09-20 22:39:30.616768", "failed_when_result": false, "rc": 1, "start": "2024-09-20 22:39:30.613748" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:39:30 -0400 (0:00:00.388) 0:05:25.039 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044423", "end": "2024-09-20 22:39:31.106371", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:31.061948" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:39:31 -0400 (0:00:00.513) 0:05:25.553 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 20 September 2024 22:39:31 -0400 (0:00:00.098) 0:05:25.651 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 20 September 2024 22:39:31 -0400 (0:00:00.253) 0:05:25.905 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 20 September 2024 22:39:31 -0400 (0:00:00.119) 0:05:26.024 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 20 September 2024 22:39:31 -0400 (0:00:00.135) 0:05:26.160 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 20 September 2024 22:39:31 -0400 (0:00:00.099) 0:05:26.259 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 20 September 2024 22:39:32 -0400 (0:00:00.099) 0:05:26.359 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 20 September 2024 22:39:32 -0400 (0:00:00.075) 0:05:26.435 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 20 September 2024 22:39:32 -0400 (0:00:00.076) 0:05:26.511 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 20 September 2024 22:39:32 -0400 (0:00:00.075) 0:05:26.586 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 20 September 2024 22:39:32 -0400 (0:00:00.072) 0:05:26.658 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 20 September 2024 22:39:32 -0400 (0:00:00.078) 0:05:26.737 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 20 September 2024 22:39:32 -0400 (0:00:00.074) 0:05:26.811 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 20 September 2024 22:39:32 -0400 (0:00:00.090) 0:05:26.902 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:39:32 -0400 (0:00:00.132) 0:05:27.034 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003164", "end": "2024-09-20 22:39:33.017479", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:33.014315" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:39:33 -0400 (0:00:00.361) 0:05:27.395 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:39:33 -0400 (0:00:00.084) 0:05:27.480 ****** 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.043690", "end": "2024-09-20 22:39:33.496874", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:33.453184" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 20 September 2024 22:39:33 -0400 (0:00:00.402) 0:05:27.882 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:39:33 -0400 (0:00:00.284) 0:05:28.166 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003114", "end": "2024-09-20 22:39:34.173109", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:34.169995" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:39:34 -0400 (0:00:00.387) 0:05:28.554 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:39:34 -0400 (0:00:00.082) 0:05:28.636 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.043970", "end": "2024-09-20 22:39:34.654104", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:34.610134" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 20 September 2024 22:39:34 -0400 (0:00:00.398) 0:05:29.034 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:39:34 -0400 (0:00:00.134) 0:05:29.169 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003311", "end": "2024-09-20 22:39:35.165720", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:35.162409" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:39:35 -0400 (0:00:00.431) 0:05:29.601 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:39:35 -0400 (0:00:00.136) 0:05:29.737 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.043825", "end": "2024-09-20 22:39:35.800797", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:35.756972" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 20 September 2024 22:39:35 -0400 (0:00:00.500) 0:05:30.237 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 20 September 2024 22:39:36 -0400 (0:00:00.207) 0:05:30.445 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003173", "end": "2024-09-20 22:39:36.426115", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:36.422942" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 20 September 2024 22:39:36 -0400 (0:00:00.403) 0:05:30.849 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 20 September 2024 22:39:36 -0400 (0:00:00.130) 0:05:30.979 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.043161", "end": "2024-09-20 22:39:37.053389", "failed_when_result": false, "rc": 0, "start": "2024-09-20 22:39:37.010228" } 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 20 September 2024 22:39:37 -0400 (0:00:00.511) 0:05:31.491 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 20 September 2024 22:39:37 -0400 (0:00:00.118) 0:05:31.609 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 20 September 2024 22:39:37 -0400 (0:00:00.117) 0:05:31.726 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 20 September 2024 22:39:37 -0400 (0:00:00.108) 0:05:31.834 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 20 September 2024 22:39:37 -0400 (0:00:00.329) 0:05:32.164 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 20 September 2024 22:39:38 -0400 (0:00:00.128) 0:05:32.292 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 20 September 2024 22:39:38 -0400 (0:00:00.148) 0:05:32.441 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 20 September 2024 22:39:38 -0400 (0:00:00.097) 0:05:32.539 ****** 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 : Get SPNs for the principal] ************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 20 September 2024 22:39:38 -0400 (0:00:00.080) 0:05:32.619 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 20 September 2024 22:39:38 -0400 (0:00:00.077) 0:05:32.697 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 20 September 2024 22:39:38 -0400 (0:00:00.071) 0:05:32.768 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 20 September 2024 22:39:38 -0400 (0:00:00.075) 0:05:32.844 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 20 September 2024 22:39:38 -0400 (0:00:00.072) 0:05:32.916 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 20 September 2024 22:39:38 -0400 (0:00:00.072) 0:05:32.988 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 20 September 2024 22:39:38 -0400 (0:00:00.074) 0:05:33.063 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 20 September 2024 22:39:38 -0400 (0:00:00.071) 0:05:33.134 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 20 September 2024 22:39:38 -0400 (0:00:00.074) 0:05:33.209 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 20 September 2024 22:39:38 -0400 (0:00:00.071) 0:05:33.280 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 20 September 2024 22:39:39 -0400 (0:00:00.116) 0:05:33.396 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 20 September 2024 22:39:39 -0400 (0:00:00.105) 0:05:33.502 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 20 September 2024 22:39:39 -0400 (0:00:00.119) 0:05:33.622 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 20 September 2024 22:39:39 -0400 (0:00:00.122) 0:05:33.744 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 20 September 2024 22:39:39 -0400 (0:00:00.116) 0:05:33.860 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 20 September 2024 22:39:39 -0400 (0:00:00.310) 0:05:34.170 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 20 September 2024 22:39:40 -0400 (0:00:00.122) 0:05:34.293 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 20 September 2024 22:39:40 -0400 (0:00:00.133) 0:05:34.427 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 20 September 2024 22:39:40 -0400 (0:00:00.111) 0:05:34.538 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 20 September 2024 22:39:40 -0400 (0:00:00.125) 0:05:34.663 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 20 September 2024 22:39:40 -0400 (0:00:00.078) 0:05:34.742 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 20 September 2024 22:39:40 -0400 (0:00:00.075) 0:05:34.817 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 20 September 2024 22:39:40 -0400 (0:00:00.094) 0:05:34.911 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 20 September 2024 22:39:40 -0400 (0:00:00.073) 0:05:34.984 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 20 September 2024 22:39:40 -0400 (0:00:00.097) 0:05:35.082 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 20 September 2024 22:39:40 -0400 (0:00:00.075) 0:05:35.157 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 20 September 2024 22:39:40 -0400 (0:00:00.071) 0:05:35.229 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 20 September 2024 22:39:41 -0400 (0:00:00.073) 0:05:35.302 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 20 September 2024 22:39:41 -0400 (0:00:00.071) 0:05:35.374 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 20 September 2024 22:39:41 -0400 (0:00:00.115) 0:05:35.490 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 20 September 2024 22:39:41 -0400 (0:00:00.111) 0:05:35.601 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 20 September 2024 22:39:41 -0400 (0:00:00.115) 0:05:35.717 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 20 September 2024 22:39:41 -0400 (0:00:00.117) 0:05:35.834 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 20 September 2024 22:39:41 -0400 (0:00:00.113) 0:05:35.947 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 20 September 2024 22:39:41 -0400 (0:00:00.305) 0:05:36.253 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 20 September 2024 22:39:42 -0400 (0:00:00.143) 0:05:36.396 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 20 September 2024 22:39:42 -0400 (0:00:00.117) 0:05:36.514 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 20 September 2024 22:39:42 -0400 (0:00:00.123) 0:05:36.638 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 20 September 2024 22:39:42 -0400 (0:00:00.117) 0:05:36.755 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 20 September 2024 22:39:42 -0400 (0:00:00.124) 0:05:36.880 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 20 September 2024 22:39:42 -0400 (0:00:00.105) 0:05:36.986 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 20 September 2024 22:39:42 -0400 (0:00:00.076) 0:05:37.062 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 20 September 2024 22:39:42 -0400 (0:00:00.090) 0:05:37.152 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 20 September 2024 22:39:42 -0400 (0:00:00.118) 0:05:37.271 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 20 September 2024 22:39:43 -0400 (0:00:00.105) 0:05:37.377 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 20 September 2024 22:39:43 -0400 (0:00:00.551) 0:05:37.929 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ActiveEnterTimestampMonotonic": "856291704", "ActiveExitTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ActiveExitTimestampMonotonic": "856063670", "ActiveState": "active", "After": "-.mount auditd.service systemd-journald.socket network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:39:00 EDT", "AssertTimestampMonotonic": "856290969", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ConditionTimestampMonotonic": "856290967", "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": "32544", "ExecMainStartTimestamp": "Fri 2024-09-20 22:39:00 EDT", "ExecMainStartTimestampMonotonic": "856291643", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-20 22:39:00 EDT] ; stop_time=[n/a] ; pid=32544 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 22:39:00 EDT", "InactiveEnterTimestampMonotonic": "856289105", "InactiveExitTimestamp": "Fri 2024-09-20 22:39:00 EDT", "InactiveExitTimestampMonotonic": "856291704", "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": "32544", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 22:39:00 EDT", "WatchdogTimestampMonotonic": "856291682", "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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 20 September 2024 22:39:44 -0400 (0:00:00.850) 0:05:38.780 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 20 September 2024 22:39:44 -0400 (0:00:00.110) 0:05:38.890 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:26 Friday 20 September 2024 22:39:44 -0400 (0:00:00.114) 0:05:39.004 ****** included: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 20 September 2024 22:39:45 -0400 (0:00:00.397) 0:05:39.402 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 20 September 2024 22:39:47 -0400 (0:00:01.974) 0:05:41.377 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 20 September 2024 22:39:47 -0400 (0:00:00.164) 0:05:41.541 ****** ok: [managed_node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 20 September 2024 22:39:47 -0400 (0:00:00.123) 0:05:41.664 ****** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 20 September 2024 22:39:47 -0400 (0:00:00.312) 0:05:41.977 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 20 September 2024 22:39:47 -0400 (0:00:00.227) 0:05:42.205 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 20 September 2024 22:39:48 -0400 (0:00:00.156) 0:05:42.361 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 20 September 2024 22:39:48 -0400 (0:00:00.417) 0:05:42.779 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 20 September 2024 22:39:48 -0400 (0:00:00.278) 0:05:43.058 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 20 September 2024 22:39:49 -0400 (0:00:00.390) 0:05:43.449 ****** ok: [managed_node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 20 September 2024 22:39:49 -0400 (0:00:00.106) 0:05:43.555 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 20 September 2024 22:39:49 -0400 (0:00:00.616) 0:05:44.171 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 20 September 2024 22:39:50 -0400 (0:00:00.118) 0:05:44.290 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 20 September 2024 22:39:50 -0400 (0:00:00.122) 0:05:44.412 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 20 September 2024 22:39:50 -0400 (0:00:00.100) 0:05:44.513 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 20 September 2024 22:39:50 -0400 (0:00:00.092) 0:05:44.605 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 20 September 2024 22:39:50 -0400 (0:00:00.092) 0:05:44.697 ****** ok: [managed_node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:28:27 EDT", "ActiveEnterTimestampMonotonic": "222922784", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:28:27 EDT", "AssertTimestampMonotonic": "222694617", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:28:27 EDT", "ConditionTimestampMonotonic": "222694615", "Conflicts": "iptables.service ipset.service ip6tables.service ebtables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9511", "ExecMainStartTimestamp": "Fri 2024-09-20 22:28:27 EDT", "ExecMainStartTimestampMonotonic": "222696054", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:28:27 EDT", "InactiveExitTimestampMonotonic": "222696498", "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": "9511", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-09-20 22:28:27 EDT", "WatchdogTimestampMonotonic": "222922734", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 20 September 2024 22:39:50 -0400 (0:00:00.509) 0:05:45.207 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 22:28:27 EDT", "ActiveEnterTimestampMonotonic": "222922784", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 22:28:27 EDT", "AssertTimestampMonotonic": "222694617", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 22:28:27 EDT", "ConditionTimestampMonotonic": "222694615", "Conflicts": "iptables.service ipset.service ip6tables.service ebtables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9511", "ExecMainStartTimestamp": "Fri 2024-09-20 22:28:27 EDT", "ExecMainStartTimestampMonotonic": "222696054", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-09-20 22:28:27 EDT", "InactiveExitTimestampMonotonic": "222696498", "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": "9511", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-09-20 22:28:27 EDT", "WatchdogTimestampMonotonic": "222922734", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 20 September 2024 22:39:51 -0400 (0:00:00.516) 0:05:45.723 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 20 September 2024 22:39:51 -0400 (0:00:00.082) 0:05:45.806 ****** ok: [managed_node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.10.74 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 20 September 2024 22:39:51 -0400 (0:00:00.372) 0:05:46.179 ****** ok: [managed_node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 20 September 2024 22:39:52 -0400 (0:00:00.290) 0:05:46.470 ****** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 20 September 2024 22:39:52 -0400 (0:00:00.117) 0:05:46.587 ****** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 20 September 2024 22:39:52 -0400 (0:00:00.121) 0:05:46.709 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 20 September 2024 22:39:52 -0400 (0:00:00.128) 0:05:46.837 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 20 September 2024 22:39:52 -0400 (0:00:00.120) 0:05:46.958 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 20 September 2024 22:39:52 -0400 (0:00:00.100) 0:05:47.058 ****** ok: [managed_node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.10.74 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 20 September 2024 22:39:53 -0400 (0:00:00.416) 0:05:47.475 ****** ok: [managed_node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 20 September 2024 22:39:53 -0400 (0:00:00.087) 0:05:47.563 ****** skipping: [managed_node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 20 September 2024 22:39:53 -0400 (0:00:00.080) 0:05:47.643 ****** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 20 September 2024 22:39:53 -0400 (0:00:00.177) 0:05:47.820 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 20 September 2024 22:39:53 -0400 (0:00:00.131) 0:05:47.951 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 20 September 2024 22:39:53 -0400 (0:00:00.100) 0:05:48.052 ****** included: /tmp/collections-6xu/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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 20 September 2024 22:39:53 -0400 (0:00:00.152) 0:05:48.204 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 20 September 2024 22:39:54 -0400 (0:00:00.468) 0:05:48.672 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 20 September 2024 22:39:54 -0400 (0:00:00.085) 0:05:48.757 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 20 September 2024 22:39:54 -0400 (0:00:00.353) 0:05:49.111 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 20 September 2024 22:39:54 -0400 (0:00:00.089) 0:05:49.200 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 20 September 2024 22:39:55 -0400 (0:00:00.613) 0:05:49.813 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 20 September 2024 22:39:55 -0400 (0:00:00.117) 0:05:49.931 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 20 September 2024 22:39:55 -0400 (0:00:00.118) 0:05:50.049 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 20 September 2024 22:39:55 -0400 (0:00:00.114) 0:05:50.164 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 20 September 2024 22:39:56 -0400 (0:00:00.136) 0:05:50.300 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 20 September 2024 22:39:56 -0400 (0:00:00.114) 0:05:50.415 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 20 September 2024 22:39:56 -0400 (0:00:00.103) 0:05:50.519 ****** ok: [managed_node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 20 September 2024 22:39:56 -0400 (0:00:00.657) 0:05:51.176 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 20 September 2024 22:39:56 -0400 (0:00:00.083) 0:05:51.260 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 20 September 2024 22:39:57 -0400 (0:00:00.086) 0:05:51.346 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 20 September 2024 22:39:57 -0400 (0:00:00.076) 0:05:51.423 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 20 September 2024 22:39:57 -0400 (0:00:00.197) 0:05:51.621 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 20 September 2024 22:39:57 -0400 (0:00:00.075) 0:05:51.696 ****** 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.333173", "end": "2024-09-20 22:39:58.020097", "rc": 0, "start": "2024-09-20 22:39:57.686924" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 20 September 2024 22:39:58 -0400 (0:00:00.736) 0:05:52.433 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 20 September 2024 22:39:58 -0400 (0:00:00.084) 0:05:52.518 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 20 September 2024 22:39:58 -0400 (0:00:00.080) 0:05:52.598 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 20 September 2024 22:39:58 -0400 (0:00:00.118) 0:05:52.716 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 20 September 2024 22:39:58 -0400 (0:00:00.114) 0:05:52.831 ****** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 20 September 2024 22:39:58 -0400 (0:00:00.102) 0:05:52.934 ****** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 20 September 2024 22:39:58 -0400 (0:00:00.088) 0:05:53.022 ****** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 20 September 2024 22:39:58 -0400 (0:00:00.075) 0:05:53.098 ****** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 20 September 2024 22:39:58 -0400 (0:00:00.074) 0:05:53.172 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 20 September 2024 22:40:01 -0400 (0:00:02.966) 0:05:56.139 ****** 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-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 20 September 2024 22:40:02 -0400 (0:00:00.323) 0:05:56.462 ****** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 20 September 2024 22:40:02 -0400 (0:00:00.148) 0:05:56.611 ****** TASK [Leave realm] ************************************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 20 September 2024 22:40:02 -0400 (0:00:00.124) 0:05:56.735 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 20 September 2024 22:40:02 -0400 (0:00:00.137) 0:05:56.873 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 20 September 2024 22:40:02 -0400 (0:00:00.161) 0:05:57.034 ****** ok: [managed_node2] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Friday 20 September 2024 22:40:03 -0400 (0:00:00.855) 0:05:57.890 ****** changed: [managed_node2] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-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 cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-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 msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 4/12 \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 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 6/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 7/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 9/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-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 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Friday 20 September 2024 22:40:06 -0400 (0:00:02.968) 0:06:00.858 ****** [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.007493", "end": "2024-09-20 22:40:06.877242", "rc": 0, "start": "2024-09-20 22:40:06.869749" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/d1951781-a009-442c-a0a9-71d1b14243c0’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1256257889-3348144996-3587293946-500/42e7704ae40b0d75de00736cc66b813a_32a82bda-800f-4c02-a173-abd85c6c4c45’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1256257889-3348144996-3587293946-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1256257889-3348144996-3587293946-500/7805bdf0-45a0-4de0-8488-c58e989f0cce’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1256257889-3348144996-3587293946-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1256257889-3348144996-3587293946-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/system_health_0_133713597433810000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133713598897800000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713598341240000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713599870690000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/system_health_0_133713599874000000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713597138220000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713598894460000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713597430590000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713599430940000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133713597103780000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713597098150000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133713598344370000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133713597846070000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133713597849440000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133713597142270000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133713599434640000.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-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Friday 20 September 2024 22:40:07 -0400 (0:00:00.437) 0:06:01.296 ****** ok: [managed_node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.344555", "end": "2024-09-20 22:40:07.665851", "rc": 0, "start": "2024-09-20 22:40:07.321296" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 20 September 2024 22:40:07 -0400 (0:00:00.696) 0:06:01.993 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.777108", "end": "2024-09-20 22:40:09.811807", "rc": 0, "start": "2024-09-20 22:40:08.034699" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=389 changed=62 unreachable=0 failed=0 skipped=880 rescued=0 ignored=0 Friday 20 September 2024 22:40:09 -0400 (0:00:02.155) 0:06:04.148 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 46.89s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 5.35s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 4.63s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.11s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.00s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Remove related packages ------------------------------------------------- 2.97s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.97s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Disable TLS encryption -------------------------------------------------- 2.18s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.16s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host --- 2.06s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Gather package facts ---------------------------------------------------- 1.97s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.69s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Get the setting network tlsprotocols --- 1.58s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.56s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.54s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.50s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Get the setting network tcpport ------- 1.50s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Disable TLS encryption -------------------------------------------------- 1.49s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.47s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.41s /tmp/collections-6xu/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93