ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_tls_2019.yml *************************************************** 2 plays in /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:5 Wednesday 13 November 2024 11:46:13 -0500 (0:00:00.025) 0:00:00.025 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-a4h/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-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Wednesday 13 November 2024 11:46:13 -0500 (0:00:00.021) 0:00:00.046 **** ok: [managed-node1] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:23 Wednesday 13 November 2024 11:46:14 -0500 (0:00:00.941) 0:00:00.988 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed-node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Wednesday 13 November 2024 11:46:14 -0500 (0:00:00.105) 0:00:01.093 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node1 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Wednesday 13 November 2024 11:46:14 -0500 (0:00:00.037) 0:00:01.131 **** ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Wednesday 13 November 2024 11:46:15 -0500 (0:00:00.414) 0:00:01.545 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Wednesday 13 November 2024 11:46:15 -0500 (0:00:00.026) 0:00:01.572 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Wednesday 13 November 2024 11:46:15 -0500 (0:00:00.025) 0:00:01.597 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Wednesday 13 November 2024 11:46:16 -0500 (0:00:00.720) 0:00:02.318 **** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Ct7yYr", "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-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Wednesday 13 November 2024 11:46:16 -0500 (0:00:00.385) 0:00:02.703 **** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Bcv1UE", "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-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Wednesday 13 November 2024 11:46:16 -0500 (0:00:00.285) 0:00:02.989 **** changed: [managed-node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.45.35", "-out", "/tmp/ansible.Ct7yYr", "-keyout", "/tmp/ansible.Bcv1UE", "-days", "365" ], "delta": "0:00:00.045089", "end": "2024-11-13 11:46:17.198791", "rc": 0, "start": "2024-11-13 11:46:17.153702" } STDERR: Generating a 2048 bit RSA private key ...........................+++ .....+++ writing new private key to '/tmp/ansible.Bcv1UE' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Wednesday 13 November 2024 11:46:17 -0500 (0:00:00.438) 0:00:03.427 **** changed: [managed-node1] => (item=/tmp/ansible.Ct7yYr) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdbf135923461a0c62fb6c56e2c6406c9cc555a1", "dest": "/tmp/ansible.Ct7yYr", "item": "/tmp/ansible.Ct7yYr", "md5sum": "7a1901be93ccd9d323f6467609a067ea", "remote_checksum": "cdbf135923461a0c62fb6c56e2c6406c9cc555a1", "remote_md5sum": null } changed: [managed-node1] => (item=/tmp/ansible.Bcv1UE) => { "ansible_loop_var": "item", "changed": true, "checksum": "52c030a785ced72a6549f64ce7bcd9b2c35d4e08", "dest": "/tmp/ansible.Bcv1UE", "item": "/tmp/ansible.Bcv1UE", "md5sum": "1f94ed900a5d6004e8dd24e3176e3d91", "remote_checksum": "52c030a785ced72a6549f64ce7bcd9b2c35d4e08", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.790) 0:00:04.217 **** changed: [managed-node1 -> localhost] => { "changed": true, "checksum": "52c030a785ced72a6549f64ce7bcd9b2c35d4e08", "dest": "./ansible.Bcv1UE", "gid": 0, "group": "root", "md5sum": "1f94ed900a5d6004e8dd24e3176e3d91", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1731516378.06-5880-89955603561554/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.442) 0:00:04.659 **** ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Ct7yYr", "mssql_tls_private_key": "ansible.Bcv1UE" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.024) 0:00:04.684 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.327) 0:00:05.011 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.030) 0:00:05.042 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.026) 0:00:05.068 **** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.056) 0:00:05.125 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.021) 0:00:05.147 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 13 November 2024 11:46:18 -0500 (0:00:00.021) 0:00:05.168 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.021) 0:00:05.190 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.023) 0:00:05.213 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.022) 0:00:05.236 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.021) 0:00:05.257 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.022) 0:00:05.280 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.022) 0:00:05.302 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.020) 0:00:05.323 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.075) 0:00:05.398 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.031) 0:00:05.430 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.021) 0:00:05.452 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.021) 0:00:05.473 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.021) 0:00:05.494 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.023) 0:00:05.517 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.024) 0:00:05.542 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wednesday 13 November 2024 11:46:19 -0500 (0:00:00.022) 0:00:05.564 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Wednesday 13 November 2024 11:46:20 -0500 (0:00:01.466) 0:00:07.031 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 13 November 2024 11:46:20 -0500 (0:00:00.116) 0:00:07.147 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Wednesday 13 November 2024 11:46:21 -0500 (0:00:00.061) 0:00:07.209 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Wednesday 13 November 2024 11:46:21 -0500 (0:00:00.064) 0:00:07.273 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 13 November 2024 11:46:21 -0500 (0:00:00.098) 0:00:07.372 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 13 November 2024 11:46:21 -0500 (0:00:00.692) 0:00:08.064 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Wednesday 13 November 2024 11:46:21 -0500 (0:00:00.061) 0:00:08.125 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 13 November 2024 11:46:22 -0500 (0:00:00.062) 0:00:08.188 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Wednesday 13 November 2024 11:46:22 -0500 (0:00:00.103) 0:00:08.292 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 13 November 2024 11:46:22 -0500 (0:00:00.060) 0:00:08.353 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Wednesday 13 November 2024 11:46:22 -0500 (0:00:00.064) 0:00:08.417 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Wednesday 13 November 2024 11:46:22 -0500 (0:00:00.061) 0:00:08.479 **** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 13 November 2024 11:46:22 -0500 (0:00:00.479) 0:00:08.958 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 13 November 2024 11:46:22 -0500 (0:00:00.059) 0:00:09.018 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 13 November 2024 11:46:23 -0500 (0:00:00.600) 0:00:09.619 **** changed: [managed-node1] => { "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:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Wednesday 13 November 2024 11:47:04 -0500 (0:00:40.840) 0:00:50.459 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006434", "end": "2024-11-13 11:47:04.542412", "rc": 0, "start": "2024-11-13 11:47:04.535978" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Wednesday 13 November 2024 11:47:04 -0500 (0:00:00.361) 0:00:50.821 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Wednesday 13 November 2024 11:47:05 -0500 (0:00:01.066) 0:00:51.887 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Wednesday 13 November 2024 11:47:05 -0500 (0:00:00.090) 0:00:51.978 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Wednesday 13 November 2024 11:47:05 -0500 (0:00:00.077) 0:00:52.055 **** changed: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Wednesday 13 November 2024 11:47:11 -0500 (0:00:05.519) 0:00:57.575 **** skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Wednesday 13 November 2024 11:47:11 -0500 (0:00:00.129) 0:00:57.705 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Wednesday 13 November 2024 11:47:11 -0500 (0:00:00.165) 0:00:57.870 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Wednesday 13 November 2024 11:47:11 -0500 (0:00:00.104) 0:00:57.975 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Wednesday 13 November 2024 11:47:12 -0500 (0:00:00.911) 0:00:58.887 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:29:30 EST", "ActiveEnterTimestampMonotonic": "26615787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:29:28 EST", "AssertTimestampMonotonic": "24670252", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:29:28 EST", "ConditionTimestampMonotonic": "24670251", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Wed 2024-11-13 11:29:28 EST", "ExecMainStartTimestampMonotonic": "24671578", "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": "Wed 2024-11-13 11:29:28 EST", "InactiveExitTimestampMonotonic": "24671623", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.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": "Wed 2024-11-13 11:29:30 EST", "WatchdogTimestampMonotonic": "26615611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Wednesday 13 November 2024 11:47:13 -0500 (0:00:01.131) 0:01:00.018 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.298980", "end": "2024-11-13 11:47:14.843077", "rc": 0, "start": "2024-11-13 11:47:14.544097" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 13 November 2024 11:47:15 -0500 (0:00:01.265) 0:01:01.284 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Wednesday 13 November 2024 11:47:15 -0500 (0:00:00.105) 0:01:01.390 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Wednesday 13 November 2024 11:47:15 -0500 (0:00:00.110) 0:01:01.500 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Wednesday 13 November 2024 11:47:15 -0500 (0:00:00.108) 0:01:01.609 **** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 13 November 2024 11:47:15 -0500 (0:00:00.439) 0:01:02.049 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 13 November 2024 11:47:15 -0500 (0:00:00.075) 0:01:02.124 **** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Wednesday 13 November 2024 11:47:21 -0500 (0:00:05.745) 0:01:07.870 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Wednesday 13 November 2024 11:47:21 -0500 (0:00:00.111) 0:01:07.981 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Wednesday 13 November 2024 11:47:21 -0500 (0:00:00.106) 0:01:08.088 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.107) 0:01:08.196 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.103) 0:01:08.299 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.182) 0:01:08.481 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.099) 0:01:08.581 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.111) 0:01:08.693 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.092) 0:01:08.785 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.090) 0:01:08.876 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.073) 0:01:08.950 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.069) 0:01:09.019 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.068) 0:01:09.087 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Wednesday 13 November 2024 11:47:22 -0500 (0:00:00.066) 0:01:09.154 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Wednesday 13 November 2024 11:47:23 -0500 (0:00:00.068) 0:01:09.222 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 13 November 2024 11:47:23 -0500 (0:00:00.086) 0:01:09.309 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:47:23 -0500 (0:00:00.200) 0:01:09.509 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003668", "end": "2024-11-13 11:47:23.593772", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:47:23.590104" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:47:23 -0500 (0:00:00.356) 0:01:09.866 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.122565", "end": "2024-11-13 11:47:24.100271", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:47:23.977706" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.555) 0:01:10.421 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.096) 0:01:10.517 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.096) 0:01:10.613 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.131) 0:01:10.745 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.069) 0:01:10.815 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.068) 0:01:10.883 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.069) 0:01:10.953 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.066) 0:01:11.020 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.068) 0:01:11.089 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 13 November 2024 11:47:24 -0500 (0:00:00.067) 0:01:11.156 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 13 November 2024 11:47:25 -0500 (0:00:00.069) 0:01:11.226 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 13 November 2024 11:47:25 -0500 (0:00:00.081) 0:01:11.307 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Wednesday 13 November 2024 11:47:25 -0500 (0:00:00.106) 0:01:11.413 **** changed: [managed-node1] => (item=/tmp/ansible.Ct7yYr) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdbf135923461a0c62fb6c56e2c6406c9cc555a1", "dest": "/etc/pki/tls/certs/ansible.Ct7yYr", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Ct7yYr", "md5sum": "7a1901be93ccd9d323f6467609a067ea", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1731516445.31-7354-140348978190597/source", "state": "file", "uid": 996 } changed: [managed-node1] => (item=ansible.Bcv1UE) => { "ansible_loop_var": "item", "changed": true, "checksum": "52c030a785ced72a6549f64ce7bcd9b2c35d4e08", "dest": "/etc/pki/tls/private/ansible.Bcv1UE", "gid": 994, "group": "mssql", "item": "ansible.Bcv1UE", "md5sum": "1f94ed900a5d6004e8dd24e3176e3d91", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1731516445.97-7354-259983211048243/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 13 November 2024 11:47:26 -0500 (0:00:01.327) 0:01:12.741 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:47:26 -0500 (0:00:00.149) 0:01:12.891 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003587", "end": "2024-11-13 11:47:26.972931", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:47:26.969344" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:47:27 -0500 (0:00:00.359) 0:01:13.250 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.Ct7yYr" ], "delta": "0:00:00.121121", "end": "2024-11-13 11:47:27.467159", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:47:27.346038" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:47:27 -0500 (0:00:00.608) 0:01:13.859 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 13 November 2024 11:47:27 -0500 (0:00:00.108) 0:01:13.967 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:47:27 -0500 (0:00:00.161) 0:01:14.129 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003159", "end": "2024-11-13 11:47:28.214009", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:47:28.210850" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:47:28 -0500 (0:00:00.387) 0:01:14.516 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.Bcv1UE" ], "delta": "0:00:00.119304", "end": "2024-11-13 11:47:28.747034", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:47:28.627730" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:47:28 -0500 (0:00:00.549) 0:01:15.066 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 13 November 2024 11:47:29 -0500 (0:00:00.114) 0:01:15.181 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:47:29 -0500 (0:00:00.183) 0:01:15.364 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003234", "end": "2024-11-13 11:47:29.451263", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:47:29.448029" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:47:29 -0500 (0:00:00.411) 0:01:15.776 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.120232", "end": "2024-11-13 11:47:29.996231", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:47:29.875999" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:47:30 -0500 (0:00:00.519) 0:01:16.296 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Wednesday 13 November 2024 11:47:30 -0500 (0:00:00.084) 0:01:16.381 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:47:30 -0500 (0:00:00.147) 0:01:16.529 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003167", "end": "2024-11-13 11:47:30.646584", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:47:30.643417" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:47:30 -0500 (0:00:00.444) 0:01:16.973 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.120771", "end": "2024-11-13 11:47:31.195154", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:47:31.074383" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.502) 0:01:17.476 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.070) 0:01:17.547 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.071) 0:01:17.619 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.067) 0:01:17.686 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.069) 0:01:17.756 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.087) 0:01:17.844 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.071) 0:01:17.915 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.072) 0:01:17.987 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.067) 0:01:18.055 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 13 November 2024 11:47:31 -0500 (0:00:00.069) 0:01:18.124 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.076) 0:01:18.201 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.104) 0:01:18.305 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.093) 0:01:18.399 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.087) 0:01:18.486 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.075) 0:01:18.561 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.066) 0:01:18.628 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.167) 0:01:18.796 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.112) 0:01:18.908 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.094) 0:01:19.002 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.075) 0:01:19.078 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Wednesday 13 November 2024 11:47:32 -0500 (0:00:00.066) 0:01:19.144 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.068) 0:01:19.213 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.069) 0:01:19.283 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.070) 0:01:19.353 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.071) 0:01:19.425 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.068) 0:01:19.493 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.071) 0:01:19.565 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.068) 0:01:19.633 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.070) 0:01:19.703 **** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.079) 0:01:19.783 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.070) 0:01:19.853 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.082) 0:01:19.935 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.082) 0:01:20.018 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.070) 0:01:20.088 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 13 November 2024 11:47:33 -0500 (0:00:00.069) 0:01:20.157 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.131) 0:01:20.289 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.076) 0:01:20.365 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.109) 0:01:20.475 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.089) 0:01:20.564 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.094) 0:01:20.659 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.077) 0:01:20.736 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.068) 0:01:20.805 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.070) 0:01:20.876 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.076) 0:01:20.952 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.073) 0:01:21.026 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Wednesday 13 November 2024 11:47:34 -0500 (0:00:00.084) 0:01:21.111 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.070) 0:01:21.181 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.071) 0:01:21.253 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.069) 0:01:21.323 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.073) 0:01:21.396 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.083) 0:01:21.479 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.097) 0:01:21.577 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.107) 0:01:21.684 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.104) 0:01:21.789 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Wednesday 13 November 2024 11:47:35 -0500 (0:00:00.190) 0:01:21.979 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 13 November 2024 11:47:36 -0500 (0:00:00.697) 0:01:22.677 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:47:11 EST", "ActiveEnterTimestampMonotonic": "1087358653", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount basic.target auditd.service systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:47:11 EST", "AssertTimestampMonotonic": "1087357214", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:47:11 EST", "ConditionTimestampMonotonic": "1087357212", "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": "4800", "ExecMainStartTimestamp": "Wed 2024-11-13 11:47:11 EST", "ExecMainStartTimestampMonotonic": "1087357974", "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": "Wed 2024-11-13 11:47:11 EST", "InactiveExitTimestampMonotonic": "1087358653", "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": "4800", "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 -.mount 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": "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": "Wed 2024-11-13 11:47:11 EST", "WatchdogTimestampMonotonic": "1087358622", "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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Wednesday 13 November 2024 11:47:37 -0500 (0:00:00.797) 0:01:23.475 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Wednesday 13 November 2024 11:47:37 -0500 (0:00:00.083) 0:01:23.558 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Wednesday 13 November 2024 11:47:37 -0500 (0:00:00.080) 0:01:23.638 **** changed: [managed-node1 -> localhost] => { "changed": true, "path": "ansible.Bcv1UE", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Wednesday 13 November 2024 11:47:37 -0500 (0:00:00.498) 0:01:24.137 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node1 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Wednesday 13 November 2024 11:47:38 -0500 (0:00:00.130) 0:01:24.268 **** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Wednesday 13 November 2024 11:47:39 -0500 (0:00:00.959) 0:01:25.227 **** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Wednesday 13 November 2024 11:47:39 -0500 (0:00:00.480) 0:01:25.708 **** ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Wednesday 13 November 2024 11:47:40 -0500 (0:00:01.091) 0:01:26.799 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 13 November 2024 11:47:40 -0500 (0:00:00.373) 0:01:27.173 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.154) 0:01:27.327 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.151) 0:01:27.479 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.135) 0:01:27.615 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.112) 0:01:27.728 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.124) 0:01:27.852 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.104) 0:01:27.957 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.111) 0:01:28.068 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 13 November 2024 11:47:41 -0500 (0:00:00.106) 0:01:28.175 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 13 November 2024 11:47:42 -0500 (0:00:00.286) 0:01:28.461 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:47:37 EST", "ActiveEnterTimestampMonotonic": "1113441316", "ActiveExitTimestamp": "Wed 2024-11-13 11:47:36 EST", "ActiveExitTimestampMonotonic": "1113221079", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:47:37 EST", "AssertTimestampMonotonic": "1113440563", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:47:37 EST", "ConditionTimestampMonotonic": "1113440561", "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": "6093", "ExecMainStartTimestamp": "Wed 2024-11-13 11:47:37 EST", "ExecMainStartTimestampMonotonic": "1113441250", "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": "Wed 2024-11-13 11:47:37 EST", "InactiveEnterTimestampMonotonic": "1113439514", "InactiveExitTimestamp": "Wed 2024-11-13 11:47:37 EST", "InactiveExitTimestampMonotonic": "1113441316", "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": "6093", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:47:37 EST", "WatchdogTimestampMonotonic": "1113441296", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 13 November 2024 11:47:43 -0500 (0:00:00.795) 0:01:29.257 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003066", "end": "2024-11-13 11:47:43.504405", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:47:43.501339" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 13 November 2024 11:47:43 -0500 (0:00:00.562) 0:01:29.819 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003238", "end": "2024-11-13 11:47:44.066913", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:47:44.063675" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 13 November 2024 11:47:44 -0500 (0:00:00.681) 0:01:30.500 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 13 November 2024 11:47:44 -0500 (0:00:00.134) 0:01:30.634 **** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 13 November 2024 11:47:46 -0500 (0:00:01.984) 0:01:32.619 **** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024368", "end": "2024-11-13 11:47:47.001928", "rc": 0, "start": "2024-11-13 11:47:46.977560" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 13 November 2024 11:47:47 -0500 (0:00:00.707) 0:01:33.326 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 13 November 2024 11:47:47 -0500 (0:00:00.116) 0:01:33.442 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 13 November 2024 11:47:47 -0500 (0:00:00.184) 0:01:33.627 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 13 November 2024 11:47:47 -0500 (0:00:00.126) 0:01:33.753 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 13 November 2024 11:47:47 -0500 (0:00:00.139) 0:01:33.892 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 13 November 2024 11:47:47 -0500 (0:00:00.122) 0:01:34.014 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 13 November 2024 11:47:47 -0500 (0:00:00.147) 0:01:34.162 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 13 November 2024 11:47:48 -0500 (0:00:00.124) 0:01:34.286 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 13 November 2024 11:47:48 -0500 (0:00:00.158) 0:01:34.445 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:47:48 -0500 (0:00:00.221) 0:01:34.666 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004238", "end": "2024-11-13 11:47:48.798636", "rc": 0, "start": "2024-11-13 11:47:48.794398" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Ct7yYr TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:47:48 -0500 (0:00:00.451) 0:01:35.117 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:47:49 -0500 (0:00:00.137) 0:01:35.255 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Ct7yYr] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:47:49 -0500 (0:00:00.121) 0:01:35.377 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 13 November 2024 11:47:49 -0500 (0:00:00.112) 0:01:35.490 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:47:49 -0500 (0:00:00.277) 0:01:35.768 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004436", "end": "2024-11-13 11:47:49.907820", "rc": 0, "start": "2024-11-13 11:47:49.903384" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Bcv1UE TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:47:50 -0500 (0:00:00.478) 0:01:36.247 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:47:50 -0500 (0:00:00.171) 0:01:36.418 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.Bcv1UE] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:47:50 -0500 (0:00:00.192) 0:01:36.611 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 13 November 2024 11:47:50 -0500 (0:00:00.205) 0:01:36.817 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:47:50 -0500 (0:00:00.328) 0:01:37.145 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004311", "end": "2024-11-13 11:47:51.446146", "rc": 0, "start": "2024-11-13 11:47:51.441835" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:47:51 -0500 (0:00:00.621) 0:01:37.767 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:47:51 -0500 (0:00:00.163) 0:01:37.930 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:47:51 -0500 (0:00:00.121) 0:01:38.052 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 13 November 2024 11:47:52 -0500 (0:00:00.159) 0:01:38.212 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:47:52 -0500 (0:00:00.227) 0:01:38.439 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004325", "end": "2024-11-13 11:47:52.568877", "rc": 0, "start": "2024-11-13 11:47:52.564552" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:47:52 -0500 (0:00:00.562) 0:01:39.001 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:47:52 -0500 (0:00:00.125) 0:01:39.127 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:47:53 -0500 (0:00:00.164) 0:01:39.292 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 13 November 2024 11:47:53 -0500 (0:00:00.106) 0:01:39.398 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Wednesday 13 November 2024 11:47:53 -0500 (0:00:00.196) 0:01:39.595 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 13 November 2024 11:47:53 -0500 (0:00:00.470) 0:01:40.066 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 13 November 2024 11:47:54 -0500 (0:00:00.185) 0:01:40.251 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 13 November 2024 11:47:54 -0500 (0:00:00.165) 0:01:40.417 **** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 13 November 2024 11:47:54 -0500 (0:00:00.201) 0:01:40.619 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 13 November 2024 11:47:54 -0500 (0:00:00.117) 0:01:40.736 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 13 November 2024 11:47:54 -0500 (0:00:00.111) 0:01:40.848 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 13 November 2024 11:47:54 -0500 (0:00:00.117) 0:01:40.965 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 13 November 2024 11:47:54 -0500 (0:00:00.174) 0:01:41.140 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 13 November 2024 11:47:55 -0500 (0:00:00.205) 0:01:41.346 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 13 November 2024 11:47:55 -0500 (0:00:00.226) 0:01:41.573 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Wednesday 13 November 2024 11:47:55 -0500 (0:00:00.156) 0:01:41.729 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Wednesday 13 November 2024 11:47:55 -0500 (0:00:00.133) 0:01:41.863 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Wednesday 13 November 2024 11:47:55 -0500 (0:00:00.189) 0:01:42.053 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Wednesday 13 November 2024 11:47:56 -0500 (0:00:00.213) 0:01:42.266 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Wednesday 13 November 2024 11:47:56 -0500 (0:00:00.207) 0:01:42.474 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 13 November 2024 11:47:56 -0500 (0:00:00.109) 0:01:42.583 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Wednesday 13 November 2024 11:47:56 -0500 (0:00:00.125) 0:01:42.709 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Wednesday 13 November 2024 11:47:56 -0500 (0:00:00.145) 0:01:42.854 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 13 November 2024 11:47:56 -0500 (0:00:00.155) 0:01:43.010 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Wednesday 13 November 2024 11:47:56 -0500 (0:00:00.136) 0:01:43.146 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wednesday 13 November 2024 11:47:57 -0500 (0:00:00.144) 0:01:43.291 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Wednesday 13 November 2024 11:47:58 -0500 (0:00:01.559) 0:01:44.850 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 13 November 2024 11:47:58 -0500 (0:00:00.253) 0:01:45.104 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Wednesday 13 November 2024 11:47:58 -0500 (0:00:00.071) 0:01:45.176 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Wednesday 13 November 2024 11:47:59 -0500 (0:00:00.183) 0:01:45.360 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 13 November 2024 11:47:59 -0500 (0:00:00.295) 0:01:45.655 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.739) 0:01:46.395 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.112) 0:01:46.507 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.116) 0:01:46.623 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.089) 0:01:46.713 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.077) 0:01:46.790 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.073) 0:01:46.864 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.074) 0:01:46.939 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.110) 0:01:47.050 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 13 November 2024 11:48:00 -0500 (0:00:00.109) 0:01:47.159 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 13 November 2024 11:48:01 -0500 (0:00:00.714) 0:01:47.874 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Wednesday 13 November 2024 11:48:02 -0500 (0:00:00.750) 0:01:48.624 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005352", "end": "2024-11-13 11:48:02.869109", "rc": 0, "start": "2024-11-13 11:48:02.863757" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Wednesday 13 November 2024 11:48:03 -0500 (0:00:00.562) 0:01:49.187 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Wednesday 13 November 2024 11:48:04 -0500 (0:00:01.172) 0:01:50.360 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Wednesday 13 November 2024 11:48:04 -0500 (0:00:00.152) 0:01:50.512 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Wednesday 13 November 2024 11:48:04 -0500 (0:00:00.106) 0:01:50.619 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Wednesday 13 November 2024 11:48:04 -0500 (0:00:00.114) 0:01:50.733 **** skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Wednesday 13 November 2024 11:48:04 -0500 (0:00:00.198) 0:01:50.932 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Wednesday 13 November 2024 11:48:04 -0500 (0:00:00.209) 0:01:51.142 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Wednesday 13 November 2024 11:48:05 -0500 (0:00:00.161) 0:01:51.303 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Wednesday 13 November 2024 11:48:06 -0500 (0:00:00.896) 0:01:52.200 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:29:30 EST", "ActiveEnterTimestampMonotonic": "26615787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target systemd-sysctl.service dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:29:28 EST", "AssertTimestampMonotonic": "24670252", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:29:28 EST", "ConditionTimestampMonotonic": "24670251", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Wed 2024-11-13 11:29:28 EST", "ExecMainStartTimestampMonotonic": "24671578", "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": "Wed 2024-11-13 11:29:28 EST", "InactiveExitTimestampMonotonic": "24671623", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service 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": "Wed 2024-11-13 11:29:30 EST", "WatchdogTimestampMonotonic": "26615611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Wednesday 13 November 2024 11:48:06 -0500 (0:00:00.817) 0:01:53.018 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.089297", "end": "2024-11-13 11:48:07.303386", "rc": 0, "start": "2024-11-13 11:48:07.214089" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 13 November 2024 11:48:07 -0500 (0:00:00.658) 0:01:53.676 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Wednesday 13 November 2024 11:48:07 -0500 (0:00:00.131) 0:01:53.808 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Wednesday 13 November 2024 11:48:07 -0500 (0:00:00.118) 0:01:53.926 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Wednesday 13 November 2024 11:48:07 -0500 (0:00:00.103) 0:01:54.030 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 13 November 2024 11:48:08 -0500 (0:00:00.447) 0:01:54.478 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 13 November 2024 11:48:08 -0500 (0:00:00.089) 0:01:54.567 **** ok: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Wednesday 13 November 2024 11:48:09 -0500 (0:00:00.874) 0:01:55.441 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Wednesday 13 November 2024 11:48:09 -0500 (0:00:00.129) 0:01:55.571 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Wednesday 13 November 2024 11:48:09 -0500 (0:00:00.134) 0:01:55.705 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Wednesday 13 November 2024 11:48:09 -0500 (0:00:00.117) 0:01:55.822 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Wednesday 13 November 2024 11:48:09 -0500 (0:00:00.115) 0:01:55.937 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Wednesday 13 November 2024 11:48:09 -0500 (0:00:00.117) 0:01:56.055 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Wednesday 13 November 2024 11:48:10 -0500 (0:00:00.160) 0:01:56.215 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Wednesday 13 November 2024 11:48:10 -0500 (0:00:00.127) 0:01:56.343 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Wednesday 13 November 2024 11:48:10 -0500 (0:00:00.117) 0:01:56.460 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004998", "end": "2024-11-13 11:48:10.575075", "rc": 0, "start": "2024-11-13 11:48:10.570077" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Wednesday 13 November 2024 11:48:10 -0500 (0:00:00.441) 0:01:56.901 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Wednesday 13 November 2024 11:48:10 -0500 (0:00:00.120) 0:01:57.022 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 13 November 2024 11:48:12 -0500 (0:00:01.554) 0:01:58.577 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Wednesday 13 November 2024 11:48:12 -0500 (0:00:00.218) 0:01:58.795 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Wednesday 13 November 2024 11:48:12 -0500 (0:00:00.105) 0:01:58.901 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Wednesday 13 November 2024 11:48:12 -0500 (0:00:00.091) 0:01:58.992 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 13 November 2024 11:48:12 -0500 (0:00:00.085) 0:01:59.078 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:48:13 -0500 (0:00:00.181) 0:01:59.260 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003098", "end": "2024-11-13 11:48:13.468606", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:48:13.465508" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:48:13 -0500 (0:00:00.496) 0:01:59.757 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.125108", "end": "2024-11-13 11:48:14.080517", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:13.955409" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.617) 0:02:00.374 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.128) 0:02:00.502 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.088) 0:02:00.591 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.092) 0:02:00.683 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.075) 0:02:00.759 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.095) 0:02:00.855 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.139) 0:02:00.994 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 13 November 2024 11:48:14 -0500 (0:00:00.146) 0:02:01.141 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Wednesday 13 November 2024 11:48:15 -0500 (0:00:00.156) 0:02:01.297 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 13 November 2024 11:48:15 -0500 (0:00:00.213) 0:02:01.511 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 13 November 2024 11:48:15 -0500 (0:00:00.251) 0:02:01.763 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 13 November 2024 11:48:15 -0500 (0:00:00.119) 0:02:01.882 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Wednesday 13 November 2024 11:48:15 -0500 (0:00:00.118) 0:02:02.000 **** skipping: [managed-node1] => (item=/tmp/ansible.Ct7yYr) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Ct7yYr", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.Bcv1UE) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.Bcv1UE", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 13 November 2024 11:48:15 -0500 (0:00:00.138) 0:02:02.138 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:48:16 -0500 (0:00:00.183) 0:02:02.322 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003281", "end": "2024-11-13 11:48:16.415235", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:16.411954" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Ct7yYr TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:48:16 -0500 (0:00:00.378) 0:02:02.700 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:48:16 -0500 (0:00:00.123) 0:02:02.824 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.119699", "end": "2024-11-13 11:48:17.116388", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:16.996689" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 13 November 2024 11:48:17 -0500 (0:00:00.651) 0:02:03.475 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:48:17 -0500 (0:00:00.264) 0:02:03.740 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003820", "end": "2024-11-13 11:48:17.845518", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:17.841698" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Bcv1UE TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:48:17 -0500 (0:00:00.429) 0:02:04.170 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:48:18 -0500 (0:00:00.127) 0:02:04.297 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.121213", "end": "2024-11-13 11:48:18.535486", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:18.414273" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 13 November 2024 11:48:18 -0500 (0:00:00.702) 0:02:04.999 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:48:19 -0500 (0:00:00.354) 0:02:05.354 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003266", "end": "2024-11-13 11:48:19.482418", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:19.479152" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:48:19 -0500 (0:00:00.468) 0:02:05.822 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:48:19 -0500 (0:00:00.146) 0:02:05.969 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.120949", "end": "2024-11-13 11:48:20.357993", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:20.237044" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Wednesday 13 November 2024 11:48:20 -0500 (0:00:00.713) 0:02:06.682 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:48:20 -0500 (0:00:00.232) 0:02:06.915 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003951", "end": "2024-11-13 11:48:21.040771", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:21.036820" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:48:21 -0500 (0:00:00.501) 0:02:07.416 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:48:21 -0500 (0:00:00.208) 0:02:07.625 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.121960", "end": "2024-11-13 11:48:21.927873", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:48:21.805913" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Wednesday 13 November 2024 11:48:22 -0500 (0:00:00.619) 0:02:08.244 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Wednesday 13 November 2024 11:48:22 -0500 (0:00:00.090) 0:02:08.335 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Wednesday 13 November 2024 11:48:22 -0500 (0:00:00.076) 0:02:08.411 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 13 November 2024 11:48:22 -0500 (0:00:00.104) 0:02:08.516 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Wednesday 13 November 2024 11:48:22 -0500 (0:00:00.138) 0:02:08.654 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 13 November 2024 11:48:22 -0500 (0:00:00.233) 0:02:08.887 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Wednesday 13 November 2024 11:48:22 -0500 (0:00:00.182) 0:02:09.070 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Wednesday 13 November 2024 11:48:23 -0500 (0:00:00.250) 0:02:09.320 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 13 November 2024 11:48:23 -0500 (0:00:00.147) 0:02:09.468 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Wednesday 13 November 2024 11:48:23 -0500 (0:00:00.117) 0:02:09.585 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Wednesday 13 November 2024 11:48:23 -0500 (0:00:00.115) 0:02:09.701 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Wednesday 13 November 2024 11:48:23 -0500 (0:00:00.128) 0:02:09.829 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Wednesday 13 November 2024 11:48:23 -0500 (0:00:00.127) 0:02:09.957 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Wednesday 13 November 2024 11:48:23 -0500 (0:00:00.112) 0:02:10.070 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.127) 0:02:10.197 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.138) 0:02:10.336 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.127) 0:02:10.463 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.131) 0:02:10.595 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.141) 0:02:10.737 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.124) 0:02:10.861 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.110) 0:02:10.971 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Wednesday 13 November 2024 11:48:24 -0500 (0:00:00.165) 0:02:11.136 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Wednesday 13 November 2024 11:48:25 -0500 (0:00:00.168) 0:02:11.305 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Wednesday 13 November 2024 11:48:25 -0500 (0:00:00.192) 0:02:11.497 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Wednesday 13 November 2024 11:48:25 -0500 (0:00:00.218) 0:02:11.716 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 13 November 2024 11:48:25 -0500 (0:00:00.196) 0:02:11.913 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.280) 0:02:12.193 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.162) 0:02:12.355 **** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.144) 0:02:12.499 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.114) 0:02:12.614 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.121) 0:02:12.736 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.142) 0:02:12.878 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.129) 0:02:13.008 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 13 November 2024 11:48:26 -0500 (0:00:00.137) 0:02:13.145 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Wednesday 13 November 2024 11:48:27 -0500 (0:00:00.157) 0:02:13.303 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Wednesday 13 November 2024 11:48:27 -0500 (0:00:00.154) 0:02:13.458 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Wednesday 13 November 2024 11:48:27 -0500 (0:00:00.169) 0:02:13.627 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Wednesday 13 November 2024 11:48:27 -0500 (0:00:00.132) 0:02:13.760 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 13 November 2024 11:48:27 -0500 (0:00:00.114) 0:02:13.874 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 13 November 2024 11:48:27 -0500 (0:00:00.116) 0:02:13.991 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Wednesday 13 November 2024 11:48:27 -0500 (0:00:00.120) 0:02:14.112 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 13 November 2024 11:48:28 -0500 (0:00:00.173) 0:02:14.285 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Wednesday 13 November 2024 11:48:28 -0500 (0:00:00.196) 0:02:14.481 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Wednesday 13 November 2024 11:48:28 -0500 (0:00:00.166) 0:02:14.648 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Wednesday 13 November 2024 11:48:28 -0500 (0:00:00.163) 0:02:14.812 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Wednesday 13 November 2024 11:48:28 -0500 (0:00:00.216) 0:02:15.028 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Wednesday 13 November 2024 11:48:28 -0500 (0:00:00.112) 0:02:15.141 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Wednesday 13 November 2024 11:48:29 -0500 (0:00:00.116) 0:02:15.257 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Wednesday 13 November 2024 11:48:29 -0500 (0:00:00.210) 0:02:15.468 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Wednesday 13 November 2024 11:48:29 -0500 (0:00:00.162) 0:02:15.630 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Wednesday 13 November 2024 11:48:29 -0500 (0:00:00.135) 0:02:15.766 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Wednesday 13 November 2024 11:48:29 -0500 (0:00:00.107) 0:02:15.874 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Wednesday 13 November 2024 11:48:29 -0500 (0:00:00.128) 0:02:16.002 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Wednesday 13 November 2024 11:48:29 -0500 (0:00:00.148) 0:02:16.151 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 13 November 2024 11:48:31 -0500 (0:00:01.048) 0:02:17.200 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:47:37 EST", "ActiveEnterTimestampMonotonic": "1113441316", "ActiveExitTimestamp": "Wed 2024-11-13 11:47:36 EST", "ActiveExitTimestampMonotonic": "1113221079", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:47:37 EST", "AssertTimestampMonotonic": "1113440563", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:47:37 EST", "ConditionTimestampMonotonic": "1113440561", "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": "6093", "ExecMainStartTimestamp": "Wed 2024-11-13 11:47:37 EST", "ExecMainStartTimestampMonotonic": "1113441250", "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": "Wed 2024-11-13 11:47:37 EST", "InactiveEnterTimestampMonotonic": "1113439514", "InactiveExitTimestamp": "Wed 2024-11-13 11:47:37 EST", "InactiveExitTimestampMonotonic": "1113441316", "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": "6093", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:47:37 EST", "WatchdogTimestampMonotonic": "1113441296", "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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Wednesday 13 November 2024 11:48:31 -0500 (0:00:00.889) 0:02:18.090 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Wednesday 13 November 2024 11:48:32 -0500 (0:00:00.109) 0:02:18.199 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Wednesday 13 November 2024 11:48:32 -0500 (0:00:00.115) 0:02:18.315 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 13 November 2024 11:48:32 -0500 (0:00:00.733) 0:02:19.048 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.163) 0:02:19.211 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.154) 0:02:19.366 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.130) 0:02:19.496 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.153) 0:02:19.650 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.131) 0:02:19.782 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.138) 0:02:19.921 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.138) 0:02:20.060 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 13 November 2024 11:48:33 -0500 (0:00:00.110) 0:02:20.170 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 13 November 2024 11:48:34 -0500 (0:00:00.260) 0:02:20.431 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:48:31 EST", "ActiveEnterTimestampMonotonic": "1168038495", "ActiveExitTimestamp": "Wed 2024-11-13 11:48:31 EST", "ActiveExitTimestampMonotonic": "1167821219", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:48:31 EST", "AssertTimestampMonotonic": "1168037647", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:48:31 EST", "ConditionTimestampMonotonic": "1168037645", "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": "8306", "ExecMainStartTimestamp": "Wed 2024-11-13 11:48:31 EST", "ExecMainStartTimestampMonotonic": "1168038415", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:48:31 EST] ; stop_time=[n/a] ; pid=8306 ; 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": "Wed 2024-11-13 11:48:31 EST", "InactiveEnterTimestampMonotonic": "1168035919", "InactiveExitTimestamp": "Wed 2024-11-13 11:48:31 EST", "InactiveExitTimestampMonotonic": "1168038495", "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": "8306", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:48:31 EST", "WatchdogTimestampMonotonic": "1168038471", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 13 November 2024 11:48:35 -0500 (0:00:01.240) 0:02:21.672 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003151", "end": "2024-11-13 11:48:35.934461", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:48:35.931310" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 13 November 2024 11:48:36 -0500 (0:00:00.581) 0:02:22.253 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003172", "end": "2024-11-13 11:48:36.379539", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:48:36.376367" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 13 November 2024 11:48:36 -0500 (0:00:00.611) 0:02:22.864 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 13 November 2024 11:48:36 -0500 (0:00:00.165) 0:02:23.030 **** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 13 November 2024 11:48:38 -0500 (0:00:01.876) 0:02:24.906 **** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023844", "end": "2024-11-13 11:48:39.322649", "rc": 0, "start": "2024-11-13 11:48:39.298805" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 13 November 2024 11:48:39 -0500 (0:00:00.902) 0:02:25.809 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 13 November 2024 11:48:39 -0500 (0:00:00.187) 0:02:25.996 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 13 November 2024 11:48:39 -0500 (0:00:00.114) 0:02:26.111 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 13 November 2024 11:48:40 -0500 (0:00:00.132) 0:02:26.244 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 13 November 2024 11:48:40 -0500 (0:00:00.126) 0:02:26.370 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 13 November 2024 11:48:40 -0500 (0:00:00.206) 0:02:26.577 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 13 November 2024 11:48:40 -0500 (0:00:00.208) 0:02:26.785 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 13 November 2024 11:48:40 -0500 (0:00:00.190) 0:02:26.975 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 13 November 2024 11:48:40 -0500 (0:00:00.112) 0:02:27.088 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:48:41 -0500 (0:00:00.226) 0:02:27.315 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004210", "end": "2024-11-13 11:48:41.657113", "rc": 0, "start": "2024-11-13 11:48:41.652903" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:48:41 -0500 (0:00:00.776) 0:02:28.092 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:48:42 -0500 (0:00:00.248) 0:02:28.340 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:48:42 -0500 (0:00:00.244) 0:02:28.585 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 13 November 2024 11:48:42 -0500 (0:00:00.166) 0:02:28.752 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:48:42 -0500 (0:00:00.275) 0:02:29.027 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004808", "end": "2024-11-13 11:48:43.260291", "rc": 0, "start": "2024-11-13 11:48:43.255483" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:48:43 -0500 (0:00:00.571) 0:02:29.599 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:48:43 -0500 (0:00:00.146) 0:02:29.746 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:48:43 -0500 (0:00:00.133) 0:02:29.879 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 13 November 2024 11:48:43 -0500 (0:00:00.184) 0:02:30.064 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:48:44 -0500 (0:00:00.232) 0:02:30.296 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004306", "end": "2024-11-13 11:48:44.570809", "rc": 0, "start": "2024-11-13 11:48:44.566503" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:48:44 -0500 (0:00:00.613) 0:02:30.909 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:48:44 -0500 (0:00:00.136) 0:02:31.046 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:48:44 -0500 (0:00:00.126) 0:02:31.172 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 13 November 2024 11:48:45 -0500 (0:00:00.124) 0:02:31.297 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:48:45 -0500 (0:00:00.271) 0:02:31.568 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004374", "end": "2024-11-13 11:48:45.737289", "rc": 0, "start": "2024-11-13 11:48:45.732915" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:48:45 -0500 (0:00:00.463) 0:02:32.032 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:48:45 -0500 (0:00:00.131) 0:02:32.163 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:48:46 -0500 (0:00:00.237) 0:02:32.401 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 13 November 2024 11:48:46 -0500 (0:00:00.220) 0:02:32.622 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Wednesday 13 November 2024 11:48:46 -0500 (0:00:00.263) 0:02:32.885 **** changed: [managed-node1] => (item=/etc/pki/tls/certs/ansible.Ct7yYr) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.Ct7yYr", "path": "/etc/pki/tls/certs/ansible.Ct7yYr", "state": "absent" } changed: [managed-node1] => (item=/etc/pki/tls/private/ansible.Bcv1UE) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.Bcv1UE", "path": "/etc/pki/tls/private/ansible.Bcv1UE", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Wednesday 13 November 2024 11:48:47 -0500 (0:00:00.996) 0:02:33.882 **** ok: [managed-node1] => (item=/tmp/ansible.Ct7yYr) => { "ansible_loop_var": "item", "changed": false, "checksum": "cdbf135923461a0c62fb6c56e2c6406c9cc555a1", "dest": "/tmp/ansible.Ct7yYr", "gid": 0, "group": "root", "item": "/tmp/ansible.Ct7yYr", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Ct7yYr", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed-node1] => (item=/tmp/ansible.Bcv1UE) => { "ansible_loop_var": "item", "changed": false, "checksum": "52c030a785ced72a6549f64ce7bcd9b2c35d4e08", "dest": "/tmp/ansible.Bcv1UE", "gid": 0, "group": "root", "item": "/tmp/ansible.Bcv1UE", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Bcv1UE", "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-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Wednesday 13 November 2024 11:48:49 -0500 (0:00:01.391) 0:02:35.273 **** ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.Ct7yYr", "mssql_tls_private_key": "ansible.Bcv1UE" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Wednesday 13 November 2024 11:48:49 -0500 (0:00:00.099) 0:02:35.373 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 13 November 2024 11:48:50 -0500 (0:00:01.052) 0:02:36.425 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 13 November 2024 11:48:50 -0500 (0:00:00.195) 0:02:36.620 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 13 November 2024 11:48:50 -0500 (0:00:00.333) 0:02:36.954 **** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.251) 0:02:37.205 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.133) 0:02:37.339 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.109) 0:02:37.449 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.145) 0:02:37.594 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.167) 0:02:37.762 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.133) 0:02:37.895 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.116) 0:02:38.012 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Wednesday 13 November 2024 11:48:51 -0500 (0:00:00.110) 0:02:38.122 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.119) 0:02:38.241 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.101) 0:02:38.343 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.096) 0:02:38.439 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.127) 0:02:38.566 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.140) 0:02:38.707 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.121) 0:02:38.828 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.147) 0:02:38.976 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 13 November 2024 11:48:52 -0500 (0:00:00.106) 0:02:39.082 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Wednesday 13 November 2024 11:48:53 -0500 (0:00:00.169) 0:02:39.251 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wednesday 13 November 2024 11:48:53 -0500 (0:00:00.111) 0:02:39.363 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Wednesday 13 November 2024 11:48:54 -0500 (0:00:01.551) 0:02:40.914 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 13 November 2024 11:48:55 -0500 (0:00:00.314) 0:02:41.228 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Wednesday 13 November 2024 11:48:55 -0500 (0:00:00.156) 0:02:41.385 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Wednesday 13 November 2024 11:48:55 -0500 (0:00:00.148) 0:02:41.534 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 13 November 2024 11:48:55 -0500 (0:00:00.234) 0:02:41.769 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 13 November 2024 11:48:56 -0500 (0:00:00.581) 0:02:42.351 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Wednesday 13 November 2024 11:48:56 -0500 (0:00:00.107) 0:02:42.458 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 13 November 2024 11:48:56 -0500 (0:00:00.079) 0:02:42.538 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Wednesday 13 November 2024 11:48:56 -0500 (0:00:00.122) 0:02:42.660 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 13 November 2024 11:48:56 -0500 (0:00:00.122) 0:02:42.782 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Wednesday 13 November 2024 11:48:56 -0500 (0:00:00.155) 0:02:42.938 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Wednesday 13 November 2024 11:48:57 -0500 (0:00:00.241) 0:02:43.179 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 13 November 2024 11:48:57 -0500 (0:00:00.156) 0:02:43.336 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 13 November 2024 11:48:57 -0500 (0:00:00.113) 0:02:43.450 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 13 November 2024 11:48:58 -0500 (0:00:00.845) 0:02:44.295 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Wednesday 13 November 2024 11:48:58 -0500 (0:00:00.625) 0:02:44.921 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005193", "end": "2024-11-13 11:48:59.043628", "rc": 0, "start": "2024-11-13 11:48:59.038435" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Wednesday 13 November 2024 11:48:59 -0500 (0:00:00.474) 0:02:45.395 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Wednesday 13 November 2024 11:49:00 -0500 (0:00:00.975) 0:02:46.371 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Wednesday 13 November 2024 11:49:00 -0500 (0:00:00.216) 0:02:46.588 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Wednesday 13 November 2024 11:49:00 -0500 (0:00:00.187) 0:02:46.775 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Wednesday 13 November 2024 11:49:00 -0500 (0:00:00.155) 0:02:46.930 **** skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Wednesday 13 November 2024 11:49:00 -0500 (0:00:00.185) 0:02:47.116 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Wednesday 13 November 2024 11:49:01 -0500 (0:00:00.122) 0:02:47.239 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Wednesday 13 November 2024 11:49:01 -0500 (0:00:00.192) 0:02:47.431 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Wednesday 13 November 2024 11:49:01 -0500 (0:00:00.743) 0:02:48.174 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:29:30 EST", "ActiveEnterTimestampMonotonic": "26615787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target systemd-sysctl.service dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:29:28 EST", "AssertTimestampMonotonic": "24670252", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:29:28 EST", "ConditionTimestampMonotonic": "24670251", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Wed 2024-11-13 11:29:28 EST", "ExecMainStartTimestampMonotonic": "24671578", "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": "Wed 2024-11-13 11:29:28 EST", "InactiveExitTimestampMonotonic": "24671623", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service 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": "Wed 2024-11-13 11:29:30 EST", "WatchdogTimestampMonotonic": "26615611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Wednesday 13 November 2024 11:49:02 -0500 (0:00:00.856) 0:02:49.031 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087888", "end": "2024-11-13 11:49:03.243689", "rc": 0, "start": "2024-11-13 11:49:03.155801" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 13 November 2024 11:49:03 -0500 (0:00:00.540) 0:02:49.571 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Wednesday 13 November 2024 11:49:03 -0500 (0:00:00.129) 0:02:49.701 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Wednesday 13 November 2024 11:49:03 -0500 (0:00:00.123) 0:02:49.824 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Wednesday 13 November 2024 11:49:03 -0500 (0:00:00.141) 0:02:49.966 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 13 November 2024 11:49:04 -0500 (0:00:00.448) 0:02:50.415 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 13 November 2024 11:49:04 -0500 (0:00:00.114) 0:02:50.529 **** ok: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.683) 0:02:51.213 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.117) 0:02:51.331 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.117) 0:02:51.448 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.118) 0:02:51.567 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.119) 0:02:51.686 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.225) 0:02:51.912 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.130) 0:02:52.042 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Wednesday 13 November 2024 11:49:05 -0500 (0:00:00.095) 0:02:52.138 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Wednesday 13 November 2024 11:49:06 -0500 (0:00:00.081) 0:02:52.220 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005999", "end": "2024-11-13 11:49:06.310008", "rc": 0, "start": "2024-11-13 11:49:06.304009" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Wednesday 13 November 2024 11:49:06 -0500 (0:00:00.371) 0:02:52.591 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Wednesday 13 November 2024 11:49:06 -0500 (0:00:00.081) 0:02:52.672 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 13 November 2024 11:49:08 -0500 (0:00:01.527) 0:02:54.200 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Wednesday 13 November 2024 11:49:08 -0500 (0:00:00.174) 0:02:54.374 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Wednesday 13 November 2024 11:49:08 -0500 (0:00:00.115) 0:02:54.489 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Wednesday 13 November 2024 11:49:08 -0500 (0:00:00.122) 0:02:54.612 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 13 November 2024 11:49:08 -0500 (0:00:00.123) 0:02:54.736 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:49:08 -0500 (0:00:00.386) 0:02:55.122 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003438", "end": "2024-11-13 11:49:09.312509", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:49:09.309071" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:49:09 -0500 (0:00:00.677) 0:02:55.800 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118489", "end": "2024-11-13 11:49:10.290637", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:49:10.172148" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:49:10 -0500 (0:00:00.833) 0:02:56.634 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Wednesday 13 November 2024 11:49:10 -0500 (0:00:00.126) 0:02:56.760 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Wednesday 13 November 2024 11:49:10 -0500 (0:00:00.167) 0:02:56.928 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Wednesday 13 November 2024 11:49:10 -0500 (0:00:00.134) 0:02:57.062 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.115) 0:02:57.178 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.157) 0:02:57.336 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.133) 0:02:57.469 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.116) 0:02:57.586 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.112) 0:02:57.698 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.115) 0:02:57.814 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.138) 0:02:57.953 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 13 November 2024 11:49:11 -0500 (0:00:00.152) 0:02:58.106 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Wednesday 13 November 2024 11:49:12 -0500 (0:00:00.156) 0:02:58.262 **** changed: [managed-node1] => (item=/tmp/ansible.Ct7yYr) => { "ansible_loop_var": "item", "changed": true, "checksum": "cdbf135923461a0c62fb6c56e2c6406c9cc555a1", "dest": "/etc/pki/tls/certs/ansible.Ct7yYr", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Ct7yYr", "md5sum": "7a1901be93ccd9d323f6467609a067ea", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.Ct7yYr", "state": "file", "uid": 996 } changed: [managed-node1] => (item=/tmp/ansible.Bcv1UE) => { "ansible_loop_var": "item", "changed": true, "checksum": "52c030a785ced72a6549f64ce7bcd9b2c35d4e08", "dest": "/etc/pki/tls/private/ansible.Bcv1UE", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Bcv1UE", "md5sum": "1f94ed900a5d6004e8dd24e3176e3d91", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.Bcv1UE", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 13 November 2024 11:49:13 -0500 (0:00:00.984) 0:02:59.247 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:49:13 -0500 (0:00:00.334) 0:02:59.581 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003150", "end": "2024-11-13 11:49:13.923655", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:49:13.920505" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:49:14 -0500 (0:00:00.800) 0:03:00.381 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.Ct7yYr" ], "delta": "0:00:00.120287", "end": "2024-11-13 11:49:14.816689", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:49:14.696402" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:49:15 -0500 (0:00:00.842) 0:03:01.224 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 13 November 2024 11:49:15 -0500 (0:00:00.189) 0:03:01.413 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:49:15 -0500 (0:00:00.343) 0:03:01.757 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003184", "end": "2024-11-13 11:49:15.959708", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:49:15.956524" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:49:16 -0500 (0:00:00.587) 0:03:02.344 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.Bcv1UE" ], "delta": "0:00:00.119703", "end": "2024-11-13 11:49:16.661920", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:49:16.542217" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:49:16 -0500 (0:00:00.763) 0:03:03.108 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 13 November 2024 11:49:17 -0500 (0:00:00.145) 0:03:03.253 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:49:17 -0500 (0:00:00.250) 0:03:03.503 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003220", "end": "2024-11-13 11:49:17.846928", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:49:17.843708" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:49:18 -0500 (0:00:00.686) 0:03:04.189 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.123606", "end": "2024-11-13 11:49:18.519063", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:49:18.395457" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:49:18 -0500 (0:00:00.689) 0:03:04.879 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Wednesday 13 November 2024 11:49:18 -0500 (0:00:00.136) 0:03:05.015 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:49:19 -0500 (0:00:00.356) 0:03:05.371 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003285", "end": "2024-11-13 11:49:19.729486", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:49:19.726201" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:49:19 -0500 (0:00:00.656) 0:03:06.028 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.121451", "end": "2024-11-13 11:49:20.310455", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:49:20.189004" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:49:20 -0500 (0:00:00.637) 0:03:06.666 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Wednesday 13 November 2024 11:49:20 -0500 (0:00:00.130) 0:03:06.797 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Wednesday 13 November 2024 11:49:20 -0500 (0:00:00.178) 0:03:06.975 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Wednesday 13 November 2024 11:49:20 -0500 (0:00:00.128) 0:03:07.104 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.131) 0:03:07.235 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.129) 0:03:07.365 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.118) 0:03:07.483 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.125) 0:03:07.609 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.128) 0:03:07.737 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.121) 0:03:07.859 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.124) 0:03:07.984 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Wednesday 13 November 2024 11:49:21 -0500 (0:00:00.140) 0:03:08.124 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Wednesday 13 November 2024 11:49:22 -0500 (0:00:00.120) 0:03:08.245 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Wednesday 13 November 2024 11:49:22 -0500 (0:00:00.183) 0:03:08.429 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Wednesday 13 November 2024 11:49:22 -0500 (0:00:00.140) 0:03:08.569 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Wednesday 13 November 2024 11:49:22 -0500 (0:00:00.340) 0:03:08.910 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Wednesday 13 November 2024 11:49:22 -0500 (0:00:00.133) 0:03:09.043 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Wednesday 13 November 2024 11:49:23 -0500 (0:00:00.168) 0:03:09.212 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Wednesday 13 November 2024 11:49:23 -0500 (0:00:00.127) 0:03:09.339 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Wednesday 13 November 2024 11:49:23 -0500 (0:00:00.118) 0:03:09.458 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Wednesday 13 November 2024 11:49:23 -0500 (0:00:00.124) 0:03:09.583 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Wednesday 13 November 2024 11:49:23 -0500 (0:00:00.213) 0:03:09.797 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Wednesday 13 November 2024 11:49:23 -0500 (0:00:00.150) 0:03:09.947 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Wednesday 13 November 2024 11:49:23 -0500 (0:00:00.156) 0:03:10.104 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.129) 0:03:10.233 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.095) 0:03:10.329 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.087) 0:03:10.416 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.107) 0:03:10.524 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.116) 0:03:10.641 **** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.153) 0:03:10.795 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.171) 0:03:10.966 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Wednesday 13 November 2024 11:49:24 -0500 (0:00:00.116) 0:03:11.083 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.127) 0:03:11.211 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.094) 0:03:11.305 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.242) 0:03:11.548 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.115) 0:03:11.664 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.103) 0:03:11.767 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.105) 0:03:11.873 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.092) 0:03:11.965 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 13 November 2024 11:49:25 -0500 (0:00:00.208) 0:03:12.173 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.155) 0:03:12.329 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.105) 0:03:12.434 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.112) 0:03:12.547 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.084) 0:03:12.631 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.119) 0:03:12.750 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.138) 0:03:12.889 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.099) 0:03:12.988 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.086) 0:03:13.075 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Wednesday 13 November 2024 11:49:26 -0500 (0:00:00.070) 0:03:13.146 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Wednesday 13 November 2024 11:49:27 -0500 (0:00:00.076) 0:03:13.223 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Wednesday 13 November 2024 11:49:27 -0500 (0:00:00.082) 0:03:13.305 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Wednesday 13 November 2024 11:49:27 -0500 (0:00:00.092) 0:03:13.398 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Wednesday 13 November 2024 11:49:27 -0500 (0:00:00.107) 0:03:13.506 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Wednesday 13 November 2024 11:49:27 -0500 (0:00:00.191) 0:03:13.697 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Wednesday 13 November 2024 11:49:27 -0500 (0:00:00.109) 0:03:13.807 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 13 November 2024 11:49:28 -0500 (0:00:00.556) 0:03:14.364 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:48:31 EST", "ActiveEnterTimestampMonotonic": "1168038495", "ActiveExitTimestamp": "Wed 2024-11-13 11:48:31 EST", "ActiveExitTimestampMonotonic": "1167821219", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:48:31 EST", "AssertTimestampMonotonic": "1168037647", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:48:31 EST", "ConditionTimestampMonotonic": "1168037645", "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": "8306", "ExecMainStartTimestamp": "Wed 2024-11-13 11:48:31 EST", "ExecMainStartTimestampMonotonic": "1168038415", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:48:31 EST] ; stop_time=[n/a] ; pid=8306 ; 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": "Wed 2024-11-13 11:48:31 EST", "InactiveEnterTimestampMonotonic": "1168035919", "InactiveExitTimestamp": "Wed 2024-11-13 11:48:31 EST", "InactiveExitTimestampMonotonic": "1168038495", "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": "8306", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:48:31 EST", "WatchdogTimestampMonotonic": "1168038471", "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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Wednesday 13 November 2024 11:49:30 -0500 (0:00:01.976) 0:03:16.340 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Wednesday 13 November 2024 11:49:30 -0500 (0:00:00.109) 0:03:16.449 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Wednesday 13 November 2024 11:49:30 -0500 (0:00:00.125) 0:03:16.575 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 13 November 2024 11:49:31 -0500 (0:00:00.685) 0:03:17.261 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 13 November 2024 11:49:31 -0500 (0:00:00.141) 0:03:17.402 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 13 November 2024 11:49:31 -0500 (0:00:00.116) 0:03:17.519 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 13 November 2024 11:49:31 -0500 (0:00:00.123) 0:03:17.643 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 13 November 2024 11:49:31 -0500 (0:00:00.241) 0:03:17.884 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 13 November 2024 11:49:31 -0500 (0:00:00.123) 0:03:18.008 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 13 November 2024 11:49:31 -0500 (0:00:00.119) 0:03:18.128 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 13 November 2024 11:49:32 -0500 (0:00:00.126) 0:03:18.255 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 13 November 2024 11:49:32 -0500 (0:00:00.119) 0:03:18.374 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 13 November 2024 11:49:32 -0500 (0:00:00.223) 0:03:18.598 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:49:29 EST", "ActiveEnterTimestampMonotonic": "1226282331", "ActiveExitTimestamp": "Wed 2024-11-13 11:49:28 EST", "ActiveExitTimestampMonotonic": "1225052071", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:49:29 EST", "AssertTimestampMonotonic": "1226281686", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:49:29 EST", "ConditionTimestampMonotonic": "1226281684", "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": "10697", "ExecMainStartTimestamp": "Wed 2024-11-13 11:49:29 EST", "ExecMainStartTimestampMonotonic": "1226282263", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:49:29 EST] ; stop_time=[n/a] ; pid=10697 ; 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": "Wed 2024-11-13 11:49:29 EST", "InactiveEnterTimestampMonotonic": "1226280823", "InactiveExitTimestamp": "Wed 2024-11-13 11:49:29 EST", "InactiveExitTimestampMonotonic": "1226282331", "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": "10697", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:49:29 EST", "WatchdogTimestampMonotonic": "1226282310", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 13 November 2024 11:49:33 -0500 (0:00:01.438) 0:03:20.036 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003051", "end": "2024-11-13 11:49:34.258198", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:49:34.255147" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 13 November 2024 11:49:34 -0500 (0:00:00.522) 0:03:20.559 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003036", "end": "2024-11-13 11:49:34.644358", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:49:34.641322" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 13 November 2024 11:49:34 -0500 (0:00:00.360) 0:03:20.919 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 13 November 2024 11:49:34 -0500 (0:00:00.089) 0:03:21.009 **** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 13 November 2024 11:49:36 -0500 (0:00:01.400) 0:03:22.409 **** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024615", "end": "2024-11-13 11:49:36.581010", "rc": 0, "start": "2024-11-13 11:49:36.556395" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 13 November 2024 11:49:36 -0500 (0:00:00.488) 0:03:22.897 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 13 November 2024 11:49:36 -0500 (0:00:00.083) 0:03:22.981 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 13 November 2024 11:49:36 -0500 (0:00:00.076) 0:03:23.057 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 13 November 2024 11:49:36 -0500 (0:00:00.089) 0:03:23.147 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 13 November 2024 11:49:37 -0500 (0:00:00.116) 0:03:23.264 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 13 November 2024 11:49:37 -0500 (0:00:00.113) 0:03:23.377 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 13 November 2024 11:49:37 -0500 (0:00:00.116) 0:03:23.494 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 13 November 2024 11:49:37 -0500 (0:00:00.124) 0:03:23.618 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 13 November 2024 11:49:37 -0500 (0:00:00.115) 0:03:23.734 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:49:37 -0500 (0:00:00.215) 0:03:23.950 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004264", "end": "2024-11-13 11:49:38.102310", "rc": 0, "start": "2024-11-13 11:49:38.098046" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Ct7yYr TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:49:38 -0500 (0:00:00.466) 0:03:24.416 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:49:38 -0500 (0:00:00.132) 0:03:24.549 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.Ct7yYr] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:49:38 -0500 (0:00:00.134) 0:03:24.683 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 13 November 2024 11:49:38 -0500 (0:00:00.364) 0:03:25.048 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:49:39 -0500 (0:00:00.268) 0:03:25.317 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004868", "end": "2024-11-13 11:49:39.413510", "rc": 0, "start": "2024-11-13 11:49:39.408642" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Bcv1UE TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:49:39 -0500 (0:00:00.423) 0:03:25.741 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:49:39 -0500 (0:00:00.155) 0:03:25.896 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.Bcv1UE] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:49:39 -0500 (0:00:00.134) 0:03:26.030 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 13 November 2024 11:49:39 -0500 (0:00:00.120) 0:03:26.150 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:49:40 -0500 (0:00:00.198) 0:03:26.349 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004813", "end": "2024-11-13 11:49:40.539188", "rc": 0, "start": "2024-11-13 11:49:40.534375" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:49:40 -0500 (0:00:00.466) 0:03:26.816 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:49:40 -0500 (0:00:00.092) 0:03:26.908 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:49:40 -0500 (0:00:00.081) 0:03:26.990 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 13 November 2024 11:49:40 -0500 (0:00:00.075) 0:03:27.065 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:49:41 -0500 (0:00:00.159) 0:03:27.225 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004407", "end": "2024-11-13 11:49:41.320061", "rc": 0, "start": "2024-11-13 11:49:41.315654" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:49:41 -0500 (0:00:00.501) 0:03:27.726 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:49:41 -0500 (0:00:00.310) 0:03:28.037 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:49:42 -0500 (0:00:00.162) 0:03:28.200 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 13 November 2024 11:49:42 -0500 (0:00:00.158) 0:03:28.359 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Wednesday 13 November 2024 11:49:42 -0500 (0:00:00.120) 0:03:28.480 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node1 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Wednesday 13 November 2024 11:49:42 -0500 (0:00:00.498) 0:03:28.978 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003126", "end": "2024-11-13 11:49:43.294925", "rc": 0, "start": "2024-11-13 11:49:43.291799" } 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.Ct7yYr tlskey = /etc/pki/tls/private/ansible.Bcv1UE tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Wednesday 13 November 2024 11:49:43 -0500 (0:00:00.592) 0:03:29.570 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 13 November 2024 11:49:44 -0500 (0:00:01.211) 0:03:30.782 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 13 November 2024 11:49:44 -0500 (0:00:00.178) 0:03:30.961 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 13 November 2024 11:49:44 -0500 (0:00:00.124) 0:03:31.085 **** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.125) 0:03:31.211 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.110) 0:03:31.322 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.132) 0:03:31.455 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.108) 0:03:31.563 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.097) 0:03:31.661 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.088) 0:03:31.749 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.074) 0:03:31.824 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.075) 0:03:31.899 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.073) 0:03:31.972 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.076) 0:03:32.049 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Wednesday 13 November 2024 11:49:45 -0500 (0:00:00.104) 0:03:32.153 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Wednesday 13 November 2024 11:49:46 -0500 (0:00:00.130) 0:03:32.284 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 13 November 2024 11:49:46 -0500 (0:00:00.115) 0:03:32.399 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Wednesday 13 November 2024 11:49:46 -0500 (0:00:00.293) 0:03:32.693 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Wednesday 13 November 2024 11:49:46 -0500 (0:00:00.119) 0:03:32.812 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 13 November 2024 11:49:46 -0500 (0:00:00.113) 0:03:32.926 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Wednesday 13 November 2024 11:49:46 -0500 (0:00:00.126) 0:03:33.052 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wednesday 13 November 2024 11:49:46 -0500 (0:00:00.121) 0:03:33.174 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Wednesday 13 November 2024 11:49:48 -0500 (0:00:01.378) 0:03:34.553 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 13 November 2024 11:49:48 -0500 (0:00:00.248) 0:03:34.801 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Wednesday 13 November 2024 11:49:48 -0500 (0:00:00.087) 0:03:34.889 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Wednesday 13 November 2024 11:49:48 -0500 (0:00:00.136) 0:03:35.025 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 13 November 2024 11:49:49 -0500 (0:00:00.347) 0:03:35.372 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 13 November 2024 11:49:50 -0500 (0:00:00.837) 0:03:36.210 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Wednesday 13 November 2024 11:49:50 -0500 (0:00:00.164) 0:03:36.374 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 13 November 2024 11:49:50 -0500 (0:00:00.124) 0:03:36.499 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Wednesday 13 November 2024 11:49:50 -0500 (0:00:00.152) 0:03:36.651 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 13 November 2024 11:49:50 -0500 (0:00:00.232) 0:03:36.883 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Wednesday 13 November 2024 11:49:50 -0500 (0:00:00.164) 0:03:37.048 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Wednesday 13 November 2024 11:49:51 -0500 (0:00:00.134) 0:03:37.182 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 13 November 2024 11:49:51 -0500 (0:00:00.160) 0:03:37.342 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 13 November 2024 11:49:51 -0500 (0:00:00.127) 0:03:37.470 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 13 November 2024 11:49:52 -0500 (0:00:00.975) 0:03:38.445 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Wednesday 13 November 2024 11:49:53 -0500 (0:00:00.844) 0:03:39.290 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005283", "end": "2024-11-13 11:49:53.627142", "rc": 0, "start": "2024-11-13 11:49:53.621859" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Wednesday 13 November 2024 11:49:53 -0500 (0:00:00.665) 0:03:39.955 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Wednesday 13 November 2024 11:49:55 -0500 (0:00:01.247) 0:03:41.203 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Wednesday 13 November 2024 11:49:55 -0500 (0:00:00.175) 0:03:41.379 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Wednesday 13 November 2024 11:49:55 -0500 (0:00:00.118) 0:03:41.497 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Wednesday 13 November 2024 11:49:55 -0500 (0:00:00.248) 0:03:41.745 **** skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Wednesday 13 November 2024 11:49:55 -0500 (0:00:00.142) 0:03:41.888 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Wednesday 13 November 2024 11:49:55 -0500 (0:00:00.116) 0:03:42.004 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Wednesday 13 November 2024 11:49:55 -0500 (0:00:00.112) 0:03:42.116 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Wednesday 13 November 2024 11:49:56 -0500 (0:00:00.725) 0:03:42.842 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:29:30 EST", "ActiveEnterTimestampMonotonic": "26615787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target systemd-sysctl.service dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:29:28 EST", "AssertTimestampMonotonic": "24670252", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:29:28 EST", "ConditionTimestampMonotonic": "24670251", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Wed 2024-11-13 11:29:28 EST", "ExecMainStartTimestampMonotonic": "24671578", "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": "Wed 2024-11-13 11:29:28 EST", "InactiveExitTimestampMonotonic": "24671623", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service 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": "Wed 2024-11-13 11:29:30 EST", "WatchdogTimestampMonotonic": "26615611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Wednesday 13 November 2024 11:49:57 -0500 (0:00:00.688) 0:03:43.530 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087533", "end": "2024-11-13 11:49:57.758980", "rc": 0, "start": "2024-11-13 11:49:57.671447" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 13 November 2024 11:49:57 -0500 (0:00:00.552) 0:03:44.082 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Wednesday 13 November 2024 11:49:58 -0500 (0:00:00.190) 0:03:44.272 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Wednesday 13 November 2024 11:49:58 -0500 (0:00:00.164) 0:03:44.437 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Wednesday 13 November 2024 11:49:58 -0500 (0:00:00.123) 0:03:44.561 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 13 November 2024 11:49:58 -0500 (0:00:00.505) 0:03:45.067 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 13 November 2024 11:49:58 -0500 (0:00:00.109) 0:03:45.176 **** ok: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Wednesday 13 November 2024 11:49:59 -0500 (0:00:00.722) 0:03:45.899 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Wednesday 13 November 2024 11:49:59 -0500 (0:00:00.095) 0:03:45.994 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Wednesday 13 November 2024 11:50:00 -0500 (0:00:00.198) 0:03:46.192 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Wednesday 13 November 2024 11:50:00 -0500 (0:00:00.126) 0:03:46.319 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Wednesday 13 November 2024 11:50:00 -0500 (0:00:00.156) 0:03:46.475 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Wednesday 13 November 2024 11:50:00 -0500 (0:00:00.146) 0:03:46.622 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Wednesday 13 November 2024 11:50:00 -0500 (0:00:00.117) 0:03:46.739 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Wednesday 13 November 2024 11:50:00 -0500 (0:00:00.262) 0:03:47.001 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Wednesday 13 November 2024 11:50:00 -0500 (0:00:00.163) 0:03:47.165 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004989", "end": "2024-11-13 11:50:01.359011", "rc": 0, "start": "2024-11-13 11:50:01.354022" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Wednesday 13 November 2024 11:50:01 -0500 (0:00:00.598) 0:03:47.763 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Wednesday 13 November 2024 11:50:01 -0500 (0:00:00.141) 0:03:47.905 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 13 November 2024 11:50:03 -0500 (0:00:01.727) 0:03:49.632 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Wednesday 13 November 2024 11:50:03 -0500 (0:00:00.207) 0:03:49.840 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Wednesday 13 November 2024 11:50:03 -0500 (0:00:00.239) 0:03:50.079 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Wednesday 13 November 2024 11:50:04 -0500 (0:00:00.252) 0:03:50.332 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 13 November 2024 11:50:04 -0500 (0:00:00.460) 0:03:50.792 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:50:04 -0500 (0:00:00.331) 0:03:51.124 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003339", "end": "2024-11-13 11:50:05.487228", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:50:05.483889" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:50:05 -0500 (0:00:00.824) 0:03:51.949 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.123378", "end": "2024-11-13 11:50:06.523009", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:06.399631" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:50:06 -0500 (0:00:01.006) 0:03:52.955 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Wednesday 13 November 2024 11:50:06 -0500 (0:00:00.126) 0:03:53.081 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.187) 0:03:53.269 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.117) 0:03:53.387 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.123) 0:03:53.510 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.116) 0:03:53.626 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.119) 0:03:53.745 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.122) 0:03:53.867 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.115) 0:03:53.983 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 13 November 2024 11:50:07 -0500 (0:00:00.119) 0:03:54.103 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 13 November 2024 11:50:08 -0500 (0:00:00.150) 0:03:54.253 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 13 November 2024 11:50:08 -0500 (0:00:00.200) 0:03:54.453 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Wednesday 13 November 2024 11:50:08 -0500 (0:00:00.132) 0:03:54.586 **** skipping: [managed-node1] => (item=/tmp/ansible.Ct7yYr) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.Ct7yYr", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ansible.Bcv1UE) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.Bcv1UE", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 13 November 2024 11:50:08 -0500 (0:00:00.226) 0:03:54.813 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:50:09 -0500 (0:00:00.617) 0:03:55.430 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003355", "end": "2024-11-13 11:50:09.738821", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:09.735466" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.Ct7yYr TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:50:09 -0500 (0:00:00.677) 0:03:56.108 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:50:10 -0500 (0:00:00.174) 0:03:56.283 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.122233", "end": "2024-11-13 11:50:10.564459", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:10.442226" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 13 November 2024 11:50:10 -0500 (0:00:00.803) 0:03:57.087 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:50:11 -0500 (0:00:00.409) 0:03:57.497 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004444", "end": "2024-11-13 11:50:12.809985", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:11.805541" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Bcv1UE TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:50:12 -0500 (0:00:01.660) 0:03:59.157 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:50:13 -0500 (0:00:00.174) 0:03:59.332 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.120006", "end": "2024-11-13 11:50:13.585752", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:13.465746" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 13 November 2024 11:50:13 -0500 (0:00:00.637) 0:03:59.970 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:50:14 -0500 (0:00:00.273) 0:04:00.243 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2024-11-13 11:50:14.479737", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:14.476458" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:50:14 -0500 (0:00:00.598) 0:04:00.841 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:50:14 -0500 (0:00:00.137) 0:04:00.979 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.121041", "end": "2024-11-13 11:50:15.287949", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:15.166908" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Wednesday 13 November 2024 11:50:15 -0500 (0:00:00.998) 0:04:01.977 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:50:16 -0500 (0:00:00.365) 0:04:02.342 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003765", "end": "2024-11-13 11:50:16.643590", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:16.639825" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:50:16 -0500 (0:00:00.636) 0:04:02.979 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:50:16 -0500 (0:00:00.137) 0:04:03.117 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.120015", "end": "2024-11-13 11:50:17.510338", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:50:17.390323" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Wednesday 13 November 2024 11:50:17 -0500 (0:00:00.784) 0:04:03.901 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Wednesday 13 November 2024 11:50:17 -0500 (0:00:00.141) 0:04:04.043 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Wednesday 13 November 2024 11:50:17 -0500 (0:00:00.118) 0:04:04.161 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.119) 0:04:04.281 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.101) 0:04:04.383 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.117) 0:04:04.500 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.114) 0:04:04.615 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.113) 0:04:04.728 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.116) 0:04:04.844 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.112) 0:04:04.957 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Wednesday 13 November 2024 11:50:18 -0500 (0:00:00.153) 0:04:05.110 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Wednesday 13 November 2024 11:50:19 -0500 (0:00:00.159) 0:04:05.270 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Wednesday 13 November 2024 11:50:19 -0500 (0:00:00.267) 0:04:05.537 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Wednesday 13 November 2024 11:50:19 -0500 (0:00:00.151) 0:04:05.688 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Wednesday 13 November 2024 11:50:19 -0500 (0:00:00.107) 0:04:05.796 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Wednesday 13 November 2024 11:50:19 -0500 (0:00:00.191) 0:04:05.988 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Wednesday 13 November 2024 11:50:19 -0500 (0:00:00.143) 0:04:06.131 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Wednesday 13 November 2024 11:50:20 -0500 (0:00:00.207) 0:04:06.338 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Wednesday 13 November 2024 11:50:20 -0500 (0:00:00.162) 0:04:06.501 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Wednesday 13 November 2024 11:50:20 -0500 (0:00:00.132) 0:04:06.634 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Wednesday 13 November 2024 11:50:20 -0500 (0:00:00.146) 0:04:06.780 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Wednesday 13 November 2024 11:50:20 -0500 (0:00:00.125) 0:04:06.906 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Wednesday 13 November 2024 11:50:20 -0500 (0:00:00.102) 0:04:07.009 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Wednesday 13 November 2024 11:50:20 -0500 (0:00:00.109) 0:04:07.118 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Wednesday 13 November 2024 11:50:21 -0500 (0:00:00.145) 0:04:07.263 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 13 November 2024 11:50:21 -0500 (0:00:00.121) 0:04:07.384 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Wednesday 13 November 2024 11:50:21 -0500 (0:00:00.123) 0:04:07.508 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 13 November 2024 11:50:21 -0500 (0:00:00.173) 0:04:07.682 **** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 13 November 2024 11:50:21 -0500 (0:00:00.138) 0:04:07.820 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 13 November 2024 11:50:21 -0500 (0:00:00.132) 0:04:07.952 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Wednesday 13 November 2024 11:50:21 -0500 (0:00:00.141) 0:04:08.094 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 13 November 2024 11:50:22 -0500 (0:00:00.415) 0:04:08.509 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Wednesday 13 November 2024 11:50:22 -0500 (0:00:00.143) 0:04:08.653 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 13 November 2024 11:50:22 -0500 (0:00:00.134) 0:04:08.788 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Wednesday 13 November 2024 11:50:22 -0500 (0:00:00.118) 0:04:08.906 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Wednesday 13 November 2024 11:50:22 -0500 (0:00:00.144) 0:04:09.051 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.132) 0:04:09.183 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.105) 0:04:09.289 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.093) 0:04:09.383 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.096) 0:04:09.479 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.134) 0:04:09.614 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.122) 0:04:09.736 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.117) 0:04:09.854 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Wednesday 13 November 2024 11:50:23 -0500 (0:00:00.121) 0:04:09.976 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.241) 0:04:10.217 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.147) 0:04:10.365 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.091) 0:04:10.456 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.073) 0:04:10.530 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.077) 0:04:10.607 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.091) 0:04:10.699 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.222) 0:04:10.921 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.095) 0:04:11.017 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Wednesday 13 November 2024 11:50:24 -0500 (0:00:00.079) 0:04:11.097 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Wednesday 13 November 2024 11:50:25 -0500 (0:00:00.119) 0:04:11.216 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 13 November 2024 11:50:25 -0500 (0:00:00.577) 0:04:11.794 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:49:29 EST", "ActiveEnterTimestampMonotonic": "1226282331", "ActiveExitTimestamp": "Wed 2024-11-13 11:49:28 EST", "ActiveExitTimestampMonotonic": "1225052071", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:49:29 EST", "AssertTimestampMonotonic": "1226281686", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:49:29 EST", "ConditionTimestampMonotonic": "1226281684", "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": "10697", "ExecMainStartTimestamp": "Wed 2024-11-13 11:49:29 EST", "ExecMainStartTimestampMonotonic": "1226282263", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:49:29 EST] ; stop_time=[n/a] ; pid=10697 ; 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": "Wed 2024-11-13 11:49:29 EST", "InactiveEnterTimestampMonotonic": "1226280823", "InactiveExitTimestamp": "Wed 2024-11-13 11:49:29 EST", "InactiveExitTimestampMonotonic": "1226282331", "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": "10697", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:49:29 EST", "WatchdogTimestampMonotonic": "1226282310", "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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Wednesday 13 November 2024 11:50:26 -0500 (0:00:00.880) 0:04:12.675 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Wednesday 13 November 2024 11:50:26 -0500 (0:00:00.102) 0:04:12.777 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Wednesday 13 November 2024 11:50:26 -0500 (0:00:00.098) 0:04:12.876 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 13 November 2024 11:50:27 -0500 (0:00:00.821) 0:04:13.697 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 13 November 2024 11:50:27 -0500 (0:00:00.122) 0:04:13.820 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 13 November 2024 11:50:27 -0500 (0:00:00.238) 0:04:14.059 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 13 November 2024 11:50:28 -0500 (0:00:00.127) 0:04:14.187 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 13 November 2024 11:50:28 -0500 (0:00:00.120) 0:04:14.307 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 13 November 2024 11:50:28 -0500 (0:00:00.122) 0:04:14.429 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 13 November 2024 11:50:28 -0500 (0:00:00.116) 0:04:14.546 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 13 November 2024 11:50:28 -0500 (0:00:00.120) 0:04:14.666 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 13 November 2024 11:50:28 -0500 (0:00:00.094) 0:04:14.760 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 13 November 2024 11:50:28 -0500 (0:00:00.182) 0:04:14.942 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:50:26 EST", "ActiveEnterTimestampMonotonic": "1282609640", "ActiveExitTimestamp": "Wed 2024-11-13 11:50:26 EST", "ActiveExitTimestampMonotonic": "1282401030", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:50:26 EST", "AssertTimestampMonotonic": "1282608630", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:50:26 EST", "ConditionTimestampMonotonic": "1282608628", "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": "12794", "ExecMainStartTimestamp": "Wed 2024-11-13 11:50:26 EST", "ExecMainStartTimestampMonotonic": "1282609575", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:50:26 EST] ; stop_time=[n/a] ; pid=12794 ; 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": "Wed 2024-11-13 11:50:26 EST", "InactiveEnterTimestampMonotonic": "1282606724", "InactiveExitTimestamp": "Wed 2024-11-13 11:50:26 EST", "InactiveExitTimestampMonotonic": "1282609640", "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": "12794", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:50:26 EST", "WatchdogTimestampMonotonic": "1282609620", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 13 November 2024 11:50:30 -0500 (0:00:01.390) 0:04:16.333 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004110", "end": "2024-11-13 11:50:30.565305", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:50:30.561195" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 13 November 2024 11:50:30 -0500 (0:00:00.553) 0:04:16.886 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003104", "end": "2024-11-13 11:50:30.993356", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:50:30.990252" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 13 November 2024 11:50:31 -0500 (0:00:00.417) 0:04:17.304 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 13 November 2024 11:50:31 -0500 (0:00:00.123) 0:04:17.427 **** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 13 November 2024 11:50:32 -0500 (0:00:01.397) 0:04:18.825 **** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024398", "end": "2024-11-13 11:50:32.938617", "rc": 0, "start": "2024-11-13 11:50:32.914219" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.432) 0:04:19.257 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.126) 0:04:19.384 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.119) 0:04:19.504 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.104) 0:04:19.608 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.096) 0:04:19.704 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.096) 0:04:19.801 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.076) 0:04:19.877 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.096) 0:04:19.974 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 13 November 2024 11:50:33 -0500 (0:00:00.111) 0:04:20.085 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:50:34 -0500 (0:00:00.179) 0:04:20.265 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004203", "end": "2024-11-13 11:50:34.480730", "rc": 0, "start": "2024-11-13 11:50:34.476527" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:50:34 -0500 (0:00:00.579) 0:04:20.845 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:50:34 -0500 (0:00:00.172) 0:04:21.018 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:50:34 -0500 (0:00:00.134) 0:04:21.152 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 13 November 2024 11:50:35 -0500 (0:00:00.418) 0:04:21.570 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:50:35 -0500 (0:00:00.300) 0:04:21.871 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004261", "end": "2024-11-13 11:50:36.002058", "rc": 0, "start": "2024-11-13 11:50:35.997797" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:50:36 -0500 (0:00:00.437) 0:04:22.309 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:50:36 -0500 (0:00:00.137) 0:04:22.446 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:50:36 -0500 (0:00:00.111) 0:04:22.558 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 13 November 2024 11:50:36 -0500 (0:00:00.082) 0:04:22.640 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:50:36 -0500 (0:00:00.146) 0:04:22.787 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004270", "end": "2024-11-13 11:50:36.947394", "rc": 0, "start": "2024-11-13 11:50:36.943124" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:50:37 -0500 (0:00:00.483) 0:04:23.270 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:50:37 -0500 (0:00:00.171) 0:04:23.441 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:50:37 -0500 (0:00:00.140) 0:04:23.582 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 13 November 2024 11:50:37 -0500 (0:00:00.125) 0:04:23.707 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:50:37 -0500 (0:00:00.449) 0:04:24.157 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005080", "end": "2024-11-13 11:50:38.481716", "rc": 0, "start": "2024-11-13 11:50:38.476636" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:50:38 -0500 (0:00:00.638) 0:04:24.795 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:50:38 -0500 (0:00:00.267) 0:04:25.063 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:50:39 -0500 (0:00:00.160) 0:04:25.224 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 13 November 2024 11:50:39 -0500 (0:00:00.117) 0:04:25.342 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Wednesday 13 November 2024 11:50:39 -0500 (0:00:00.199) 0:04:25.541 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 13 November 2024 11:50:42 -0500 (0:00:02.672) 0:04:28.214 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 13 November 2024 11:50:42 -0500 (0:00:00.212) 0:04:28.426 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 13 November 2024 11:50:42 -0500 (0:00:00.158) 0:04:28.584 **** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 13 November 2024 11:50:42 -0500 (0:00:00.179) 0:04:28.764 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 13 November 2024 11:50:42 -0500 (0:00:00.115) 0:04:28.879 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 13 November 2024 11:50:42 -0500 (0:00:00.117) 0:04:28.997 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 13 November 2024 11:50:42 -0500 (0:00:00.123) 0:04:29.121 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 13 November 2024 11:50:43 -0500 (0:00:00.130) 0:04:29.252 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 13 November 2024 11:50:43 -0500 (0:00:00.154) 0:04:29.406 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 13 November 2024 11:50:43 -0500 (0:00:00.224) 0:04:29.630 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Wednesday 13 November 2024 11:50:43 -0500 (0:00:00.204) 0:04:29.835 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Wednesday 13 November 2024 11:50:43 -0500 (0:00:00.139) 0:04:29.975 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Wednesday 13 November 2024 11:50:43 -0500 (0:00:00.134) 0:04:30.109 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Wednesday 13 November 2024 11:50:44 -0500 (0:00:00.244) 0:04:30.354 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Wednesday 13 November 2024 11:50:44 -0500 (0:00:00.233) 0:04:30.587 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 13 November 2024 11:50:44 -0500 (0:00:00.144) 0:04:30.732 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Wednesday 13 November 2024 11:50:44 -0500 (0:00:00.136) 0:04:30.868 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Wednesday 13 November 2024 11:50:44 -0500 (0:00:00.136) 0:04:31.004 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 13 November 2024 11:50:45 -0500 (0:00:00.407) 0:04:31.411 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Wednesday 13 November 2024 11:50:45 -0500 (0:00:00.240) 0:04:31.652 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wednesday 13 November 2024 11:50:45 -0500 (0:00:00.244) 0:04:31.896 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Wednesday 13 November 2024 11:50:47 -0500 (0:00:01.766) 0:04:33.663 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 13 November 2024 11:50:47 -0500 (0:00:00.342) 0:04:34.005 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Wednesday 13 November 2024 11:50:47 -0500 (0:00:00.130) 0:04:34.136 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Wednesday 13 November 2024 11:50:48 -0500 (0:00:00.174) 0:04:34.311 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 13 November 2024 11:50:48 -0500 (0:00:00.335) 0:04:34.646 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 13 November 2024 11:50:49 -0500 (0:00:00.674) 0:04:35.321 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Wednesday 13 November 2024 11:50:49 -0500 (0:00:00.145) 0:04:35.466 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 13 November 2024 11:50:49 -0500 (0:00:00.134) 0:04:35.601 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Wednesday 13 November 2024 11:50:49 -0500 (0:00:00.148) 0:04:35.749 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 13 November 2024 11:50:49 -0500 (0:00:00.156) 0:04:35.905 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Wednesday 13 November 2024 11:50:50 -0500 (0:00:00.315) 0:04:36.221 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Wednesday 13 November 2024 11:50:50 -0500 (0:00:00.131) 0:04:36.352 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 13 November 2024 11:50:50 -0500 (0:00:00.164) 0:04:36.517 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 13 November 2024 11:50:50 -0500 (0:00:00.195) 0:04:36.713 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 13 November 2024 11:50:51 -0500 (0:00:00.992) 0:04:37.705 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Wednesday 13 November 2024 11:50:52 -0500 (0:00:00.778) 0:04:38.483 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005466", "end": "2024-11-13 11:50:52.803715", "rc": 0, "start": "2024-11-13 11:50:52.798249" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Wednesday 13 November 2024 11:50:52 -0500 (0:00:00.661) 0:04:39.145 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Wednesday 13 November 2024 11:50:54 -0500 (0:00:01.148) 0:04:40.293 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Wednesday 13 November 2024 11:50:54 -0500 (0:00:00.269) 0:04:40.563 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Wednesday 13 November 2024 11:50:54 -0500 (0:00:00.228) 0:04:40.791 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Wednesday 13 November 2024 11:50:54 -0500 (0:00:00.168) 0:04:40.960 **** skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Wednesday 13 November 2024 11:50:54 -0500 (0:00:00.158) 0:04:41.118 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Wednesday 13 November 2024 11:50:55 -0500 (0:00:00.158) 0:04:41.276 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Wednesday 13 November 2024 11:50:55 -0500 (0:00:00.153) 0:04:41.430 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Wednesday 13 November 2024 11:50:56 -0500 (0:00:01.072) 0:04:42.502 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:29:30 EST", "ActiveEnterTimestampMonotonic": "26615787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target systemd-sysctl.service dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:29:28 EST", "AssertTimestampMonotonic": "24670252", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:29:28 EST", "ConditionTimestampMonotonic": "24670251", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Wed 2024-11-13 11:29:28 EST", "ExecMainStartTimestampMonotonic": "24671578", "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": "Wed 2024-11-13 11:29:28 EST", "InactiveExitTimestampMonotonic": "24671623", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service 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": "Wed 2024-11-13 11:29:30 EST", "WatchdogTimestampMonotonic": "26615611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Wednesday 13 November 2024 11:50:56 -0500 (0:00:00.608) 0:04:43.110 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087339", "end": "2024-11-13 11:50:57.455251", "rc": 0, "start": "2024-11-13 11:50:57.367912" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 13 November 2024 11:50:57 -0500 (0:00:00.671) 0:04:43.781 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Wednesday 13 November 2024 11:50:57 -0500 (0:00:00.161) 0:04:43.943 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Wednesday 13 November 2024 11:50:57 -0500 (0:00:00.207) 0:04:44.150 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Wednesday 13 November 2024 11:50:58 -0500 (0:00:00.222) 0:04:44.372 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 13 November 2024 11:50:58 -0500 (0:00:00.793) 0:04:45.166 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 13 November 2024 11:50:59 -0500 (0:00:00.258) 0:04:45.424 **** ok: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Wednesday 13 November 2024 11:51:00 -0500 (0:00:01.098) 0:04:46.523 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Wednesday 13 November 2024 11:51:00 -0500 (0:00:00.202) 0:04:46.725 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Wednesday 13 November 2024 11:51:00 -0500 (0:00:00.242) 0:04:46.967 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Wednesday 13 November 2024 11:51:00 -0500 (0:00:00.142) 0:04:47.110 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Wednesday 13 November 2024 11:51:01 -0500 (0:00:00.252) 0:04:47.362 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Wednesday 13 November 2024 11:51:01 -0500 (0:00:00.261) 0:04:47.624 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Wednesday 13 November 2024 11:51:01 -0500 (0:00:00.249) 0:04:47.874 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Wednesday 13 November 2024 11:51:01 -0500 (0:00:00.115) 0:04:47.990 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Wednesday 13 November 2024 11:51:02 -0500 (0:00:00.297) 0:04:48.288 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005040", "end": "2024-11-13 11:51:02.580268", "rc": 0, "start": "2024-11-13 11:51:02.575228" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Wednesday 13 November 2024 11:51:02 -0500 (0:00:00.654) 0:04:48.942 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Wednesday 13 November 2024 11:51:02 -0500 (0:00:00.213) 0:04:49.156 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 13 November 2024 11:51:04 -0500 (0:00:01.863) 0:04:51.020 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Wednesday 13 November 2024 11:51:04 -0500 (0:00:00.146) 0:04:51.166 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Wednesday 13 November 2024 11:51:05 -0500 (0:00:00.116) 0:04:51.283 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Wednesday 13 November 2024 11:51:05 -0500 (0:00:00.167) 0:04:51.451 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 13 November 2024 11:51:05 -0500 (0:00:00.160) 0:04:51.611 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:51:05 -0500 (0:00:00.244) 0:04:51.856 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003111", "end": "2024-11-13 11:51:06.230685", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:51:06.227574" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:51:06 -0500 (0:00:00.742) 0:04:52.599 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.122080", "end": "2024-11-13 11:51:06.899544", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:51:06.777464" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:51:07 -0500 (0:00:00.778) 0:04:53.377 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Wednesday 13 November 2024 11:51:07 -0500 (0:00:00.353) 0:04:53.730 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Wednesday 13 November 2024 11:51:07 -0500 (0:00:00.133) 0:04:53.864 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Wednesday 13 November 2024 11:51:07 -0500 (0:00:00.139) 0:04:54.004 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Wednesday 13 November 2024 11:51:07 -0500 (0:00:00.118) 0:04:54.122 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Wednesday 13 November 2024 11:51:08 -0500 (0:00:00.125) 0:04:54.247 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 13 November 2024 11:51:08 -0500 (0:00:00.152) 0:04:54.400 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 13 November 2024 11:51:08 -0500 (0:00:00.115) 0:04:54.515 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Wednesday 13 November 2024 11:51:08 -0500 (0:00:00.152) 0:04:54.668 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 13 November 2024 11:51:08 -0500 (0:00:00.162) 0:04:54.830 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 13 November 2024 11:51:08 -0500 (0:00:00.139) 0:04:54.970 **** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 13 November 2024 11:51:09 -0500 (0:00:00.242) 0:04:55.213 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 13 November 2024 11:51:09 -0500 (0:00:00.231) 0:04:55.444 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Wednesday 13 November 2024 11:51:09 -0500 (0:00:00.213) 0:04:55.658 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Wednesday 13 November 2024 11:51:10 -0500 (0:00:00.724) 0:04:56.382 **** ok: [managed-node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Wednesday 13 November 2024 11:51:10 -0500 (0:00:00.221) 0:04:56.604 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 13 November 2024 11:51:11 -0500 (0:00:00.759) 0:04:57.363 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Wednesday 13 November 2024 11:51:12 -0500 (0:00:01.806) 0:04:59.170 **** ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Wednesday 13 November 2024 11:51:13 -0500 (0:00:00.944) 0:05:00.115 **** ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Wednesday 13 November 2024 11:51:14 -0500 (0:00:00.681) 0:05:00.796 **** ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Wednesday 13 November 2024 11:51:15 -0500 (0:00:00.597) 0:05:01.393 **** ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:44:26 EST", "ActiveEnterTimestampMonotonic": "923212789", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.service system.slice syslog.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:44:26 EST", "AssertTimestampMonotonic": "923178198", "Before": "multi-user.target 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": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:44:26 EST", "ConditionTimestampMonotonic": "923178197", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "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": "32104", "ExecMainStartTimestamp": "Wed 2024-11-13 11:44:26 EST", "ExecMainStartTimestampMonotonic": "923178892", "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", "InactiveExitTimestamp": "Wed 2024-11-13 11:44:26 EST", "InactiveExitTimestampMonotonic": "923178935", "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": "32104", "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": "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": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:44:26 EST", "WatchdogTimestampMonotonic": "923212743", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Wednesday 13 November 2024 11:51:15 -0500 (0:00:00.600) 0:05:01.993 **** changed: [managed-node1] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.35', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.45.35", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (update). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Wednesday 13 November 2024 11:51:17 -0500 (0:00:01.546) 0:05:03.540 **** skipping: [managed-node1] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.35', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.45.35", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.35', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.45.35", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.35', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.45.35", "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-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Wednesday 13 November 2024 11:51:17 -0500 (0:00:00.185) 0:05:03.725 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Wednesday 13 November 2024 11:51:17 -0500 (0:00:00.150) 0:05:03.876 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Wednesday 13 November 2024 11:51:17 -0500 (0:00:00.138) 0:05:04.014 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 13 November 2024 11:51:17 -0500 (0:00:00.116) 0:05:04.130 **** ok: [managed-node1] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Wednesday 13 November 2024 11:51:18 -0500 (0:00:00.165) 0:05:04.295 **** skipping: [managed-node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 13 November 2024 11:51:18 -0500 (0:00:00.153) 0:05:04.449 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:51:18 -0500 (0:00:00.500) 0:05:04.949 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003523", "end": "2024-11-13 11:51:19.422711", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:51:19.419188" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:51:19 -0500 (0:00:00.856) 0:05:05.806 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.122891", "end": "2024-11-13 11:51:20.086221", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:51:19.963330" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:51:20 -0500 (0:00:00.572) 0:05:06.378 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 13 November 2024 11:51:20 -0500 (0:00:00.082) 0:05:06.460 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:51:20 -0500 (0:00:00.212) 0:05:06.673 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003229", "end": "2024-11-13 11:51:21.004389", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:51:21.001160" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:51:21 -0500 (0:00:00.757) 0:05:07.431 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.122412", "end": "2024-11-13 11:51:21.755753", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:51:21.633341" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:51:22 -0500 (0:00:00.816) 0:05:08.248 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 13 November 2024 11:51:22 -0500 (0:00:00.232) 0:05:08.480 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:51:22 -0500 (0:00:00.226) 0:05:08.706 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004794", "end": "2024-11-13 11:51:23.822625", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:51:22.817831" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:51:23 -0500 (0:00:01.445) 0:05:10.152 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.120526", "end": "2024-11-13 11:51:24.451963", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:51:24.331437" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:51:24 -0500 (0:00:00.640) 0:05:10.792 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Wednesday 13 November 2024 11:51:24 -0500 (0:00:00.127) 0:05:10.920 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:51:25 -0500 (0:00:00.469) 0:05:11.389 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003219", "end": "2024-11-13 11:51:25.862320", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:51:25.859101" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:51:26 -0500 (0:00:00.849) 0:05:12.238 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.118904", "end": "2024-11-13 11:51:26.573527", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:51:26.454623" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:51:26 -0500 (0:00:00.756) 0:05:12.995 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Wednesday 13 November 2024 11:51:26 -0500 (0:00:00.121) 0:05:13.117 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.108) 0:05:13.226 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.119) 0:05:13.346 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.117) 0:05:13.464 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.114) 0:05:13.578 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.095) 0:05:13.674 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.082) 0:05:13.756 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.084) 0:05:13.840 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.078) 0:05:13.919 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.081) 0:05:14.001 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Wednesday 13 November 2024 11:51:27 -0500 (0:00:00.111) 0:05:14.112 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Wednesday 13 November 2024 11:51:28 -0500 (0:00:00.121) 0:05:14.233 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Wednesday 13 November 2024 11:51:28 -0500 (0:00:00.124) 0:05:14.358 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Wednesday 13 November 2024 11:51:28 -0500 (0:00:00.129) 0:05:14.487 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Wednesday 13 November 2024 11:51:28 -0500 (0:00:00.317) 0:05:14.805 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Wednesday 13 November 2024 11:51:28 -0500 (0:00:00.121) 0:05:14.926 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Wednesday 13 November 2024 11:51:28 -0500 (0:00:00.114) 0:05:15.041 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Wednesday 13 November 2024 11:51:28 -0500 (0:00:00.119) 0:05:15.161 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.123) 0:05:15.284 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.125) 0:05:15.410 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.105) 0:05:15.515 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.102) 0:05:15.618 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.092) 0:05:15.710 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.103) 0:05:15.814 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.120) 0:05:15.935 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.115) 0:05:16.051 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Wednesday 13 November 2024 11:51:29 -0500 (0:00:00.101) 0:05:16.152 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.088) 0:05:16.240 **** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.098) 0:05:16.339 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.114) 0:05:16.453 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.124) 0:05:16.578 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.136) 0:05:16.715 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.109) 0:05:16.824 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.209) 0:05:17.034 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Wednesday 13 November 2024 11:51:30 -0500 (0:00:00.094) 0:05:17.129 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Wednesday 13 November 2024 11:51:31 -0500 (0:00:00.128) 0:05:17.257 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Wednesday 13 November 2024 11:51:31 -0500 (0:00:00.137) 0:05:17.394 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Wednesday 13 November 2024 11:51:31 -0500 (0:00:00.153) 0:05:17.548 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 13 November 2024 11:51:31 -0500 (0:00:00.145) 0:05:17.693 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 13 November 2024 11:51:31 -0500 (0:00:00.168) 0:05:17.861 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Wednesday 13 November 2024 11:51:31 -0500 (0:00:00.164) 0:05:18.026 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 13 November 2024 11:51:31 -0500 (0:00:00.142) 0:05:18.168 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.134) 0:05:18.302 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.127) 0:05:18.430 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.111) 0:05:18.541 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.092) 0:05:18.634 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.120) 0:05:18.754 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.120) 0:05:18.875 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.093) 0:05:18.969 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.087) 0:05:19.057 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Wednesday 13 November 2024 11:51:32 -0500 (0:00:00.075) 0:05:19.133 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Wednesday 13 November 2024 11:51:33 -0500 (0:00:00.098) 0:05:19.231 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Wednesday 13 November 2024 11:51:33 -0500 (0:00:00.294) 0:05:19.525 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Wednesday 13 November 2024 11:51:33 -0500 (0:00:00.122) 0:05:19.648 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 13 November 2024 11:51:34 -0500 (0:00:00.757) 0:05:20.405 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:50:26 EST", "ActiveEnterTimestampMonotonic": "1282609640", "ActiveExitTimestamp": "Wed 2024-11-13 11:50:26 EST", "ActiveExitTimestampMonotonic": "1282401030", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:50:26 EST", "AssertTimestampMonotonic": "1282608630", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:50:26 EST", "ConditionTimestampMonotonic": "1282608628", "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": "12794", "ExecMainStartTimestamp": "Wed 2024-11-13 11:50:26 EST", "ExecMainStartTimestampMonotonic": "1282609575", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:50:26 EST] ; stop_time=[n/a] ; pid=12794 ; 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": "Wed 2024-11-13 11:50:26 EST", "InactiveEnterTimestampMonotonic": "1282606724", "InactiveExitTimestamp": "Wed 2024-11-13 11:50:26 EST", "InactiveExitTimestampMonotonic": "1282609640", "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": "12794", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:50:26 EST", "WatchdogTimestampMonotonic": "1282609620", "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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Wednesday 13 November 2024 11:51:35 -0500 (0:00:00.932) 0:05:21.337 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Wednesday 13 November 2024 11:51:35 -0500 (0:00:00.122) 0:05:21.460 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Wednesday 13 November 2024 11:51:35 -0500 (0:00:00.123) 0:05:21.583 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Wednesday 13 November 2024 11:51:36 -0500 (0:00:01.146) 0:05:22.730 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Wednesday 13 November 2024 11:51:36 -0500 (0:00:00.093) 0:05:22.823 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Wednesday 13 November 2024 11:51:36 -0500 (0:00:00.107) 0:05:22.931 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Wednesday 13 November 2024 11:51:37 -0500 (0:00:00.321) 0:05:23.252 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Wednesday 13 November 2024 11:51:37 -0500 (0:00:00.173) 0:05:23.426 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Wednesday 13 November 2024 11:51:37 -0500 (0:00:00.131) 0:05:23.558 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Wednesday 13 November 2024 11:51:37 -0500 (0:00:00.142) 0:05:23.700 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Wednesday 13 November 2024 11:51:37 -0500 (0:00:00.118) 0:05:23.819 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Wednesday 13 November 2024 11:51:37 -0500 (0:00:00.143) 0:05:23.963 **** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Wednesday 13 November 2024 11:51:38 -0500 (0:00:00.265) 0:05:24.229 **** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:51:34 EST", "ActiveEnterTimestampMonotonic": "1351266739", "ActiveExitTimestamp": "Wed 2024-11-13 11:51:34 EST", "ActiveExitTimestampMonotonic": "1351057118", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:51:34 EST", "AssertTimestampMonotonic": "1351266037", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:51:34 EST", "ConditionTimestampMonotonic": "1351266035", "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": "15228", "ExecMainStartTimestamp": "Wed 2024-11-13 11:51:34 EST", "ExecMainStartTimestampMonotonic": "1351266680", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:51:34 EST] ; stop_time=[n/a] ; pid=15228 ; 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": "Wed 2024-11-13 11:51:34 EST", "InactiveEnterTimestampMonotonic": "1351264442", "InactiveExitTimestamp": "Wed 2024-11-13 11:51:34 EST", "InactiveExitTimestampMonotonic": "1351266739", "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": "15228", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:51:34 EST", "WatchdogTimestampMonotonic": "1351266720", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Wednesday 13 November 2024 11:51:39 -0500 (0:00:01.053) 0:05:25.282 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003322", "end": "2024-11-13 11:51:39.599823", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:51:39.596501" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Wednesday 13 November 2024 11:51:39 -0500 (0:00:00.616) 0:05:25.899 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003085", "end": "2024-11-13 11:51:40.008409", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:51:40.005324" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Wednesday 13 November 2024 11:51:40 -0500 (0:00:00.538) 0:05:26.438 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wednesday 13 November 2024 11:51:40 -0500 (0:00:00.308) 0:05:26.746 **** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7360, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Wednesday 13 November 2024 11:51:42 -0500 (0:00:01.663) 0:05:28.410 **** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.025107", "end": "2024-11-13 11:51:42.528695", "rc": 0, "start": "2024-11-13 11:51:42.503588" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Wednesday 13 November 2024 11:51:42 -0500 (0:00:00.506) 0:05:28.917 **** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Wednesday 13 November 2024 11:51:43 -0500 (0:00:00.423) 0:05:29.340 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Wednesday 13 November 2024 11:51:43 -0500 (0:00:00.158) 0:05:29.499 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Wednesday 13 November 2024 11:51:43 -0500 (0:00:00.236) 0:05:29.736 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Wednesday 13 November 2024 11:51:43 -0500 (0:00:00.191) 0:05:29.927 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Wednesday 13 November 2024 11:51:43 -0500 (0:00:00.120) 0:05:30.047 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Wednesday 13 November 2024 11:51:43 -0500 (0:00:00.120) 0:05:30.167 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Wednesday 13 November 2024 11:51:44 -0500 (0:00:00.130) 0:05:30.298 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Wednesday 13 November 2024 11:51:44 -0500 (0:00:00.168) 0:05:30.467 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:51:44 -0500 (0:00:00.236) 0:05:30.703 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004443", "end": "2024-11-13 11:51:44.891539", "rc": 0, "start": "2024-11-13 11:51:44.887096" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:51:45 -0500 (0:00:00.511) 0:05:31.214 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:51:45 -0500 (0:00:00.148) 0:05:31.363 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:51:45 -0500 (0:00:00.130) 0:05:31.493 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Wednesday 13 November 2024 11:51:45 -0500 (0:00:00.128) 0:05:31.621 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:51:45 -0500 (0:00:00.207) 0:05:31.829 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004468", "end": "2024-11-13 11:51:45.942951", "rc": 0, "start": "2024-11-13 11:51:45.938483" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:51:46 -0500 (0:00:00.422) 0:05:32.251 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:51:46 -0500 (0:00:00.307) 0:05:32.558 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:51:46 -0500 (0:00:00.105) 0:05:32.664 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Wednesday 13 November 2024 11:51:46 -0500 (0:00:00.079) 0:05:32.743 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:51:46 -0500 (0:00:00.147) 0:05:32.890 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004314", "end": "2024-11-13 11:51:47.018884", "rc": 0, "start": "2024-11-13 11:51:47.014570" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:51:47 -0500 (0:00:00.428) 0:05:33.319 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:51:47 -0500 (0:00:00.159) 0:05:33.478 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:51:47 -0500 (0:00:00.131) 0:05:33.610 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Wednesday 13 November 2024 11:51:47 -0500 (0:00:00.130) 0:05:33.740 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Wednesday 13 November 2024 11:51:47 -0500 (0:00:00.228) 0:05:33.969 **** ok: [managed-node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004406", "end": "2024-11-13 11:51:48.123026", "rc": 0, "start": "2024-11-13 11:51:48.118620" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Wednesday 13 November 2024 11:51:48 -0500 (0:00:00.482) 0:05:34.452 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Wednesday 13 November 2024 11:51:48 -0500 (0:00:00.111) 0:05:34.564 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Wednesday 13 November 2024 11:51:48 -0500 (0:00:00.152) 0:05:34.716 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Wednesday 13 November 2024 11:51:48 -0500 (0:00:00.108) 0:05:34.825 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Wednesday 13 November 2024 11:51:48 -0500 (0:00:00.081) 0:05:34.906 **** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Wednesday 13 November 2024 11:51:50 -0500 (0:00:01.587) 0:05:36.494 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Wednesday 13 November 2024 11:51:50 -0500 (0:00:00.128) 0:05:36.622 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Wednesday 13 November 2024 11:51:50 -0500 (0:00:00.099) 0:05:36.722 **** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Wednesday 13 November 2024 11:51:50 -0500 (0:00:00.281) 0:05:37.004 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Wednesday 13 November 2024 11:51:50 -0500 (0:00:00.081) 0:05:37.085 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.100) 0:05:37.186 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.079) 0:05:37.266 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.076) 0:05:37.342 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.078) 0:05:37.421 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.075) 0:05:37.497 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.080) 0:05:37.577 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.080) 0:05:37.657 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.076) 0:05:37.733 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.083) 0:05:37.816 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.097) 0:05:37.914 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.076) 0:05:37.991 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.077) 0:05:38.068 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Wednesday 13 November 2024 11:51:51 -0500 (0:00:00.077) 0:05:38.146 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Wednesday 13 November 2024 11:51:52 -0500 (0:00:00.093) 0:05:38.239 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Wednesday 13 November 2024 11:51:52 -0500 (0:00:00.115) 0:05:38.354 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wednesday 13 November 2024 11:51:52 -0500 (0:00:00.082) 0:05:38.437 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Wednesday 13 November 2024 11:51:53 -0500 (0:00:01.435) 0:05:39.873 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Wednesday 13 November 2024 11:51:53 -0500 (0:00:00.287) 0:05:40.161 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Wednesday 13 November 2024 11:51:54 -0500 (0:00:00.098) 0:05:40.259 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Wednesday 13 November 2024 11:51:54 -0500 (0:00:00.108) 0:05:40.367 **** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Wednesday 13 November 2024 11:51:54 -0500 (0:00:00.151) 0:05:40.518 **** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Wednesday 13 November 2024 11:51:54 -0500 (0:00:00.557) 0:05:41.075 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Wednesday 13 November 2024 11:51:54 -0500 (0:00:00.079) 0:05:41.155 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Wednesday 13 November 2024 11:51:55 -0500 (0:00:00.079) 0:05:41.234 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Wednesday 13 November 2024 11:51:55 -0500 (0:00:00.082) 0:05:41.317 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Wednesday 13 November 2024 11:51:55 -0500 (0:00:00.076) 0:05:41.393 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Wednesday 13 November 2024 11:51:55 -0500 (0:00:00.081) 0:05:41.475 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Wednesday 13 November 2024 11:51:55 -0500 (0:00:00.080) 0:05:41.556 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Wednesday 13 November 2024 11:51:55 -0500 (0:00:00.107) 0:05:41.664 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Wednesday 13 November 2024 11:51:55 -0500 (0:00:00.228) 0:05:41.893 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Wednesday 13 November 2024 11:51:56 -0500 (0:00:00.695) 0:05:42.588 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Wednesday 13 November 2024 11:51:57 -0500 (0:00:00.636) 0:05:43.225 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005551", "end": "2024-11-13 11:51:57.362950", "rc": 0, "start": "2024-11-13 11:51:57.357399" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Wednesday 13 November 2024 11:51:57 -0500 (0:00:00.479) 0:05:43.705 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Wednesday 13 November 2024 11:51:58 -0500 (0:00:01.114) 0:05:44.819 **** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Wednesday 13 November 2024 11:51:58 -0500 (0:00:00.174) 0:05:44.994 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Wednesday 13 November 2024 11:51:58 -0500 (0:00:00.144) 0:05:45.139 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Wednesday 13 November 2024 11:51:59 -0500 (0:00:00.124) 0:05:45.264 **** skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Wednesday 13 November 2024 11:51:59 -0500 (0:00:00.136) 0:05:45.400 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Wednesday 13 November 2024 11:51:59 -0500 (0:00:00.121) 0:05:45.522 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Wednesday 13 November 2024 11:51:59 -0500 (0:00:00.120) 0:05:45.643 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Wednesday 13 November 2024 11:52:00 -0500 (0:00:00.715) 0:05:46.359 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:29:30 EST", "ActiveEnterTimestampMonotonic": "26615787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target systemd-sysctl.service dbus.service system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:29:28 EST", "AssertTimestampMonotonic": "24670252", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:29:28 EST", "ConditionTimestampMonotonic": "24670251", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Wed 2024-11-13 11:29:28 EST", "ExecMainStartTimestampMonotonic": "24671578", "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": "Wed 2024-11-13 11:29:28 EST", "InactiveExitTimestampMonotonic": "24671623", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service 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": "Wed 2024-11-13 11:29:30 EST", "WatchdogTimestampMonotonic": "26615611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Wednesday 13 November 2024 11:52:00 -0500 (0:00:00.605) 0:05:46.965 **** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.089380", "end": "2024-11-13 11:52:01.210009", "rc": 0, "start": "2024-11-13 11:52:01.120629" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Wednesday 13 November 2024 11:52:01 -0500 (0:00:00.586) 0:05:47.551 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Wednesday 13 November 2024 11:52:01 -0500 (0:00:00.128) 0:05:47.679 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Wednesday 13 November 2024 11:52:01 -0500 (0:00:00.131) 0:05:47.811 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Wednesday 13 November 2024 11:52:01 -0500 (0:00:00.343) 0:05:48.155 **** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Wednesday 13 November 2024 11:52:02 -0500 (0:00:00.535) 0:05:48.690 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Wednesday 13 November 2024 11:52:02 -0500 (0:00:00.126) 0:05:48.817 **** ok: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Wednesday 13 November 2024 11:52:03 -0500 (0:00:00.618) 0:05:49.436 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Wednesday 13 November 2024 11:52:03 -0500 (0:00:00.082) 0:05:49.518 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Wednesday 13 November 2024 11:52:03 -0500 (0:00:00.078) 0:05:49.596 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Wednesday 13 November 2024 11:52:03 -0500 (0:00:00.081) 0:05:49.678 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Wednesday 13 November 2024 11:52:03 -0500 (0:00:00.113) 0:05:49.791 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Wednesday 13 November 2024 11:52:03 -0500 (0:00:00.130) 0:05:49.922 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Wednesday 13 November 2024 11:52:03 -0500 (0:00:00.128) 0:05:50.051 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Wednesday 13 November 2024 11:52:04 -0500 (0:00:00.127) 0:05:50.178 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Wednesday 13 November 2024 11:52:04 -0500 (0:00:00.131) 0:05:50.310 **** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005900", "end": "2024-11-13 11:52:04.486297", "rc": 0, "start": "2024-11-13 11:52:04.480397" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Wednesday 13 November 2024 11:52:04 -0500 (0:00:00.488) 0:05:50.798 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Wednesday 13 November 2024 11:52:04 -0500 (0:00:00.131) 0:05:50.929 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Wednesday 13 November 2024 11:52:06 -0500 (0:00:01.807) 0:05:52.737 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Wednesday 13 November 2024 11:52:06 -0500 (0:00:00.130) 0:05:52.868 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Wednesday 13 November 2024 11:52:06 -0500 (0:00:00.111) 0:05:52.979 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Wednesday 13 November 2024 11:52:06 -0500 (0:00:00.090) 0:05:53.070 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Wednesday 13 November 2024 11:52:06 -0500 (0:00:00.080) 0:05:53.150 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:52:07 -0500 (0:00:00.137) 0:05:53.287 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003486", "end": "2024-11-13 11:52:07.408074", "failed_when_result": false, "rc": 1, "start": "2024-11-13 11:52:07.404588" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:52:07 -0500 (0:00:00.407) 0:05:53.694 **** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.123533", "end": "2024-11-13 11:52:07.920979", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:07.797446" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.518) 0:05:54.213 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.075) 0:05:54.289 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.077) 0:05:54.367 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.076) 0:05:54.443 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.082) 0:05:54.525 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.086) 0:05:54.611 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.090) 0:05:54.702 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.242) 0:05:54.944 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.079) 0:05:55.024 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Wednesday 13 November 2024 11:52:08 -0500 (0:00:00.080) 0:05:55.104 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Wednesday 13 November 2024 11:52:09 -0500 (0:00:00.076) 0:05:55.181 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Wednesday 13 November 2024 11:52:09 -0500 (0:00:00.083) 0:05:55.264 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Wednesday 13 November 2024 11:52:09 -0500 (0:00:00.081) 0:05:55.346 **** skipping: [managed-node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Wednesday 13 November 2024 11:52:09 -0500 (0:00:00.093) 0:05:55.440 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:52:09 -0500 (0:00:00.153) 0:05:55.593 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003218", "end": "2024-11-13 11:52:09.691702", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:09.688484" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:52:09 -0500 (0:00:00.380) 0:05:55.974 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:52:09 -0500 (0:00:00.087) 0:05:56.062 **** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.121234", "end": "2024-11-13 11:52:10.288455", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:10.167221" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Wednesday 13 November 2024 11:52:10 -0500 (0:00:00.514) 0:05:56.576 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:52:10 -0500 (0:00:00.158) 0:05:56.735 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003368", "end": "2024-11-13 11:52:10.840252", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:10.836884" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:52:10 -0500 (0:00:00.389) 0:05:57.124 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:52:11 -0500 (0:00:00.089) 0:05:57.213 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.120328", "end": "2024-11-13 11:52:11.431385", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:11.311057" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Wednesday 13 November 2024 11:52:11 -0500 (0:00:00.655) 0:05:57.869 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:52:11 -0500 (0:00:00.147) 0:05:58.017 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003311", "end": "2024-11-13 11:52:12.115850", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:12.112539" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:52:12 -0500 (0:00:00.382) 0:05:58.399 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:52:12 -0500 (0:00:00.085) 0:05:58.485 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.121115", "end": "2024-11-13 11:52:12.698765", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:12.577650" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Wednesday 13 November 2024 11:52:12 -0500 (0:00:00.499) 0:05:58.984 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wednesday 13 November 2024 11:52:12 -0500 (0:00:00.149) 0:05:59.134 **** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003856", "end": "2024-11-13 11:52:13.224529", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:13.220673" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Wednesday 13 November 2024 11:52:13 -0500 (0:00:00.370) 0:05:59.504 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Wednesday 13 November 2024 11:52:13 -0500 (0:00:00.088) 0:05:59.593 **** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.125394", "end": "2024-11-13 11:52:13.815107", "failed_when_result": false, "rc": 0, "start": "2024-11-13 11:52:13.689713" } 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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Wednesday 13 November 2024 11:52:13 -0500 (0:00:00.506) 0:06:00.100 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.077) 0:06:00.178 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.077) 0:06:00.255 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.072) 0:06:00.328 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.080) 0:06:00.409 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.079) 0:06:00.488 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.235) 0:06:00.723 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.092) 0:06:00.816 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.081) 0:06:00.897 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.082) 0:06:00.980 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.077) 0:06:01.058 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Wednesday 13 November 2024 11:52:14 -0500 (0:00:00.080) 0:06:01.138 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.077) 0:06:01.216 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.079) 0:06:01.295 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.079) 0:06:01.374 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.076) 0:06:01.450 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.079) 0:06:01.530 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.076) 0:06:01.606 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.077) 0:06:01.684 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.075) 0:06:01.759 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.091) 0:06:01.851 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.078) 0:06:01.930 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.075) 0:06:02.005 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.080) 0:06:02.086 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Wednesday 13 November 2024 11:52:15 -0500 (0:00:00.075) 0:06:02.162 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.233) 0:06:02.395 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.081) 0:06:02.476 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.078) 0:06:02.555 **** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.095) 0:06:02.650 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.079) 0:06:02.729 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.078) 0:06:02.808 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.103) 0:06:02.911 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.078) 0:06:02.990 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.078) 0:06:03.069 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Wednesday 13 November 2024 11:52:16 -0500 (0:00:00.073) 0:06:03.143 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.078) 0:06:03.221 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.077) 0:06:03.299 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.079) 0:06:03.379 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.078) 0:06:03.457 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.076) 0:06:03.533 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.078) 0:06:03.612 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.075) 0:06:03.688 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.077) 0:06:03.765 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.074) 0:06:03.839 **** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Wednesday 13 November 2024 11:52:17 -0500 (0:00:00.271) 0:06:04.111 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.082) 0:06:04.193 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.077) 0:06:04.271 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.081) 0:06:04.352 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.079) 0:06:04.432 **** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.091) 0:06:04.523 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.080) 0:06:04.603 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.076) 0:06:04.679 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.082) 0:06:04.762 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Wednesday 13 November 2024 11:52:18 -0500 (0:00:00.077) 0:06:04.840 **** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wednesday 13 November 2024 11:52:19 -0500 (0:00:00.501) 0:06:05.341 **** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:51:34 EST", "ActiveEnterTimestampMonotonic": "1351266739", "ActiveExitTimestamp": "Wed 2024-11-13 11:51:34 EST", "ActiveExitTimestampMonotonic": "1351057118", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:51:34 EST", "AssertTimestampMonotonic": "1351266037", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:51:34 EST", "ConditionTimestampMonotonic": "1351266035", "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": "15228", "ExecMainStartTimestamp": "Wed 2024-11-13 11:51:34 EST", "ExecMainStartTimestampMonotonic": "1351266680", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Wed 2024-11-13 11:51:34 EST] ; stop_time=[n/a] ; pid=15228 ; 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": "Wed 2024-11-13 11:51:34 EST", "InactiveEnterTimestampMonotonic": "1351264442", "InactiveExitTimestamp": "Wed 2024-11-13 11:51:34 EST", "InactiveExitTimestampMonotonic": "1351266739", "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": "15228", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-11-13 11:51:34 EST", "WatchdogTimestampMonotonic": "1351266720", "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-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Wednesday 13 November 2024 11:52:19 -0500 (0:00:00.771) 0:06:06.113 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Wednesday 13 November 2024 11:52:20 -0500 (0:00:00.074) 0:06:06.187 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:26 Wednesday 13 November 2024 11:52:20 -0500 (0:00:00.079) 0:06:06.267 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Wednesday 13 November 2024 11:52:20 -0500 (0:00:00.144) 0:06:06.412 **** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Wednesday 13 November 2024 11:52:22 -0500 (0:00:02.071) 0:06:08.483 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Wednesday 13 November 2024 11:52:22 -0500 (0:00:00.110) 0:06:08.593 **** ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Wednesday 13 November 2024 11:52:22 -0500 (0:00:00.081) 0:06:08.674 **** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Wednesday 13 November 2024 11:52:22 -0500 (0:00:00.209) 0:06:08.884 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 13 November 2024 11:52:22 -0500 (0:00:00.160) 0:06:09.045 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Wednesday 13 November 2024 11:52:22 -0500 (0:00:00.112) 0:06:09.157 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Wednesday 13 November 2024 11:52:23 -0500 (0:00:00.971) 0:06:10.129 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Wednesday 13 November 2024 11:52:24 -0500 (0:00:00.130) 0:06:10.260 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Wednesday 13 November 2024 11:52:24 -0500 (0:00:00.534) 0:06:10.794 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Wednesday 13 November 2024 11:52:24 -0500 (0:00:00.231) 0:06:11.025 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Wednesday 13 November 2024 11:52:25 -0500 (0:00:00.656) 0:06:11.682 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Wednesday 13 November 2024 11:52:25 -0500 (0:00:00.126) 0:06:11.808 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Wednesday 13 November 2024 11:52:25 -0500 (0:00:00.132) 0:06:11.941 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Wednesday 13 November 2024 11:52:25 -0500 (0:00:00.106) 0:06:12.048 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 13 November 2024 11:52:25 -0500 (0:00:00.093) 0:06:12.141 **** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Wednesday 13 November 2024 11:52:26 -0500 (0:00:00.104) 0:06:12.246 **** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:33:53 EST", "ActiveEnterTimestampMonotonic": "289478391", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:33:52 EST", "AssertTimestampMonotonic": "289232028", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:33:52 EST", "ConditionTimestampMonotonic": "289232026", "Conflicts": "ipset.service iptables.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9681", "ExecMainStartTimestamp": "Wed 2024-11-13 11:33:52 EST", "ExecMainStartTimestampMonotonic": "289233103", "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": "Wed 2024-11-13 11:33:52 EST", "InactiveExitTimestampMonotonic": "289233147", "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": "9681", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2024-11-13 11:33:53 EST", "WatchdogTimestampMonotonic": "289478090", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Wednesday 13 November 2024 11:52:26 -0500 (0:00:00.489) 0:06:12.735 **** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-11-13 11:33:53 EST", "ActiveEnterTimestampMonotonic": "289478391", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-11-13 11:33:52 EST", "AssertTimestampMonotonic": "289232028", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-11-13 11:33:52 EST", "ConditionTimestampMonotonic": "289232026", "Conflicts": "ipset.service iptables.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9681", "ExecMainStartTimestamp": "Wed 2024-11-13 11:33:52 EST", "ExecMainStartTimestampMonotonic": "289233103", "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": "Wed 2024-11-13 11:33:52 EST", "InactiveExitTimestampMonotonic": "289233147", "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": "9681", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2024-11-13 11:33:53 EST", "WatchdogTimestampMonotonic": "289478090", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Wednesday 13 November 2024 11:52:27 -0500 (0:00:00.488) 0:06:13.224 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Wednesday 13 November 2024 11:52:27 -0500 (0:00:00.089) 0:06:13.314 **** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.35 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Wednesday 13 November 2024 11:52:27 -0500 (0:00:00.369) 0:06:13.684 **** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Wednesday 13 November 2024 11:52:27 -0500 (0:00:00.083) 0:06:13.767 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Wednesday 13 November 2024 11:52:27 -0500 (0:00:00.076) 0:06:13.843 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 13 November 2024 11:52:27 -0500 (0:00:00.081) 0:06:13.925 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Wednesday 13 November 2024 11:52:27 -0500 (0:00:00.083) 0:06:14.008 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Wednesday 13 November 2024 11:52:28 -0500 (0:00:00.212) 0:06:14.220 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Wednesday 13 November 2024 11:52:28 -0500 (0:00:00.093) 0:06:14.314 **** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.35 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Wednesday 13 November 2024 11:52:28 -0500 (0:00:00.370) 0:06:14.684 **** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Wednesday 13 November 2024 11:52:28 -0500 (0:00:00.089) 0:06:14.774 **** skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Wednesday 13 November 2024 11:52:28 -0500 (0:00:00.087) 0:06:14.862 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 13 November 2024 11:52:28 -0500 (0:00:00.197) 0:06:15.059 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 13 November 2024 11:52:29 -0500 (0:00:00.138) 0:06:15.198 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 13 November 2024 11:52:29 -0500 (0:00:00.125) 0:06:15.324 **** included: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 13 November 2024 11:52:29 -0500 (0:00:00.145) 0:06:15.469 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 13 November 2024 11:52:29 -0500 (0:00:00.369) 0:06:15.838 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Wednesday 13 November 2024 11:52:29 -0500 (0:00:00.086) 0:06:15.925 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Wednesday 13 November 2024 11:52:30 -0500 (0:00:00.528) 0:06:16.454 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Wednesday 13 November 2024 11:52:30 -0500 (0:00:00.088) 0:06:16.543 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Wednesday 13 November 2024 11:52:31 -0500 (0:00:00.683) 0:06:17.226 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Wednesday 13 November 2024 11:52:31 -0500 (0:00:00.081) 0:06:17.307 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Wednesday 13 November 2024 11:52:31 -0500 (0:00:00.093) 0:06:17.401 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Wednesday 13 November 2024 11:52:31 -0500 (0:00:00.083) 0:06:17.485 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Wednesday 13 November 2024 11:52:31 -0500 (0:00:00.076) 0:06:17.561 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Wednesday 13 November 2024 11:52:31 -0500 (0:00:00.090) 0:06:17.652 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Wednesday 13 November 2024 11:52:31 -0500 (0:00:00.120) 0:06:17.772 **** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 13 November 2024 11:52:32 -0500 (0:00:00.666) 0:06:18.439 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Wednesday 13 November 2024 11:52:32 -0500 (0:00:00.079) 0:06:18.519 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Wednesday 13 November 2024 11:52:32 -0500 (0:00:00.075) 0:06:18.595 **** ok: [managed-node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Wednesday 13 November 2024 11:52:32 -0500 (0:00:00.083) 0:06:18.678 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Wednesday 13 November 2024 11:52:32 -0500 (0:00:00.070) 0:06:18.749 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Wednesday 13 November 2024 11:52:32 -0500 (0:00:00.105) 0:06:18.855 **** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.359026", "end": "2024-11-13 11:52:33.338443", "rc": 0, "start": "2024-11-13 11:52:32.979417" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Wednesday 13 November 2024 11:52:33 -0500 (0:00:00.764) 0:06:19.620 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 13 November 2024 11:52:33 -0500 (0:00:00.082) 0:06:19.702 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Wednesday 13 November 2024 11:52:33 -0500 (0:00:00.108) 0:06:19.811 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Wednesday 13 November 2024 11:52:33 -0500 (0:00:00.124) 0:06:19.936 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 13 November 2024 11:52:33 -0500 (0:00:00.122) 0:06:20.059 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Wednesday 13 November 2024 11:52:33 -0500 (0:00:00.113) 0:06:20.172 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Wednesday 13 November 2024 11:52:34 -0500 (0:00:00.105) 0:06:20.278 **** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Wednesday 13 November 2024 11:52:34 -0500 (0:00:00.100) 0:06:20.378 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Wednesday 13 November 2024 11:52:34 -0500 (0:00:00.093) 0:06:20.472 **** ok: [managed-node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Wednesday 13 November 2024 11:52:37 -0500 (0:00:03.057) 0:06:23.530 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Wednesday 13 November 2024 11:52:37 -0500 (0:00:00.236) 0:06:23.766 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Wednesday 13 November 2024 11:52:37 -0500 (0:00:00.103) 0:06:23.870 **** TASK [Leave realm] ************************************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Wednesday 13 November 2024 11:52:37 -0500 (0:00:00.103) 0:06:23.974 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Wednesday 13 November 2024 11:52:37 -0500 (0:00:00.143) 0:06:24.117 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Wednesday 13 November 2024 11:52:38 -0500 (0:00:00.142) 0:06:24.259 **** ok: [managed-node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Wednesday 13 November 2024 11:52:38 -0500 (0:00:00.505) 0:06:24.764 **** changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/17 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/17 \n Verifying : lsof-4.87-6.el7.x86_64 8/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Wednesday 13 November 2024 11:52:42 -0500 (0:00:03.902) 0:06:28.667 **** [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed-node1] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.010694", "end": "2024-11-13 11:52:42.813529", "rc": 0, "start": "2024-11-13 11:52:42.802835" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/ed9f4e05-7408-48dd-9e05-c17b11860977’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759903427200000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133759903432230000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133759900298260000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133759900604770000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759900598020000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133759902979350000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759901723950000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759902287490000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/system_health_0_133759902292450000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133759900345180000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759901141540000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759902973560000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759900291380000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/system_health_0_133759901729410000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133759900339090000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133759901146780000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Wednesday 13 November 2024 11:52:42 -0500 (0:00:00.483) 0:06:29.150 **** ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.557366", "end": "2024-11-13 11:52:43.791340", "rc": 0, "start": "2024-11-13 11:52:43.233974" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Wednesday 13 November 2024 11:52:43 -0500 (0:00:00.869) 0:06:30.019 **** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.848483", "end": "2024-11-13 11:52:46.141769", "rc": 0, "start": "2024-11-13 11:52:44.293286" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=389 changed=57 unreachable=0 failed=0 skipped=880 rescued=0 ignored=0 Wednesday 13 November 2024 11:52:46 -0500 (0:00:02.356) 0:06:32.376 **** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 40.84s /tmp/collections-RNa/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.75s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.52s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Remove related packages ------------------------------------------------- 3.90s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.06s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Test with certs created by the certificate role ------------------------- 2.67s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.36s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Gather package facts ---------------------------------------------------- 2.07s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Wait for mssql-server to prepare for client connections ----------------- 1.98s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.98s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wait for mssql-server to prepare for client connections ----------------- 1.88s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.86s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.81s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.81s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.77s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.66s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Get the setting network tlskey -------- 1.66s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Disable TLS encryption -------------------------------------------------- 1.59s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.55s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.55s /tmp/collections-RNa/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101