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-uR7/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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:5 Friday 04 October 2024 22:43:40 -0400 (0:00:00.023) 0:00:00.023 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-8t9/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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Friday 04 October 2024 22:43:40 -0400 (0:00:00.019) 0:00:00.043 ******** ok: [managed-node2] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:23 Friday 04 October 2024 22:43:41 -0400 (0:00:00.881) 0:00:00.924 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed-node2 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 04 October 2024 22:43:41 -0400 (0:00:00.099) 0:00:01.024 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node2 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 04 October 2024 22:43:41 -0400 (0:00:00.035) 0:00:01.059 ******** ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 04 October 2024 22:43:42 -0400 (0:00:00.345) 0:00:01.404 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 04 October 2024 22:43:42 -0400 (0:00:00.022) 0:00:01.427 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 04 October 2024 22:43:42 -0400 (0:00:00.022) 0:00:01.449 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } lsrpackages: openssl TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 04 October 2024 22:43:42 -0400 (0:00:00.722) 0:00:02.172 ******** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.blCY0E", "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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 04 October 2024 22:43:43 -0400 (0:00:00.352) 0:00:02.524 ******** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.iRZK3k", "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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 04 October 2024 22:43:43 -0400 (0:00:00.274) 0:00:02.798 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.8.14", "-out", "/tmp/ansible.blCY0E", "-keyout", "/tmp/ansible.iRZK3k", "-days", "365" ], "delta": "0:00:00.069881", "end": "2024-10-04 22:43:43.980909", "rc": 0, "start": "2024-10-04 22:43:43.911028" } STDERR: Generating a 2048 bit RSA private key .......................+++ ................................+++ writing new private key to '/tmp/ansible.iRZK3k' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 04 October 2024 22:43:44 -0400 (0:00:00.422) 0:00:03.220 ******** changed: [managed-node2] => (item=/tmp/ansible.blCY0E) => { "ansible_loop_var": "item", "changed": true, "checksum": "0a76ea3ace49f20f34e2be0e65f56f32520cf21e", "dest": "/tmp/ansible.blCY0E", "item": "/tmp/ansible.blCY0E", "md5sum": "2f0354d8d849583ad752588f1533b849", "remote_checksum": "0a76ea3ace49f20f34e2be0e65f56f32520cf21e", "remote_md5sum": null } changed: [managed-node2] => (item=/tmp/ansible.iRZK3k) => { "ansible_loop_var": "item", "changed": true, "checksum": "6831a53bcd885361f54d18168f644fd3b6157b11", "dest": "/tmp/ansible.iRZK3k", "item": "/tmp/ansible.iRZK3k", "md5sum": "eb4ca5692b1098cf84d4f0e770ca9370", "remote_checksum": "6831a53bcd885361f54d18168f644fd3b6157b11", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 04 October 2024 22:43:44 -0400 (0:00:00.736) 0:00:03.957 ******** changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "6831a53bcd885361f54d18168f644fd3b6157b11", "dest": "./ansible.iRZK3k", "gid": 0, "group": "root", "md5sum": "eb4ca5692b1098cf84d4f0e770ca9370", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1728096224.78-5802-192216879614671/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 04 October 2024 22:43:45 -0400 (0:00:00.397) 0:00:04.354 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.blCY0E", "mssql_tls_private_key": "ansible.iRZK3k" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 04 October 2024 22:43:45 -0400 (0:00:00.023) 0:00:04.378 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 October 2024 22:43:45 -0400 (0:00:00.323) 0:00:04.701 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 October 2024 22:43:45 -0400 (0:00:00.029) 0:00:04.730 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 October 2024 22:43:45 -0400 (0:00:00.024) 0:00:04.754 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 October 2024 22:43:45 -0400 (0:00:00.058) 0:00:04.813 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 October 2024 22:43:45 -0400 (0:00:00.020) 0:00:04.834 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 October 2024 22:43:45 -0400 (0:00:00.021) 0:00:04.855 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 October 2024 22:43:45 -0400 (0:00:00.020) 0:00:04.875 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 October 2024 22:43:45 -0400 (0:00:00.020) 0:00:04.896 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 October 2024 22:43:45 -0400 (0:00:00.020) 0:00:04.917 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 October 2024 22:43:45 -0400 (0:00:00.019) 0:00:04.936 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 October 2024 22:43:45 -0400 (0:00:00.020) 0:00:04.957 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 October 2024 22:43:45 -0400 (0:00:00.019) 0:00:04.977 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 04 October 2024 22:43:45 -0400 (0:00:00.019) 0:00:04.997 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 04 October 2024 22:43:45 -0400 (0:00:00.022) 0:00:05.019 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 04 October 2024 22:43:45 -0400 (0:00:00.027) 0:00:05.046 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 04 October 2024 22:43:45 -0400 (0:00:00.019) 0:00:05.066 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 04 October 2024 22:43:45 -0400 (0:00:00.021) 0:00:05.087 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 October 2024 22:43:45 -0400 (0:00:00.019) 0:00:05.107 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 04 October 2024 22:43:45 -0400 (0:00:00.019) 0:00:05.126 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 04 October 2024 22:43:45 -0400 (0:00:00.022) 0:00:05.148 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 04 October 2024 22:43:45 -0400 (0:00:00.021) 0:00:05.170 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 04 October 2024 22:43:47 -0400 (0:00:01.380) 0:00:06.550 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 04 October 2024 22:43:47 -0400 (0:00:00.105) 0:00:06.656 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 04 October 2024 22:43:47 -0400 (0:00:00.067) 0:00:06.724 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 04 October 2024 22:43:47 -0400 (0:00:00.059) 0:00:06.783 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 04 October 2024 22:43:47 -0400 (0:00:00.089) 0:00:06.873 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 04 October 2024 22:43:48 -0400 (0:00:00.705) 0:00:07.578 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 04 October 2024 22:43:48 -0400 (0:00:00.055) 0:00:07.633 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 04 October 2024 22:43:48 -0400 (0:00:00.057) 0:00:07.691 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 04 October 2024 22:43:48 -0400 (0:00:00.068) 0:00:07.760 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 04 October 2024 22:43:48 -0400 (0:00:00.092) 0:00:07.853 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 04 October 2024 22:43:48 -0400 (0:00:00.057) 0:00:07.910 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 04 October 2024 22:43:48 -0400 (0:00:00.058) 0:00:07.969 ******** changed: [managed-node2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 04 October 2024 22:43:49 -0400 (0:00:00.437) 0:00:08.407 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 04 October 2024 22:43:49 -0400 (0:00:00.056) 0:00:08.463 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 October 2024 22:43:49 -0400 (0:00:00.549) 0:00:09.013 ******** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: 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--> 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\nTransaction Summary\n================================================================================\nInstall 1 Package (+7 Dependent packages)\n\nTotal size: 232 M\nInstalled size: 1.1 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/8 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/8 \n Installing : gdb-7.6.1-120.el7.x86_64 3/8 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/8 \n Installing : lsof-4.87-6.el7.x86_64 5/8 \n Installing : bzip2-1.0.6-13.el7.x86_64 6/8 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 7/8 \n Installing : mssql-server-15.0.4375.4-1.x86_64 8/8 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/8 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/8 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/8 \n Verifying : lsof-4.87-6.el7.x86_64 4/8 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 5/8 \n Verifying : gdb-7.6.1-120.el7.x86_64 6/8 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/8 \n Verifying : libatomic-4.8.5-44.el7.x86_64 8/8 \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\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 04 October 2024 22:44:26 -0400 (0:00:36.542) 0:00:45.556 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 04 October 2024 22:44:26 -0400 (0:00:00.107) 0:00:45.663 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006023", "end": "2024-10-04 22:44:26.701950", "rc": 0, "start": "2024-10-04 22:44:26.695927" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 04 October 2024 22:44:26 -0400 (0:00:00.314) 0:00:45.978 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 04 October 2024 22:44:27 -0400 (0:00:00.961) 0:00:46.940 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 04 October 2024 22:44:27 -0400 (0:00:00.084) 0:00:47.024 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 04 October 2024 22:44:27 -0400 (0:00:00.069) 0:00:47.094 ******** changed: [managed-node2] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 04 October 2024 22:44:33 -0400 (0:00:05.608) 0:00:52.703 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 04 October 2024 22:44:33 -0400 (0:00:00.132) 0:00:52.836 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 04 October 2024 22:44:33 -0400 (0:00:00.094) 0:00:52.931 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 04 October 2024 22:44:33 -0400 (0:00:00.100) 0:00:53.031 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 04 October 2024 22:44:34 -0400 (0:00:00.850) 0:00:53.881 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:26:39 EDT", "ActiveEnterTimestampMonotonic": "15691731", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:26:38 EDT", "AssertTimestampMonotonic": "14679338", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ConditionTimestampMonotonic": "14679337", "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": "852", "ExecMainStartTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ExecMainStartTimestampMonotonic": "14681171", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:26:38 EDT", "InactiveExitTimestampMonotonic": "14681233", "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": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:26:39 EDT", "WatchdogTimestampMonotonic": "15691479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 October 2024 22:44:35 -0400 (0:00:01.027) 0:00:54.909 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.167326", "end": "2024-10-04 22:44:36.314194", "rc": 0, "start": "2024-10-04 22:44:36.146868" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 04 October 2024 22:44:36 -0400 (0:00:00.751) 0:00:55.661 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 04 October 2024 22:44:36 -0400 (0:00:00.104) 0:00:55.765 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 04 October 2024 22:44:36 -0400 (0:00:00.105) 0:00:55.870 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 04 October 2024 22:44:36 -0400 (0:00:00.116) 0:00:55.986 ******** changed: [managed-node2] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 04 October 2024 22:44:37 -0400 (0:00:00.657) 0:00:56.644 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 04 October 2024 22:44:37 -0400 (0:00:00.104) 0:00:56.748 ******** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 04 October 2024 22:44:43 -0400 (0:00:05.644) 0:01:02.392 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 04 October 2024 22:44:43 -0400 (0:00:00.100) 0:01:02.492 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 04 October 2024 22:44:43 -0400 (0:00:00.105) 0:01:02.598 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 04 October 2024 22:44:43 -0400 (0:00:00.100) 0:01:02.698 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 04 October 2024 22:44:43 -0400 (0:00:00.102) 0:01:02.801 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 04 October 2024 22:44:43 -0400 (0:00:00.080) 0:01:02.881 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 04 October 2024 22:44:43 -0400 (0:00:00.120) 0:01:03.002 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 04 October 2024 22:44:43 -0400 (0:00:00.062) 0:01:03.064 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 04 October 2024 22:44:43 -0400 (0:00:00.062) 0:01:03.127 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 04 October 2024 22:44:44 -0400 (0:00:00.075) 0:01:03.203 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 04 October 2024 22:44:44 -0400 (0:00:00.061) 0:01:03.264 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 04 October 2024 22:44:44 -0400 (0:00:00.065) 0:01:03.330 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 04 October 2024 22:44:44 -0400 (0:00:00.061) 0:01:03.392 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 04 October 2024 22:44:44 -0400 (0:00:00.064) 0:01:03.456 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 04 October 2024 22:44:44 -0400 (0:00:00.063) 0:01:03.520 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 04 October 2024 22:44:44 -0400 (0:00:00.063) 0:01:03.583 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:44:44 -0400 (0:00:00.112) 0:01:03.696 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003643", "end": "2024-10-04 22:44:44.758614", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:44:44.754971" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:44:44 -0400 (0:00:00.390) 0:01:04.087 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.116230", "end": "2024-10-04 22:44:45.305093", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:44:45.188863" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:44:45 -0400 (0:00:00.560) 0:01:04.648 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 04 October 2024 22:44:45 -0400 (0:00:00.099) 0:01:04.748 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 04 October 2024 22:44:45 -0400 (0:00:00.080) 0:01:04.828 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 04 October 2024 22:44:45 -0400 (0:00:00.080) 0:01:04.908 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 October 2024 22:44:45 -0400 (0:00:00.117) 0:01:05.026 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 04 October 2024 22:44:45 -0400 (0:00:00.062) 0:01:05.089 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 04 October 2024 22:44:45 -0400 (0:00:00.064) 0:01:05.153 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 04 October 2024 22:44:46 -0400 (0:00:00.068) 0:01:05.222 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 04 October 2024 22:44:46 -0400 (0:00:00.119) 0:01:05.342 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 04 October 2024 22:44:46 -0400 (0:00:00.105) 0:01:05.447 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 04 October 2024 22:44:46 -0400 (0:00:00.101) 0:01:05.549 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 04 October 2024 22:44:46 -0400 (0:00:00.108) 0:01:05.657 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 04 October 2024 22:44:46 -0400 (0:00:00.105) 0:01:05.762 ******** changed: [managed-node2] => (item=/tmp/ansible.blCY0E) => { "ansible_loop_var": "item", "changed": true, "checksum": "0a76ea3ace49f20f34e2be0e65f56f32520cf21e", "dest": "/etc/pki/tls/certs/ansible.blCY0E", "gid": 994, "group": "mssql", "item": "/tmp/ansible.blCY0E", "md5sum": "2f0354d8d849583ad752588f1533b849", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1728096286.64-7192-51027987980036/source", "state": "file", "uid": 996 } changed: [managed-node2] => (item=ansible.iRZK3k) => { "ansible_loop_var": "item", "changed": true, "checksum": "6831a53bcd885361f54d18168f644fd3b6157b11", "dest": "/etc/pki/tls/private/ansible.iRZK3k", "gid": 994, "group": "mssql", "item": "ansible.iRZK3k", "md5sum": "eb4ca5692b1098cf84d4f0e770ca9370", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1728096287.21-7192-110214496938283/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 04 October 2024 22:44:47 -0400 (0:00:01.195) 0:01:06.958 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:44:47 -0400 (0:00:00.121) 0:01:07.079 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003110", "end": "2024-10-04 22:44:48.116620", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:44:48.113510" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:44:48 -0400 (0:00:00.372) 0:01:07.452 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.blCY0E" ], "delta": "0:00:00.117388", "end": "2024-10-04 22:44:48.630504", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:44:48.513116" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:44:48 -0400 (0:00:00.492) 0:01:07.945 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 04 October 2024 22:44:48 -0400 (0:00:00.118) 0:01:08.064 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:44:48 -0400 (0:00:00.124) 0:01:08.188 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003112", "end": "2024-10-04 22:44:49.229034", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:44:49.225922" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:44:49 -0400 (0:00:00.323) 0:01:08.512 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.iRZK3k" ], "delta": "0:00:00.114330", "end": "2024-10-04 22:44:49.680646", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:44:49.566316" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:44:49 -0400 (0:00:00.500) 0:01:09.012 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 04 October 2024 22:44:49 -0400 (0:00:00.109) 0:01:09.121 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:44:50 -0400 (0:00:00.203) 0:01:09.325 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003237", "end": "2024-10-04 22:44:50.401021", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:44:50.397784" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:44:50 -0400 (0:00:00.357) 0:01:09.682 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.115051", "end": "2024-10-04 22:44:50.852272", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:44:50.737221" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:44:50 -0400 (0:00:00.480) 0:01:10.162 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 04 October 2024 22:44:51 -0400 (0:00:00.067) 0:01:10.230 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:44:51 -0400 (0:00:00.146) 0:01:10.376 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003107", "end": "2024-10-04 22:44:51.472811", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:44:51.469704" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:44:51 -0400 (0:00:00.377) 0:01:10.753 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.115906", "end": "2024-10-04 22:44:51.973878", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:44:51.857972" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:44:52 -0400 (0:00:00.525) 0:01:11.279 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 04 October 2024 22:44:52 -0400 (0:00:00.074) 0:01:11.354 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 04 October 2024 22:44:52 -0400 (0:00:00.067) 0:01:11.421 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 04 October 2024 22:44:52 -0400 (0:00:00.096) 0:01:11.518 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 October 2024 22:44:52 -0400 (0:00:00.104) 0:01:11.623 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 04 October 2024 22:44:52 -0400 (0:00:00.108) 0:01:11.731 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 04 October 2024 22:44:52 -0400 (0:00:00.080) 0:01:11.812 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 04 October 2024 22:44:52 -0400 (0:00:00.081) 0:01:11.893 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 04 October 2024 22:44:52 -0400 (0:00:00.064) 0:01:11.958 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 04 October 2024 22:44:52 -0400 (0:00:00.066) 0:01:12.025 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 04 October 2024 22:44:52 -0400 (0:00:00.064) 0:01:12.089 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 04 October 2024 22:44:52 -0400 (0:00:00.063) 0:01:12.152 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 04 October 2024 22:44:53 -0400 (0:00:00.085) 0:01:12.238 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 04 October 2024 22:44:53 -0400 (0:00:00.095) 0:01:12.334 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 04 October 2024 22:44:53 -0400 (0:00:00.105) 0:01:12.440 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 04 October 2024 22:44:53 -0400 (0:00:00.117) 0:01:12.557 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 04 October 2024 22:44:53 -0400 (0:00:00.085) 0:01:12.642 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 04 October 2024 22:44:53 -0400 (0:00:00.081) 0:01:12.724 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 04 October 2024 22:44:53 -0400 (0:00:00.118) 0:01:12.843 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 October 2024 22:44:53 -0400 (0:00:00.072) 0:01:12.915 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 04 October 2024 22:44:53 -0400 (0:00:00.098) 0:01:13.014 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 October 2024 22:44:53 -0400 (0:00:00.095) 0:01:13.109 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 04 October 2024 22:44:53 -0400 (0:00:00.085) 0:01:13.194 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 04 October 2024 22:44:54 -0400 (0:00:00.076) 0:01:13.271 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 04 October 2024 22:44:54 -0400 (0:00:00.071) 0:01:13.342 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 04 October 2024 22:44:54 -0400 (0:00:00.101) 0:01:13.444 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 04 October 2024 22:44:54 -0400 (0:00:00.105) 0:01:13.549 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 04 October 2024 22:44:54 -0400 (0:00:00.088) 0:01:13.637 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 04 October 2024 22:44:54 -0400 (0:00:00.093) 0:01:13.731 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 04 October 2024 22:44:54 -0400 (0:00:00.062) 0:01:13.794 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 04 October 2024 22:44:54 -0400 (0:00:00.072) 0:01:13.866 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 October 2024 22:44:54 -0400 (0:00:00.119) 0:01:13.986 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 October 2024 22:44:54 -0400 (0:00:00.105) 0:01:14.092 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 04 October 2024 22:44:54 -0400 (0:00:00.084) 0:01:14.177 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 04 October 2024 22:44:55 -0400 (0:00:00.101) 0:01:14.278 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 04 October 2024 22:44:55 -0400 (0:00:00.092) 0:01:14.371 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 04 October 2024 22:44:55 -0400 (0:00:00.074) 0:01:14.445 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 04 October 2024 22:44:55 -0400 (0:00:00.113) 0:01:14.558 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 04 October 2024 22:44:55 -0400 (0:00:00.069) 0:01:14.627 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 04 October 2024 22:44:55 -0400 (0:00:00.070) 0:01:14.698 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 04 October 2024 22:44:55 -0400 (0:00:00.064) 0:01:14.762 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 04 October 2024 22:44:55 -0400 (0:00:00.063) 0:01:14.826 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 04 October 2024 22:44:55 -0400 (0:00:00.063) 0:01:14.890 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 04 October 2024 22:44:55 -0400 (0:00:00.061) 0:01:14.952 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 04 October 2024 22:44:55 -0400 (0:00:00.080) 0:01:15.032 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 04 October 2024 22:44:55 -0400 (0:00:00.062) 0:01:15.095 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 04 October 2024 22:44:55 -0400 (0:00:00.064) 0:01:15.159 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 04 October 2024 22:44:56 -0400 (0:00:00.064) 0:01:15.223 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 04 October 2024 22:44:56 -0400 (0:00:00.064) 0:01:15.288 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 04 October 2024 22:44:56 -0400 (0:00:00.074) 0:01:15.363 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 04 October 2024 22:44:56 -0400 (0:00:00.061) 0:01:15.424 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 04 October 2024 22:44:56 -0400 (0:00:00.065) 0:01:15.490 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 04 October 2024 22:44:56 -0400 (0:00:00.085) 0:01:15.576 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 04 October 2024 22:44:56 -0400 (0:00:00.100) 0:01:15.676 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 October 2024 22:44:57 -0400 (0:00:00.641) 0:01:16.318 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:44:33 EDT", "ActiveEnterTimestampMonotonic": "1089498296", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target auditd.service -.mount system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:44:33 EDT", "AssertTimestampMonotonic": "1089496526", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:44:33 EDT", "ConditionTimestampMonotonic": "1089496525", "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": "32249", "ExecMainStartTimestamp": "Fri 2024-10-04 22:44:33 EDT", "ExecMainStartTimestampMonotonic": "1089497381", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:44:33 EDT", "InactiveExitTimestampMonotonic": "1089498296", "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": "32249", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:44:33 EDT", "WatchdogTimestampMonotonic": "1089498266", "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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 04 October 2024 22:44:57 -0400 (0:00:00.814) 0:01:17.132 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 04 October 2024 22:44:58 -0400 (0:00:00.075) 0:01:17.207 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 04 October 2024 22:44:58 -0400 (0:00:00.104) 0:01:17.312 ******** changed: [managed-node2 -> localhost] => { "changed": true, "path": "ansible.iRZK3k", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 04 October 2024 22:44:58 -0400 (0:00:00.347) 0:01:17.659 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node2 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 04 October 2024 22:44:58 -0400 (0:00:00.125) 0:01:17.785 ******** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 04 October 2024 22:44:59 -0400 (0:00:00.651) 0:01:18.437 ******** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 04 October 2024 22:44:59 -0400 (0:00:00.654) 0:01:19.092 ******** ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 04 October 2024 22:45:00 -0400 (0:00:00.623) 0:01:19.715 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 04 October 2024 22:45:00 -0400 (0:00:00.198) 0:01:19.914 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 04 October 2024 22:45:00 -0400 (0:00:00.065) 0:01:19.980 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 04 October 2024 22:45:00 -0400 (0:00:00.065) 0:01:20.045 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 04 October 2024 22:45:00 -0400 (0:00:00.064) 0:01:20.110 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 04 October 2024 22:45:00 -0400 (0:00:00.065) 0:01:20.175 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 04 October 2024 22:45:01 -0400 (0:00:00.062) 0:01:20.238 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 04 October 2024 22:45:01 -0400 (0:00:00.064) 0:01:20.302 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 04 October 2024 22:45:01 -0400 (0:00:00.063) 0:01:20.366 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 04 October 2024 22:45:01 -0400 (0:00:00.064) 0:01:20.430 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 October 2024 22:45:01 -0400 (0:00:00.125) 0:01:20.556 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ActiveEnterTimestampMonotonic": "1114060179", "ActiveExitTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ActiveExitTimestampMonotonic": "1113807551", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service -.mount system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:44:57 EDT", "AssertTimestampMonotonic": "1114059209", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ConditionTimestampMonotonic": "1114059208", "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": "1115", "ExecMainStartTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ExecMainStartTimestampMonotonic": "1114060109", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:44:57 EDT", "InactiveEnterTimestampMonotonic": "1114058066", "InactiveExitTimestamp": "Fri 2024-10-04 22:44:57 EDT", "InactiveExitTimestampMonotonic": "1114060179", "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": "1115", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:44:57 EDT", "WatchdogTimestampMonotonic": "1114060157", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 October 2024 22:45:02 -0400 (0:00:00.711) 0:01:21.268 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003119", "end": "2024-10-04 22:45:02.320339", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:45:02.317220" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 October 2024 22:45:02 -0400 (0:00:00.334) 0:01:21.603 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003140", "end": "2024-10-04 22:45:02.644687", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:45:02.641547" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 October 2024 22:45:02 -0400 (0:00:00.325) 0:01:21.928 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 04 October 2024 22:45:02 -0400 (0:00:00.126) 0:01:22.055 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 04 October 2024 22:45:04 -0400 (0:00:01.465) 0:01:23.520 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023766", "end": "2024-10-04 22:45:04.622476", "rc": 0, "start": "2024-10-04 22:45:04.598710" } 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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 04 October 2024 22:45:04 -0400 (0:00:00.440) 0:01:23.961 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 04 October 2024 22:45:04 -0400 (0:00:00.091) 0:01:24.052 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 04 October 2024 22:45:04 -0400 (0:00:00.079) 0:01:24.131 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 04 October 2024 22:45:05 -0400 (0:00:00.063) 0:01:24.195 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 04 October 2024 22:45:05 -0400 (0:00:00.089) 0:01:24.284 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 04 October 2024 22:45:05 -0400 (0:00:00.098) 0:01:24.383 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 04 October 2024 22:45:05 -0400 (0:00:00.080) 0:01:24.463 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 04 October 2024 22:45:05 -0400 (0:00:00.078) 0:01:24.542 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 04 October 2024 22:45:05 -0400 (0:00:00.066) 0:01:24.608 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:05 -0400 (0:00:00.119) 0:01:24.728 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004213", "end": "2024-10-04 22:45:05.789866", "rc": 0, "start": "2024-10-04 22:45:05.785653" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.blCY0E TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:05 -0400 (0:00:00.453) 0:01:25.182 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:06 -0400 (0:00:00.133) 0:01:25.316 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.blCY0E] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:06 -0400 (0:00:00.114) 0:01:25.430 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 04 October 2024 22:45:06 -0400 (0:00:00.108) 0:01:25.539 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:06 -0400 (0:00:00.197) 0:01:25.737 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004207", "end": "2024-10-04 22:45:06.819807", "rc": 0, "start": "2024-10-04 22:45:06.815600" } STDOUT: tlskey = /etc/pki/tls/private/ansible.iRZK3k TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:06 -0400 (0:00:00.432) 0:01:26.169 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:07 -0400 (0:00:00.130) 0:01:26.300 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.iRZK3k] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:07 -0400 (0:00:00.112) 0:01:26.412 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 04 October 2024 22:45:07 -0400 (0:00:00.107) 0:01:26.519 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:07 -0400 (0:00:00.198) 0:01:26.718 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004442", "end": "2024-10-04 22:45:07.801106", "rc": 0, "start": "2024-10-04 22:45:07.796664" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:07 -0400 (0:00:00.419) 0:01:27.137 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:08 -0400 (0:00:00.138) 0:01:27.276 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:08 -0400 (0:00:00.110) 0:01:27.387 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 04 October 2024 22:45:08 -0400 (0:00:00.104) 0:01:27.491 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:08 -0400 (0:00:00.267) 0:01:27.759 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004287", "end": "2024-10-04 22:45:08.838798", "rc": 0, "start": "2024-10-04 22:45:08.834511" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:08 -0400 (0:00:00.408) 0:01:28.167 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:09 -0400 (0:00:00.126) 0:01:28.294 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:09 -0400 (0:00:00.134) 0:01:28.428 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 04 October 2024 22:45:09 -0400 (0:00:00.108) 0:01:28.537 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 04 October 2024 22:45:09 -0400 (0:00:00.097) 0:01:28.634 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 October 2024 22:45:09 -0400 (0:00:00.527) 0:01:29.162 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 October 2024 22:45:10 -0400 (0:00:00.209) 0:01:29.372 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 October 2024 22:45:10 -0400 (0:00:00.126) 0:01:29.498 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 October 2024 22:45:10 -0400 (0:00:00.160) 0:01:29.658 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 October 2024 22:45:10 -0400 (0:00:00.101) 0:01:29.760 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 October 2024 22:45:10 -0400 (0:00:00.101) 0:01:29.861 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 October 2024 22:45:10 -0400 (0:00:00.179) 0:01:30.040 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 October 2024 22:45:10 -0400 (0:00:00.101) 0:01:30.142 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 October 2024 22:45:11 -0400 (0:00:00.098) 0:01:30.240 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 October 2024 22:45:11 -0400 (0:00:00.102) 0:01:30.343 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 October 2024 22:45:11 -0400 (0:00:00.105) 0:01:30.448 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 October 2024 22:45:11 -0400 (0:00:00.100) 0:01:30.549 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 04 October 2024 22:45:11 -0400 (0:00:00.103) 0:01:30.653 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 04 October 2024 22:45:11 -0400 (0:00:00.104) 0:01:30.757 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 04 October 2024 22:45:11 -0400 (0:00:00.113) 0:01:30.870 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 04 October 2024 22:45:11 -0400 (0:00:00.107) 0:01:30.978 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 04 October 2024 22:45:11 -0400 (0:00:00.102) 0:01:31.080 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 October 2024 22:45:11 -0400 (0:00:00.106) 0:01:31.186 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 04 October 2024 22:45:12 -0400 (0:00:00.105) 0:01:31.292 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 04 October 2024 22:45:12 -0400 (0:00:00.111) 0:01:31.403 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 04 October 2024 22:45:12 -0400 (0:00:00.106) 0:01:31.509 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 04 October 2024 22:45:13 -0400 (0:00:01.562) 0:01:33.072 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 04 October 2024 22:45:14 -0400 (0:00:00.316) 0:01:33.389 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 04 October 2024 22:45:14 -0400 (0:00:00.089) 0:01:33.478 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 04 October 2024 22:45:14 -0400 (0:00:00.080) 0:01:33.559 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 04 October 2024 22:45:14 -0400 (0:00:00.215) 0:01:33.774 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 04 October 2024 22:45:15 -0400 (0:00:00.786) 0:01:34.561 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 04 October 2024 22:45:15 -0400 (0:00:00.208) 0:01:34.769 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 04 October 2024 22:45:15 -0400 (0:00:00.129) 0:01:34.898 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 04 October 2024 22:45:15 -0400 (0:00:00.138) 0:01:35.036 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 04 October 2024 22:45:15 -0400 (0:00:00.109) 0:01:35.146 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 04 October 2024 22:45:16 -0400 (0:00:00.127) 0:01:35.274 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 04 October 2024 22:45:16 -0400 (0:00:00.119) 0:01:35.394 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 04 October 2024 22:45:16 -0400 (0:00:00.141) 0:01:35.536 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 04 October 2024 22:45:16 -0400 (0:00:00.131) 0:01:35.667 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 October 2024 22:45:17 -0400 (0:00:00.739) 0:01:36.406 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 04 October 2024 22:45:17 -0400 (0:00:00.668) 0:01:37.074 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 04 October 2024 22:45:18 -0400 (0:00:00.175) 0:01:37.249 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005194", "end": "2024-10-04 22:45:18.353392", "rc": 0, "start": "2024-10-04 22:45:18.348198" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 04 October 2024 22:45:18 -0400 (0:00:00.438) 0:01:37.688 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 04 October 2024 22:45:19 -0400 (0:00:01.092) 0:01:38.780 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 04 October 2024 22:45:19 -0400 (0:00:00.138) 0:01:38.919 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 04 October 2024 22:45:19 -0400 (0:00:00.109) 0:01:39.029 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 04 October 2024 22:45:19 -0400 (0:00:00.105) 0:01:39.134 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 04 October 2024 22:45:20 -0400 (0:00:00.129) 0:01:39.264 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 04 October 2024 22:45:20 -0400 (0:00:00.102) 0:01:39.366 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 04 October 2024 22:45:20 -0400 (0:00:00.100) 0:01:39.467 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 04 October 2024 22:45:20 -0400 (0:00:00.631) 0:01:40.099 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:26:39 EDT", "ActiveEnterTimestampMonotonic": "15691731", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:26:38 EDT", "AssertTimestampMonotonic": "14679338", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ConditionTimestampMonotonic": "14679337", "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": "852", "ExecMainStartTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ExecMainStartTimestampMonotonic": "14681171", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:26:38 EDT", "InactiveExitTimestampMonotonic": "14681233", "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": "852", "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": "Fri 2024-10-04 22:26:39 EDT", "WatchdogTimestampMonotonic": "15691479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 October 2024 22:45:21 -0400 (0:00:00.837) 0:01:40.936 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084699", "end": "2024-10-04 22:45:22.315915", "rc": 0, "start": "2024-10-04 22:45:22.231216" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 04 October 2024 22:45:22 -0400 (0:00:00.824) 0:01:41.761 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 04 October 2024 22:45:22 -0400 (0:00:00.162) 0:01:41.924 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 04 October 2024 22:45:23 -0400 (0:00:00.304) 0:01:42.228 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 04 October 2024 22:45:23 -0400 (0:00:00.196) 0:01:42.424 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 04 October 2024 22:45:24 -0400 (0:00:00.841) 0:01:43.265 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 04 October 2024 22:45:24 -0400 (0:00:00.129) 0:01:43.395 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 04 October 2024 22:45:24 -0400 (0:00:00.760) 0:01:44.156 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 04 October 2024 22:45:25 -0400 (0:00:00.107) 0:01:44.264 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 04 October 2024 22:45:25 -0400 (0:00:00.108) 0:01:44.372 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 04 October 2024 22:45:25 -0400 (0:00:00.116) 0:01:44.488 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 04 October 2024 22:45:25 -0400 (0:00:00.123) 0:01:44.612 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 04 October 2024 22:45:25 -0400 (0:00:00.207) 0:01:44.820 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 04 October 2024 22:45:25 -0400 (0:00:00.182) 0:01:45.002 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 04 October 2024 22:45:25 -0400 (0:00:00.190) 0:01:45.192 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 04 October 2024 22:45:26 -0400 (0:00:00.250) 0:01:45.442 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004908", "end": "2024-10-04 22:45:26.708578", "rc": 0, "start": "2024-10-04 22:45:26.703670" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 04 October 2024 22:45:26 -0400 (0:00:00.597) 0:01:46.039 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 04 October 2024 22:45:27 -0400 (0:00:00.168) 0:01:46.208 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 04 October 2024 22:45:28 -0400 (0:00:01.393) 0:01:47.601 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 04 October 2024 22:45:28 -0400 (0:00:00.137) 0:01:47.738 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 04 October 2024 22:45:28 -0400 (0:00:00.126) 0:01:47.865 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 04 October 2024 22:45:28 -0400 (0:00:00.226) 0:01:48.091 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 04 October 2024 22:45:29 -0400 (0:00:00.224) 0:01:48.315 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:45:29 -0400 (0:00:00.347) 0:01:48.662 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003383", "end": "2024-10-04 22:45:29.953150", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:45:29.949767" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:45:30 -0400 (0:00:00.622) 0:01:49.285 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118050", "end": "2024-10-04 22:45:30.497683", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:30.379633" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:45:30 -0400 (0:00:00.673) 0:01:49.959 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 04 October 2024 22:45:30 -0400 (0:00:00.178) 0:01:50.137 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 04 October 2024 22:45:31 -0400 (0:00:00.182) 0:01:50.320 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 04 October 2024 22:45:31 -0400 (0:00:00.216) 0:01:50.536 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 October 2024 22:45:31 -0400 (0:00:00.149) 0:01:50.686 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 04 October 2024 22:45:31 -0400 (0:00:00.212) 0:01:50.898 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 04 October 2024 22:45:31 -0400 (0:00:00.111) 0:01:51.010 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 04 October 2024 22:45:31 -0400 (0:00:00.172) 0:01:51.183 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 04 October 2024 22:45:32 -0400 (0:00:00.125) 0:01:51.309 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 04 October 2024 22:45:32 -0400 (0:00:00.146) 0:01:51.456 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 04 October 2024 22:45:32 -0400 (0:00:00.119) 0:01:51.576 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 04 October 2024 22:45:32 -0400 (0:00:00.084) 0:01:51.660 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 04 October 2024 22:45:32 -0400 (0:00:00.092) 0:01:51.752 ******** skipping: [managed-node2] => (item=/tmp/ansible.blCY0E) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.blCY0E", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.iRZK3k) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.iRZK3k", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 04 October 2024 22:45:32 -0400 (0:00:00.087) 0:01:51.840 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:45:32 -0400 (0:00:00.187) 0:01:52.028 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003191", "end": "2024-10-04 22:45:33.087717", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:33.084526" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.blCY0E TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:45:33 -0400 (0:00:00.346) 0:01:52.374 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:45:33 -0400 (0:00:00.078) 0:01:52.453 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.114590", "end": "2024-10-04 22:45:33.639968", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:33.525378" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 04 October 2024 22:45:33 -0400 (0:00:00.528) 0:01:52.981 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:45:34 -0400 (0:00:00.218) 0:01:53.200 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003166", "end": "2024-10-04 22:45:34.429515", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:34.426349" } STDOUT: tlskey = /etc/pki/tls/private/ansible.iRZK3k TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:45:34 -0400 (0:00:00.642) 0:01:53.843 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:45:34 -0400 (0:00:00.104) 0:01:53.947 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.116714", "end": "2024-10-04 22:45:35.122472", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:35.005758" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 04 October 2024 22:45:35 -0400 (0:00:00.522) 0:01:54.470 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:45:35 -0400 (0:00:00.304) 0:01:54.775 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003189", "end": "2024-10-04 22:45:36.112617", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:36.109428" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:45:36 -0400 (0:00:00.718) 0:01:55.493 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:45:36 -0400 (0:00:00.144) 0:01:55.638 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.113811", "end": "2024-10-04 22:45:36.829245", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:36.715434" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 04 October 2024 22:45:36 -0400 (0:00:00.504) 0:01:56.142 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:45:37 -0400 (0:00:00.235) 0:01:56.377 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003308", "end": "2024-10-04 22:45:37.460889", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:37.457581" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:45:37 -0400 (0:00:00.414) 0:01:56.791 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:45:37 -0400 (0:00:00.088) 0:01:56.879 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.114836", "end": "2024-10-04 22:45:38.135263", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:45:38.020427" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 04 October 2024 22:45:38 -0400 (0:00:00.630) 0:01:57.510 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 04 October 2024 22:45:38 -0400 (0:00:00.138) 0:01:57.649 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 04 October 2024 22:45:38 -0400 (0:00:00.153) 0:01:57.802 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 October 2024 22:45:38 -0400 (0:00:00.101) 0:01:57.904 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 04 October 2024 22:45:38 -0400 (0:00:00.111) 0:01:58.016 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 04 October 2024 22:45:38 -0400 (0:00:00.093) 0:01:58.109 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 04 October 2024 22:45:39 -0400 (0:00:00.089) 0:01:58.199 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 04 October 2024 22:45:39 -0400 (0:00:00.073) 0:01:58.272 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 04 October 2024 22:45:39 -0400 (0:00:00.068) 0:01:58.340 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 04 October 2024 22:45:39 -0400 (0:00:00.097) 0:01:58.437 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 04 October 2024 22:45:39 -0400 (0:00:00.118) 0:01:58.556 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 04 October 2024 22:45:39 -0400 (0:00:00.138) 0:01:58.695 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 04 October 2024 22:45:39 -0400 (0:00:00.230) 0:01:58.925 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 04 October 2024 22:45:39 -0400 (0:00:00.174) 0:01:59.100 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 04 October 2024 22:45:40 -0400 (0:00:00.153) 0:01:59.253 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 04 October 2024 22:45:40 -0400 (0:00:00.106) 0:01:59.360 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 04 October 2024 22:45:40 -0400 (0:00:00.106) 0:01:59.466 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 04 October 2024 22:45:40 -0400 (0:00:00.114) 0:01:59.580 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 October 2024 22:45:40 -0400 (0:00:00.130) 0:01:59.710 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 04 October 2024 22:45:40 -0400 (0:00:00.110) 0:01:59.820 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 October 2024 22:45:40 -0400 (0:00:00.133) 0:01:59.954 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 04 October 2024 22:45:40 -0400 (0:00:00.116) 0:02:00.070 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 04 October 2024 22:45:41 -0400 (0:00:00.251) 0:02:00.321 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 04 October 2024 22:45:41 -0400 (0:00:00.130) 0:02:00.452 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 04 October 2024 22:45:41 -0400 (0:00:00.112) 0:02:00.564 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 04 October 2024 22:45:41 -0400 (0:00:00.136) 0:02:00.700 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 04 October 2024 22:45:41 -0400 (0:00:00.106) 0:02:00.807 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 04 October 2024 22:45:41 -0400 (0:00:00.128) 0:02:00.936 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 04 October 2024 22:45:41 -0400 (0:00:00.116) 0:02:01.052 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 04 October 2024 22:45:41 -0400 (0:00:00.109) 0:02:01.161 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 October 2024 22:45:42 -0400 (0:00:00.119) 0:02:01.281 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 October 2024 22:45:42 -0400 (0:00:00.075) 0:02:01.357 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 04 October 2024 22:45:42 -0400 (0:00:00.102) 0:02:01.459 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 04 October 2024 22:45:42 -0400 (0:00:00.182) 0:02:01.642 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 04 October 2024 22:45:42 -0400 (0:00:00.121) 0:02:01.763 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 04 October 2024 22:45:42 -0400 (0:00:00.132) 0:02:01.896 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 04 October 2024 22:45:42 -0400 (0:00:00.107) 0:02:02.003 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 04 October 2024 22:45:42 -0400 (0:00:00.090) 0:02:02.093 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 04 October 2024 22:45:42 -0400 (0:00:00.070) 0:02:02.164 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 04 October 2024 22:45:43 -0400 (0:00:00.078) 0:02:02.242 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 04 October 2024 22:45:43 -0400 (0:00:00.186) 0:02:02.428 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 04 October 2024 22:45:43 -0400 (0:00:00.294) 0:02:02.723 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 04 October 2024 22:45:43 -0400 (0:00:00.157) 0:02:02.881 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 04 October 2024 22:45:43 -0400 (0:00:00.163) 0:02:03.044 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 04 October 2024 22:45:43 -0400 (0:00:00.108) 0:02:03.152 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 04 October 2024 22:45:44 -0400 (0:00:00.118) 0:02:03.270 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 04 October 2024 22:45:44 -0400 (0:00:00.131) 0:02:03.402 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 04 October 2024 22:45:44 -0400 (0:00:00.127) 0:02:03.529 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 04 October 2024 22:45:44 -0400 (0:00:00.136) 0:02:03.665 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 04 October 2024 22:45:44 -0400 (0:00:00.119) 0:02:03.785 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 04 October 2024 22:45:44 -0400 (0:00:00.144) 0:02:03.929 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 04 October 2024 22:45:44 -0400 (0:00:00.116) 0:02:04.046 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 04 October 2024 22:45:44 -0400 (0:00:00.123) 0:02:04.169 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 October 2024 22:45:45 -0400 (0:00:00.614) 0:02:04.784 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ActiveEnterTimestampMonotonic": "1114060179", "ActiveExitTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ActiveExitTimestampMonotonic": "1113807551", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service -.mount system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:44:57 EDT", "AssertTimestampMonotonic": "1114059209", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ConditionTimestampMonotonic": "1114059208", "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": "1115", "ExecMainStartTimestamp": "Fri 2024-10-04 22:44:57 EDT", "ExecMainStartTimestampMonotonic": "1114060109", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:44:57 EDT", "InactiveEnterTimestampMonotonic": "1114058066", "InactiveExitTimestamp": "Fri 2024-10-04 22:44:57 EDT", "InactiveExitTimestampMonotonic": "1114060179", "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": "1115", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:44:57 EDT", "WatchdogTimestampMonotonic": "1114060157", "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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 04 October 2024 22:45:46 -0400 (0:00:00.929) 0:02:05.713 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 04 October 2024 22:45:46 -0400 (0:00:00.101) 0:02:05.815 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 04 October 2024 22:45:46 -0400 (0:00:00.132) 0:02:05.947 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 04 October 2024 22:45:47 -0400 (0:00:00.701) 0:02:06.649 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 04 October 2024 22:45:47 -0400 (0:00:00.116) 0:02:06.765 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 04 October 2024 22:45:47 -0400 (0:00:00.123) 0:02:06.888 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 04 October 2024 22:45:47 -0400 (0:00:00.118) 0:02:07.007 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 04 October 2024 22:45:47 -0400 (0:00:00.107) 0:02:07.115 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 04 October 2024 22:45:48 -0400 (0:00:00.143) 0:02:07.258 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 04 October 2024 22:45:48 -0400 (0:00:00.181) 0:02:07.439 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 04 October 2024 22:45:48 -0400 (0:00:00.179) 0:02:07.618 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 04 October 2024 22:45:48 -0400 (0:00:00.123) 0:02:07.742 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 October 2024 22:45:48 -0400 (0:00:00.209) 0:02:07.952 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ActiveEnterTimestampMonotonic": "1162643140", "ActiveExitTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ActiveExitTimestampMonotonic": "1162393744", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service -.mount system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:45:46 EDT", "AssertTimestampMonotonic": "1162642384", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ConditionTimestampMonotonic": "1162642383", "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": "3339", "ExecMainStartTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ExecMainStartTimestampMonotonic": "1162643059", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-04 22:45:46 EDT] ; stop_time=[n/a] ; pid=3339 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:45:46 EDT", "InactiveEnterTimestampMonotonic": "1162641097", "InactiveExitTimestamp": "Fri 2024-10-04 22:45:46 EDT", "InactiveExitTimestampMonotonic": "1162643140", "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": "3339", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:45:46 EDT", "WatchdogTimestampMonotonic": "1162643112", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 October 2024 22:45:49 -0400 (0:00:01.234) 0:02:09.186 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003419", "end": "2024-10-04 22:45:50.391287", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:45:50.387868" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 October 2024 22:45:50 -0400 (0:00:00.579) 0:02:09.765 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003089", "end": "2024-10-04 22:45:50.864809", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:45:50.861720" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 October 2024 22:45:51 -0400 (0:00:00.503) 0:02:10.269 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 04 October 2024 22:45:51 -0400 (0:00:00.294) 0:02:10.563 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 04 October 2024 22:45:53 -0400 (0:00:01.646) 0:02:12.210 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022368", "end": "2024-10-04 22:45:53.358252", "rc": 0, "start": "2024-10-04 22:45:53.335884" } 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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 04 October 2024 22:45:53 -0400 (0:00:00.497) 0:02:12.708 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 04 October 2024 22:45:53 -0400 (0:00:00.210) 0:02:12.919 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 04 October 2024 22:45:53 -0400 (0:00:00.110) 0:02:13.029 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 04 October 2024 22:45:53 -0400 (0:00:00.119) 0:02:13.149 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 04 October 2024 22:45:54 -0400 (0:00:00.075) 0:02:13.225 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 04 October 2024 22:45:54 -0400 (0:00:00.069) 0:02:13.294 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 04 October 2024 22:45:54 -0400 (0:00:00.066) 0:02:13.360 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 04 October 2024 22:45:54 -0400 (0:00:00.068) 0:02:13.429 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 04 October 2024 22:45:54 -0400 (0:00:00.078) 0:02:13.507 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:54 -0400 (0:00:00.172) 0:02:13.680 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004238", "end": "2024-10-04 22:45:54.760041", "rc": 0, "start": "2024-10-04 22:45:54.755803" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:55 -0400 (0:00:00.545) 0:02:14.225 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:55 -0400 (0:00:00.453) 0:02:14.678 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:55 -0400 (0:00:00.210) 0:02:14.889 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 04 October 2024 22:45:55 -0400 (0:00:00.131) 0:02:15.021 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:56 -0400 (0:00:00.246) 0:02:15.267 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004098", "end": "2024-10-04 22:45:56.553305", "rc": 0, "start": "2024-10-04 22:45:56.549207" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:56 -0400 (0:00:00.608) 0:02:15.876 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:56 -0400 (0:00:00.133) 0:02:16.010 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:56 -0400 (0:00:00.116) 0:02:16.126 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 04 October 2024 22:45:57 -0400 (0:00:00.106) 0:02:16.232 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:57 -0400 (0:00:00.199) 0:02:16.432 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004048", "end": "2024-10-04 22:45:57.637281", "rc": 0, "start": "2024-10-04 22:45:57.633233" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:57 -0400 (0:00:00.590) 0:02:17.022 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:57 -0400 (0:00:00.170) 0:02:17.192 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:58 -0400 (0:00:00.118) 0:02:17.311 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 04 October 2024 22:45:58 -0400 (0:00:00.105) 0:02:17.417 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:45:58 -0400 (0:00:00.387) 0:02:17.804 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004176", "end": "2024-10-04 22:45:58.928060", "rc": 0, "start": "2024-10-04 22:45:58.923884" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:45:59 -0400 (0:00:00.663) 0:02:18.467 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:45:59 -0400 (0:00:00.172) 0:02:18.640 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:45:59 -0400 (0:00:00.144) 0:02:18.784 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 04 October 2024 22:45:59 -0400 (0:00:00.210) 0:02:18.995 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 04 October 2024 22:45:59 -0400 (0:00:00.109) 0:02:19.104 ******** changed: [managed-node2] => (item=/etc/pki/tls/certs/ansible.blCY0E) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.blCY0E", "path": "/etc/pki/tls/certs/ansible.blCY0E", "state": "absent" } changed: [managed-node2] => (item=/etc/pki/tls/private/ansible.iRZK3k) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.iRZK3k", "path": "/etc/pki/tls/private/ansible.iRZK3k", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 04 October 2024 22:46:00 -0400 (0:00:00.659) 0:02:19.764 ******** ok: [managed-node2] => (item=/tmp/ansible.blCY0E) => { "ansible_loop_var": "item", "changed": false, "checksum": "0a76ea3ace49f20f34e2be0e65f56f32520cf21e", "dest": "/tmp/ansible.blCY0E", "gid": 0, "group": "root", "item": "/tmp/ansible.blCY0E", "mode": "0600", "owner": "root", "path": "/tmp/ansible.blCY0E", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed-node2] => (item=/tmp/ansible.iRZK3k) => { "ansible_loop_var": "item", "changed": false, "checksum": "6831a53bcd885361f54d18168f644fd3b6157b11", "dest": "/tmp/ansible.iRZK3k", "gid": 0, "group": "root", "item": "/tmp/ansible.iRZK3k", "mode": "0600", "owner": "root", "path": "/tmp/ansible.iRZK3k", "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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 04 October 2024 22:46:02 -0400 (0:00:01.626) 0:02:21.390 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.blCY0E", "mssql_tls_private_key": "ansible.iRZK3k" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 04 October 2024 22:46:02 -0400 (0:00:00.111) 0:02:21.502 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 October 2024 22:46:03 -0400 (0:00:01.056) 0:02:22.558 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 October 2024 22:46:03 -0400 (0:00:00.195) 0:02:22.753 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 October 2024 22:46:03 -0400 (0:00:00.143) 0:02:22.896 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 October 2024 22:46:03 -0400 (0:00:00.197) 0:02:23.094 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 October 2024 22:46:04 -0400 (0:00:00.147) 0:02:23.242 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 October 2024 22:46:04 -0400 (0:00:00.156) 0:02:23.398 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 October 2024 22:46:04 -0400 (0:00:00.104) 0:02:23.503 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 October 2024 22:46:04 -0400 (0:00:00.092) 0:02:23.596 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 October 2024 22:46:04 -0400 (0:00:00.086) 0:02:23.682 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 October 2024 22:46:04 -0400 (0:00:00.109) 0:02:23.791 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 October 2024 22:46:04 -0400 (0:00:00.110) 0:02:23.902 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 October 2024 22:46:04 -0400 (0:00:00.122) 0:02:24.025 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 04 October 2024 22:46:04 -0400 (0:00:00.147) 0:02:24.172 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 04 October 2024 22:46:05 -0400 (0:00:00.149) 0:02:24.322 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 04 October 2024 22:46:05 -0400 (0:00:00.148) 0:02:24.470 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 04 October 2024 22:46:05 -0400 (0:00:00.083) 0:02:24.554 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 04 October 2024 22:46:05 -0400 (0:00:00.075) 0:02:24.629 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 October 2024 22:46:05 -0400 (0:00:00.106) 0:02:24.736 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 04 October 2024 22:46:05 -0400 (0:00:00.257) 0:02:24.994 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 04 October 2024 22:46:05 -0400 (0:00:00.172) 0:02:25.166 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 04 October 2024 22:46:06 -0400 (0:00:00.106) 0:02:25.273 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 04 October 2024 22:46:07 -0400 (0:00:01.479) 0:02:26.752 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 04 October 2024 22:46:07 -0400 (0:00:00.390) 0:02:27.143 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 04 October 2024 22:46:08 -0400 (0:00:00.187) 0:02:27.331 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 04 October 2024 22:46:08 -0400 (0:00:00.213) 0:02:27.544 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 04 October 2024 22:46:08 -0400 (0:00:00.224) 0:02:27.768 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 04 October 2024 22:46:09 -0400 (0:00:00.796) 0:02:28.565 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 04 October 2024 22:46:09 -0400 (0:00:00.182) 0:02:28.748 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 04 October 2024 22:46:09 -0400 (0:00:00.146) 0:02:28.895 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 04 October 2024 22:46:09 -0400 (0:00:00.289) 0:02:29.185 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 04 October 2024 22:46:10 -0400 (0:00:00.116) 0:02:29.301 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 04 October 2024 22:46:10 -0400 (0:00:00.124) 0:02:29.425 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 04 October 2024 22:46:10 -0400 (0:00:00.151) 0:02:29.577 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 04 October 2024 22:46:10 -0400 (0:00:00.147) 0:02:29.725 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 04 October 2024 22:46:10 -0400 (0:00:00.176) 0:02:29.901 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 October 2024 22:46:11 -0400 (0:00:00.881) 0:02:30.783 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 04 October 2024 22:46:12 -0400 (0:00:00.958) 0:02:31.741 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 04 October 2024 22:46:12 -0400 (0:00:00.154) 0:02:31.896 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005169", "end": "2024-10-04 22:46:13.029382", "rc": 0, "start": "2024-10-04 22:46:13.024213" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 04 October 2024 22:46:13 -0400 (0:00:00.463) 0:02:32.359 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 04 October 2024 22:46:14 -0400 (0:00:01.137) 0:02:33.496 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 04 October 2024 22:46:14 -0400 (0:00:00.192) 0:02:33.689 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 04 October 2024 22:46:14 -0400 (0:00:00.120) 0:02:33.810 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 04 October 2024 22:46:14 -0400 (0:00:00.208) 0:02:34.018 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 04 October 2024 22:46:14 -0400 (0:00:00.170) 0:02:34.189 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 04 October 2024 22:46:15 -0400 (0:00:00.177) 0:02:34.367 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 04 October 2024 22:46:15 -0400 (0:00:00.089) 0:02:34.456 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 04 October 2024 22:46:16 -0400 (0:00:00.812) 0:02:35.268 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:26:39 EDT", "ActiveEnterTimestampMonotonic": "15691731", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:26:38 EDT", "AssertTimestampMonotonic": "14679338", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ConditionTimestampMonotonic": "14679337", "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": "852", "ExecMainStartTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ExecMainStartTimestampMonotonic": "14681171", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:26:38 EDT", "InactiveExitTimestampMonotonic": "14681233", "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": "852", "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": "Fri 2024-10-04 22:26:39 EDT", "WatchdogTimestampMonotonic": "15691479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 October 2024 22:46:16 -0400 (0:00:00.507) 0:02:35.776 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.081269", "end": "2024-10-04 22:46:16.936933", "rc": 0, "start": "2024-10-04 22:46:16.855664" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 04 October 2024 22:46:17 -0400 (0:00:00.501) 0:02:36.277 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 04 October 2024 22:46:17 -0400 (0:00:00.095) 0:02:36.373 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 04 October 2024 22:46:17 -0400 (0:00:00.078) 0:02:36.451 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 04 October 2024 22:46:17 -0400 (0:00:00.131) 0:02:36.583 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 04 October 2024 22:46:17 -0400 (0:00:00.542) 0:02:37.125 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 04 October 2024 22:46:18 -0400 (0:00:00.072) 0:02:37.197 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 04 October 2024 22:46:18 -0400 (0:00:00.617) 0:02:37.815 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 04 October 2024 22:46:18 -0400 (0:00:00.071) 0:02:37.886 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 04 October 2024 22:46:18 -0400 (0:00:00.088) 0:02:37.975 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 04 October 2024 22:46:18 -0400 (0:00:00.111) 0:02:38.087 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 04 October 2024 22:46:19 -0400 (0:00:00.112) 0:02:38.199 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 04 October 2024 22:46:19 -0400 (0:00:00.226) 0:02:38.425 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 04 October 2024 22:46:19 -0400 (0:00:00.097) 0:02:38.523 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 04 October 2024 22:46:19 -0400 (0:00:00.127) 0:02:38.650 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 04 October 2024 22:46:19 -0400 (0:00:00.116) 0:02:38.767 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004974", "end": "2024-10-04 22:46:19.975250", "rc": 0, "start": "2024-10-04 22:46:19.970276" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 04 October 2024 22:46:20 -0400 (0:00:00.544) 0:02:39.311 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 04 October 2024 22:46:20 -0400 (0:00:00.111) 0:02:39.423 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 04 October 2024 22:46:21 -0400 (0:00:01.303) 0:02:40.726 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 04 October 2024 22:46:21 -0400 (0:00:00.093) 0:02:40.820 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 04 October 2024 22:46:21 -0400 (0:00:00.069) 0:02:40.889 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 04 October 2024 22:46:21 -0400 (0:00:00.103) 0:02:40.993 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 04 October 2024 22:46:21 -0400 (0:00:00.114) 0:02:41.108 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:46:22 -0400 (0:00:00.243) 0:02:41.352 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003063", "end": "2024-10-04 22:46:22.389936", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:46:22.386873" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:46:22 -0400 (0:00:00.326) 0:02:41.678 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.114949", "end": "2024-10-04 22:46:22.840326", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:46:22.725377" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:46:22 -0400 (0:00:00.474) 0:02:42.153 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 04 October 2024 22:46:23 -0400 (0:00:00.097) 0:02:42.251 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 04 October 2024 22:46:23 -0400 (0:00:00.069) 0:02:42.321 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 04 October 2024 22:46:23 -0400 (0:00:00.071) 0:02:42.393 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 October 2024 22:46:23 -0400 (0:00:00.083) 0:02:42.476 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 04 October 2024 22:46:23 -0400 (0:00:00.108) 0:02:42.585 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 04 October 2024 22:46:23 -0400 (0:00:00.095) 0:02:42.680 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 04 October 2024 22:46:23 -0400 (0:00:00.082) 0:02:42.763 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 04 October 2024 22:46:23 -0400 (0:00:00.071) 0:02:42.834 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 04 October 2024 22:46:23 -0400 (0:00:00.081) 0:02:42.916 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 04 October 2024 22:46:23 -0400 (0:00:00.110) 0:02:43.027 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 04 October 2024 22:46:23 -0400 (0:00:00.117) 0:02:43.144 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 04 October 2024 22:46:24 -0400 (0:00:00.118) 0:02:43.263 ******** changed: [managed-node2] => (item=/tmp/ansible.blCY0E) => { "ansible_loop_var": "item", "changed": true, "checksum": "0a76ea3ace49f20f34e2be0e65f56f32520cf21e", "dest": "/etc/pki/tls/certs/ansible.blCY0E", "gid": 994, "group": "mssql", "item": "/tmp/ansible.blCY0E", "md5sum": "2f0354d8d849583ad752588f1533b849", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.blCY0E", "state": "file", "uid": 996 } changed: [managed-node2] => (item=/tmp/ansible.iRZK3k) => { "ansible_loop_var": "item", "changed": true, "checksum": "6831a53bcd885361f54d18168f644fd3b6157b11", "dest": "/etc/pki/tls/private/ansible.iRZK3k", "gid": 994, "group": "mssql", "item": "/tmp/ansible.iRZK3k", "md5sum": "eb4ca5692b1098cf84d4f0e770ca9370", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.iRZK3k", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 04 October 2024 22:46:24 -0400 (0:00:00.840) 0:02:44.103 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:46:25 -0400 (0:00:00.203) 0:02:44.307 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003175", "end": "2024-10-04 22:46:25.678580", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:46:25.675405" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:46:25 -0400 (0:00:00.723) 0:02:45.030 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.blCY0E" ], "delta": "0:00:00.114816", "end": "2024-10-04 22:46:26.264918", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:46:26.150102" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:46:26 -0400 (0:00:00.577) 0:02:45.608 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 04 October 2024 22:46:26 -0400 (0:00:00.114) 0:02:45.722 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:46:26 -0400 (0:00:00.214) 0:02:45.937 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003064", "end": "2024-10-04 22:46:27.074743", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:46:27.071679" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:46:27 -0400 (0:00:00.608) 0:02:46.545 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.iRZK3k" ], "delta": "0:00:00.115949", "end": "2024-10-04 22:46:28.132946", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:46:28.016997" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:46:28 -0400 (0:00:01.019) 0:02:47.565 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 04 October 2024 22:46:28 -0400 (0:00:00.142) 0:02:47.707 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:46:28 -0400 (0:00:00.441) 0:02:48.149 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003313", "end": "2024-10-04 22:46:29.285567", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:46:29.282254" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:46:29 -0400 (0:00:00.525) 0:02:48.674 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.116663", "end": "2024-10-04 22:46:30.110668", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:46:29.994005" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:46:30 -0400 (0:00:00.927) 0:02:49.602 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 04 October 2024 22:46:30 -0400 (0:00:00.130) 0:02:49.733 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:46:30 -0400 (0:00:00.294) 0:02:50.027 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003191", "end": "2024-10-04 22:46:31.380444", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:46:31.377253" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:46:31 -0400 (0:00:00.765) 0:02:50.792 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.115706", "end": "2024-10-04 22:46:32.184451", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:46:32.068745" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:46:32 -0400 (0:00:00.909) 0:02:51.701 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 04 October 2024 22:46:32 -0400 (0:00:00.156) 0:02:51.858 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 04 October 2024 22:46:32 -0400 (0:00:00.134) 0:02:51.992 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 04 October 2024 22:46:33 -0400 (0:00:00.227) 0:02:52.220 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 October 2024 22:46:33 -0400 (0:00:00.256) 0:02:52.477 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 04 October 2024 22:46:33 -0400 (0:00:00.254) 0:02:52.732 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 04 October 2024 22:46:33 -0400 (0:00:00.237) 0:02:52.970 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 04 October 2024 22:46:33 -0400 (0:00:00.217) 0:02:53.187 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 04 October 2024 22:46:34 -0400 (0:00:00.182) 0:02:53.370 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 04 October 2024 22:46:34 -0400 (0:00:00.230) 0:02:53.601 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 04 October 2024 22:46:34 -0400 (0:00:00.142) 0:02:53.743 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 04 October 2024 22:46:34 -0400 (0:00:00.127) 0:02:53.871 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 04 October 2024 22:46:34 -0400 (0:00:00.132) 0:02:54.004 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 04 October 2024 22:46:35 -0400 (0:00:00.368) 0:02:54.372 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 04 October 2024 22:46:35 -0400 (0:00:00.174) 0:02:54.547 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 04 October 2024 22:46:35 -0400 (0:00:00.188) 0:02:54.735 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 04 October 2024 22:46:35 -0400 (0:00:00.111) 0:02:54.847 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 04 October 2024 22:46:35 -0400 (0:00:00.190) 0:02:55.037 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 04 October 2024 22:46:36 -0400 (0:00:00.179) 0:02:55.217 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 October 2024 22:46:36 -0400 (0:00:00.110) 0:02:55.327 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 04 October 2024 22:46:36 -0400 (0:00:00.168) 0:02:55.496 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 October 2024 22:46:36 -0400 (0:00:00.194) 0:02:55.690 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 04 October 2024 22:46:36 -0400 (0:00:00.210) 0:02:55.900 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 04 October 2024 22:46:36 -0400 (0:00:00.117) 0:02:56.018 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 04 October 2024 22:46:36 -0400 (0:00:00.107) 0:02:56.126 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 04 October 2024 22:46:37 -0400 (0:00:00.129) 0:02:56.256 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 04 October 2024 22:46:37 -0400 (0:00:00.127) 0:02:56.383 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 04 October 2024 22:46:37 -0400 (0:00:00.111) 0:02:56.494 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 04 October 2024 22:46:37 -0400 (0:00:00.132) 0:02:56.627 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 04 October 2024 22:46:37 -0400 (0:00:00.165) 0:02:56.792 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 04 October 2024 22:46:37 -0400 (0:00:00.106) 0:02:56.899 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 October 2024 22:46:37 -0400 (0:00:00.101) 0:02:57.001 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 October 2024 22:46:37 -0400 (0:00:00.149) 0:02:57.150 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 04 October 2024 22:46:38 -0400 (0:00:00.091) 0:02:57.242 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 04 October 2024 22:46:38 -0400 (0:00:00.108) 0:02:57.350 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 04 October 2024 22:46:38 -0400 (0:00:00.104) 0:02:57.455 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 04 October 2024 22:46:38 -0400 (0:00:00.108) 0:02:57.564 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 04 October 2024 22:46:38 -0400 (0:00:00.110) 0:02:57.675 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 04 October 2024 22:46:38 -0400 (0:00:00.119) 0:02:57.794 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 04 October 2024 22:46:38 -0400 (0:00:00.139) 0:02:57.933 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 04 October 2024 22:46:38 -0400 (0:00:00.114) 0:02:58.048 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 04 October 2024 22:46:38 -0400 (0:00:00.112) 0:02:58.160 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 04 October 2024 22:46:39 -0400 (0:00:00.190) 0:02:58.350 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 04 October 2024 22:46:39 -0400 (0:00:00.246) 0:02:58.597 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 04 October 2024 22:46:39 -0400 (0:00:00.210) 0:02:58.807 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 04 October 2024 22:46:39 -0400 (0:00:00.156) 0:02:58.964 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 04 October 2024 22:46:39 -0400 (0:00:00.221) 0:02:59.185 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 04 October 2024 22:46:40 -0400 (0:00:00.164) 0:02:59.350 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 04 October 2024 22:46:40 -0400 (0:00:00.135) 0:02:59.486 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 04 October 2024 22:46:40 -0400 (0:00:00.131) 0:02:59.617 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 04 October 2024 22:46:40 -0400 (0:00:00.106) 0:02:59.724 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 04 October 2024 22:46:40 -0400 (0:00:00.119) 0:02:59.843 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 04 October 2024 22:46:40 -0400 (0:00:00.231) 0:03:00.075 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 04 October 2024 22:46:41 -0400 (0:00:00.122) 0:03:00.198 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 October 2024 22:46:41 -0400 (0:00:00.752) 0:03:00.950 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ActiveEnterTimestampMonotonic": "1162643140", "ActiveExitTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ActiveExitTimestampMonotonic": "1162393744", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service -.mount system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:45:46 EDT", "AssertTimestampMonotonic": "1162642384", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ConditionTimestampMonotonic": "1162642383", "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": "3339", "ExecMainStartTimestamp": "Fri 2024-10-04 22:45:46 EDT", "ExecMainStartTimestampMonotonic": "1162643059", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-04 22:45:46 EDT] ; stop_time=[n/a] ; pid=3339 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:45:46 EDT", "InactiveEnterTimestampMonotonic": "1162641097", "InactiveExitTimestamp": "Fri 2024-10-04 22:45:46 EDT", "InactiveExitTimestampMonotonic": "1162643140", "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": "3339", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:45:46 EDT", "WatchdogTimestampMonotonic": "1162643112", "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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 04 October 2024 22:46:42 -0400 (0:00:00.972) 0:03:01.923 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 04 October 2024 22:46:42 -0400 (0:00:00.116) 0:03:02.039 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 04 October 2024 22:46:42 -0400 (0:00:00.144) 0:03:02.184 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 04 October 2024 22:46:43 -0400 (0:00:00.551) 0:03:02.735 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 04 October 2024 22:46:43 -0400 (0:00:00.074) 0:03:02.810 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 04 October 2024 22:46:43 -0400 (0:00:00.108) 0:03:02.919 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 04 October 2024 22:46:43 -0400 (0:00:00.119) 0:03:03.038 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 04 October 2024 22:46:43 -0400 (0:00:00.091) 0:03:03.129 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 04 October 2024 22:46:44 -0400 (0:00:00.093) 0:03:03.223 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 04 October 2024 22:46:44 -0400 (0:00:00.167) 0:03:03.391 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 04 October 2024 22:46:44 -0400 (0:00:00.104) 0:03:03.495 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 04 October 2024 22:46:44 -0400 (0:00:00.088) 0:03:03.583 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 October 2024 22:46:44 -0400 (0:00:00.167) 0:03:03.751 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ActiveEnterTimestampMonotonic": "1218903521", "ActiveExitTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ActiveExitTimestampMonotonic": "1218669158", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service -.mount system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:46:42 EDT", "AssertTimestampMonotonic": "1218902843", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ConditionTimestampMonotonic": "1218902841", "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": "5726", "ExecMainStartTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ExecMainStartTimestampMonotonic": "1218903455", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-04 22:46:42 EDT] ; stop_time=[n/a] ; pid=5726 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:46:42 EDT", "InactiveEnterTimestampMonotonic": "1218901775", "InactiveExitTimestamp": "Fri 2024-10-04 22:46:42 EDT", "InactiveExitTimestampMonotonic": "1218903521", "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": "5726", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:46:42 EDT", "WatchdogTimestampMonotonic": "1218903497", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 October 2024 22:46:45 -0400 (0:00:00.820) 0:03:04.572 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004238", "end": "2024-10-04 22:46:46.144382", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:46:46.140144" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 October 2024 22:46:46 -0400 (0:00:00.949) 0:03:05.521 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003057", "end": "2024-10-04 22:46:46.873631", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:46:46.870574" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 October 2024 22:46:47 -0400 (0:00:00.684) 0:03:06.205 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 04 October 2024 22:46:47 -0400 (0:00:00.144) 0:03:06.350 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7350, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 04 October 2024 22:46:48 -0400 (0:00:01.612) 0:03:07.962 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022862", "end": "2024-10-04 22:46:49.091758", "rc": 0, "start": "2024-10-04 22:46:49.068896" } 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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 04 October 2024 22:46:49 -0400 (0:00:00.564) 0:03:08.527 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 04 October 2024 22:46:49 -0400 (0:00:00.152) 0:03:08.679 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 04 October 2024 22:46:49 -0400 (0:00:00.125) 0:03:08.805 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 04 October 2024 22:46:49 -0400 (0:00:00.106) 0:03:08.912 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 04 October 2024 22:46:49 -0400 (0:00:00.261) 0:03:09.173 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 04 October 2024 22:46:50 -0400 (0:00:00.212) 0:03:09.386 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 04 October 2024 22:46:50 -0400 (0:00:00.224) 0:03:09.611 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 04 October 2024 22:46:50 -0400 (0:00:00.176) 0:03:09.787 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 04 October 2024 22:46:50 -0400 (0:00:00.175) 0:03:09.963 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:46:51 -0400 (0:00:00.242) 0:03:10.205 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004225", "end": "2024-10-04 22:46:51.298317", "rc": 0, "start": "2024-10-04 22:46:51.294092" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.blCY0E TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:46:51 -0400 (0:00:00.456) 0:03:10.662 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:46:51 -0400 (0:00:00.222) 0:03:10.885 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.blCY0E] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:46:51 -0400 (0:00:00.137) 0:03:11.022 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 04 October 2024 22:46:51 -0400 (0:00:00.121) 0:03:11.144 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:46:52 -0400 (0:00:00.179) 0:03:11.323 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004225", "end": "2024-10-04 22:46:52.411706", "rc": 0, "start": "2024-10-04 22:46:52.407481" } STDOUT: tlskey = /etc/pki/tls/private/ansible.iRZK3k TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:46:52 -0400 (0:00:00.377) 0:03:11.700 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:46:52 -0400 (0:00:00.099) 0:03:11.800 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.iRZK3k] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:46:52 -0400 (0:00:00.109) 0:03:11.910 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 04 October 2024 22:46:52 -0400 (0:00:00.116) 0:03:12.026 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:46:53 -0400 (0:00:00.411) 0:03:12.438 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004290", "end": "2024-10-04 22:46:53.560670", "rc": 0, "start": "2024-10-04 22:46:53.556380" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:46:53 -0400 (0:00:00.599) 0:03:13.038 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:46:54 -0400 (0:00:00.185) 0:03:13.223 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:46:54 -0400 (0:00:00.120) 0:03:13.343 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 04 October 2024 22:46:54 -0400 (0:00:00.122) 0:03:13.466 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:46:54 -0400 (0:00:00.234) 0:03:13.701 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004242", "end": "2024-10-04 22:46:54.914935", "rc": 0, "start": "2024-10-04 22:46:54.910693" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:46:55 -0400 (0:00:00.531) 0:03:14.232 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:46:55 -0400 (0:00:00.079) 0:03:14.312 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:46:55 -0400 (0:00:00.091) 0:03:14.403 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 04 October 2024 22:46:55 -0400 (0:00:00.193) 0:03:14.596 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 04 October 2024 22:46:55 -0400 (0:00:00.125) 0:03:14.722 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node2 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 04 October 2024 22:46:56 -0400 (0:00:00.878) 0:03:15.601 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003196", "end": "2024-10-04 22:46:56.928457", "rc": 0, "start": "2024-10-04 22:46:56.925261" } 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.blCY0E tlskey = /etc/pki/tls/private/ansible.iRZK3k tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 04 October 2024 22:46:57 -0400 (0:00:00.651) 0:03:16.252 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 October 2024 22:46:57 -0400 (0:00:00.930) 0:03:17.183 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 October 2024 22:46:58 -0400 (0:00:00.177) 0:03:17.361 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 October 2024 22:46:58 -0400 (0:00:00.121) 0:03:17.483 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 October 2024 22:46:58 -0400 (0:00:00.164) 0:03:17.647 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 October 2024 22:46:58 -0400 (0:00:00.105) 0:03:17.752 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 October 2024 22:46:58 -0400 (0:00:00.104) 0:03:17.857 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 October 2024 22:46:58 -0400 (0:00:00.103) 0:03:17.960 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 October 2024 22:46:59 -0400 (0:00:00.239) 0:03:18.200 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 October 2024 22:46:59 -0400 (0:00:00.102) 0:03:18.303 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 October 2024 22:46:59 -0400 (0:00:00.088) 0:03:18.391 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 October 2024 22:46:59 -0400 (0:00:00.083) 0:03:18.475 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 October 2024 22:46:59 -0400 (0:00:00.068) 0:03:18.543 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 04 October 2024 22:46:59 -0400 (0:00:00.071) 0:03:18.615 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 04 October 2024 22:46:59 -0400 (0:00:00.087) 0:03:18.702 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 04 October 2024 22:46:59 -0400 (0:00:00.114) 0:03:18.817 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 04 October 2024 22:46:59 -0400 (0:00:00.106) 0:03:18.924 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 04 October 2024 22:46:59 -0400 (0:00:00.119) 0:03:19.044 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 October 2024 22:46:59 -0400 (0:00:00.124) 0:03:19.168 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 04 October 2024 22:47:00 -0400 (0:00:00.135) 0:03:19.304 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 04 October 2024 22:47:00 -0400 (0:00:00.164) 0:03:19.468 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 04 October 2024 22:47:00 -0400 (0:00:00.133) 0:03:19.602 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 04 October 2024 22:47:02 -0400 (0:00:01.684) 0:03:21.286 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 04 October 2024 22:47:02 -0400 (0:00:00.256) 0:03:21.543 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 04 October 2024 22:47:02 -0400 (0:00:00.069) 0:03:21.613 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 04 October 2024 22:47:02 -0400 (0:00:00.077) 0:03:21.690 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 04 October 2024 22:47:02 -0400 (0:00:00.173) 0:03:21.864 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 04 October 2024 22:47:03 -0400 (0:00:00.580) 0:03:22.444 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 04 October 2024 22:47:03 -0400 (0:00:00.110) 0:03:22.555 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 04 October 2024 22:47:03 -0400 (0:00:00.118) 0:03:22.673 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 04 October 2024 22:47:03 -0400 (0:00:00.099) 0:03:22.773 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 04 October 2024 22:47:03 -0400 (0:00:00.088) 0:03:22.861 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 04 October 2024 22:47:03 -0400 (0:00:00.076) 0:03:22.938 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 04 October 2024 22:47:03 -0400 (0:00:00.072) 0:03:23.010 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 04 October 2024 22:47:03 -0400 (0:00:00.094) 0:03:23.105 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 04 October 2024 22:47:03 -0400 (0:00:00.080) 0:03:23.186 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 October 2024 22:47:04 -0400 (0:00:00.828) 0:03:24.014 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 04 October 2024 22:47:05 -0400 (0:00:00.645) 0:03:24.660 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 04 October 2024 22:47:05 -0400 (0:00:00.114) 0:03:24.774 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005196", "end": "2024-10-04 22:47:05.852280", "rc": 0, "start": "2024-10-04 22:47:05.847084" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 04 October 2024 22:47:05 -0400 (0:00:00.364) 0:03:25.139 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 04 October 2024 22:47:06 -0400 (0:00:00.925) 0:03:26.065 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 04 October 2024 22:47:07 -0400 (0:00:00.146) 0:03:26.212 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 04 October 2024 22:47:07 -0400 (0:00:00.109) 0:03:26.322 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 04 October 2024 22:47:07 -0400 (0:00:00.103) 0:03:26.425 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 04 October 2024 22:47:07 -0400 (0:00:00.129) 0:03:26.554 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 04 October 2024 22:47:07 -0400 (0:00:00.115) 0:03:26.670 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 04 October 2024 22:47:07 -0400 (0:00:00.113) 0:03:26.784 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 04 October 2024 22:47:08 -0400 (0:00:00.637) 0:03:27.422 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:26:39 EDT", "ActiveEnterTimestampMonotonic": "15691731", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:26:38 EDT", "AssertTimestampMonotonic": "14679338", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ConditionTimestampMonotonic": "14679337", "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": "852", "ExecMainStartTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ExecMainStartTimestampMonotonic": "14681171", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:26:38 EDT", "InactiveExitTimestampMonotonic": "14681233", "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": "852", "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": "Fri 2024-10-04 22:26:39 EDT", "WatchdogTimestampMonotonic": "15691479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 October 2024 22:47:09 -0400 (0:00:00.964) 0:03:28.386 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.082673", "end": "2024-10-04 22:47:09.708037", "rc": 0, "start": "2024-10-04 22:47:09.625364" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 04 October 2024 22:47:09 -0400 (0:00:00.683) 0:03:29.070 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 04 October 2024 22:47:10 -0400 (0:00:00.210) 0:03:29.280 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 04 October 2024 22:47:10 -0400 (0:00:00.120) 0:03:29.400 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 04 October 2024 22:47:10 -0400 (0:00:00.120) 0:03:29.521 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 04 October 2024 22:47:10 -0400 (0:00:00.502) 0:03:30.023 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 04 October 2024 22:47:10 -0400 (0:00:00.103) 0:03:30.127 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 04 October 2024 22:47:11 -0400 (0:00:00.731) 0:03:30.858 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 04 October 2024 22:47:11 -0400 (0:00:00.155) 0:03:31.014 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 04 October 2024 22:47:11 -0400 (0:00:00.131) 0:03:31.145 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 04 October 2024 22:47:12 -0400 (0:00:00.143) 0:03:31.289 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 04 October 2024 22:47:12 -0400 (0:00:00.112) 0:03:31.401 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 04 October 2024 22:47:12 -0400 (0:00:00.116) 0:03:31.517 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 04 October 2024 22:47:12 -0400 (0:00:00.115) 0:03:31.633 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 04 October 2024 22:47:12 -0400 (0:00:00.108) 0:03:31.742 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 04 October 2024 22:47:12 -0400 (0:00:00.120) 0:03:31.862 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004853", "end": "2024-10-04 22:47:12.957385", "rc": 0, "start": "2024-10-04 22:47:12.952532" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 04 October 2024 22:47:13 -0400 (0:00:00.427) 0:03:32.290 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 04 October 2024 22:47:13 -0400 (0:00:00.235) 0:03:32.526 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 04 October 2024 22:47:14 -0400 (0:00:01.327) 0:03:33.853 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 04 October 2024 22:47:14 -0400 (0:00:00.102) 0:03:33.956 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 04 October 2024 22:47:14 -0400 (0:00:00.078) 0:03:34.035 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 04 October 2024 22:47:14 -0400 (0:00:00.112) 0:03:34.147 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 04 October 2024 22:47:15 -0400 (0:00:00.108) 0:03:34.256 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:47:15 -0400 (0:00:00.153) 0:03:34.409 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003074", "end": "2024-10-04 22:47:15.454744", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:47:15.451670" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:47:15 -0400 (0:00:00.333) 0:03:34.743 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.115851", "end": "2024-10-04 22:47:15.948056", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:15.832205" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:47:16 -0400 (0:00:00.557) 0:03:35.300 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 04 October 2024 22:47:16 -0400 (0:00:00.229) 0:03:35.530 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 04 October 2024 22:47:16 -0400 (0:00:00.118) 0:03:35.648 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 04 October 2024 22:47:16 -0400 (0:00:00.111) 0:03:35.760 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 October 2024 22:47:16 -0400 (0:00:00.116) 0:03:35.877 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 04 October 2024 22:47:16 -0400 (0:00:00.112) 0:03:35.990 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 04 October 2024 22:47:16 -0400 (0:00:00.133) 0:03:36.123 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 04 October 2024 22:47:17 -0400 (0:00:00.110) 0:03:36.233 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 04 October 2024 22:47:17 -0400 (0:00:00.107) 0:03:36.341 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 04 October 2024 22:47:17 -0400 (0:00:00.115) 0:03:36.457 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 04 October 2024 22:47:17 -0400 (0:00:00.109) 0:03:36.566 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 04 October 2024 22:47:17 -0400 (0:00:00.115) 0:03:36.682 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 04 October 2024 22:47:17 -0400 (0:00:00.111) 0:03:36.794 ******** skipping: [managed-node2] => (item=/tmp/ansible.blCY0E) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.blCY0E", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.iRZK3k) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.iRZK3k", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 04 October 2024 22:47:17 -0400 (0:00:00.135) 0:03:36.929 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:47:17 -0400 (0:00:00.212) 0:03:37.142 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003196", "end": "2024-10-04 22:47:18.220840", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:18.217644" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.blCY0E TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:47:18 -0400 (0:00:00.402) 0:03:37.544 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:47:18 -0400 (0:00:00.126) 0:03:37.670 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.115593", "end": "2024-10-04 22:47:19.084023", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:18.968430" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 04 October 2024 22:47:19 -0400 (0:00:01.043) 0:03:38.713 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:47:19 -0400 (0:00:00.273) 0:03:38.987 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003261", "end": "2024-10-04 22:47:20.130226", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:20.126965" } STDOUT: tlskey = /etc/pki/tls/private/ansible.iRZK3k TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:47:20 -0400 (0:00:00.576) 0:03:39.563 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:47:20 -0400 (0:00:00.154) 0:03:39.717 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.115088", "end": "2024-10-04 22:47:21.155761", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:21.040673" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 04 October 2024 22:47:21 -0400 (0:00:00.745) 0:03:40.463 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:47:21 -0400 (0:00:00.266) 0:03:40.729 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003171", "end": "2024-10-04 22:47:21.841668", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:21.838497" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:47:21 -0400 (0:00:00.404) 0:03:41.134 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:47:22 -0400 (0:00:00.147) 0:03:41.281 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.113458", "end": "2024-10-04 22:47:22.728564", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:22.615106" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 04 October 2024 22:47:22 -0400 (0:00:00.839) 0:03:42.121 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:47:23 -0400 (0:00:00.237) 0:03:42.358 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003137", "end": "2024-10-04 22:47:23.523553", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:23.520416" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:47:23 -0400 (0:00:00.480) 0:03:42.838 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:47:23 -0400 (0:00:00.107) 0:03:42.946 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.113072", "end": "2024-10-04 22:47:24.158115", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:47:24.045043" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 04 October 2024 22:47:24 -0400 (0:00:00.725) 0:03:43.672 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 04 October 2024 22:47:24 -0400 (0:00:00.118) 0:03:43.790 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 04 October 2024 22:47:24 -0400 (0:00:00.110) 0:03:43.900 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 October 2024 22:47:24 -0400 (0:00:00.120) 0:03:44.021 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 04 October 2024 22:47:24 -0400 (0:00:00.113) 0:03:44.134 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 04 October 2024 22:47:25 -0400 (0:00:00.116) 0:03:44.251 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 04 October 2024 22:47:25 -0400 (0:00:00.109) 0:03:44.361 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 04 October 2024 22:47:25 -0400 (0:00:00.091) 0:03:44.453 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 04 October 2024 22:47:25 -0400 (0:00:00.088) 0:03:44.541 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 04 October 2024 22:47:25 -0400 (0:00:00.080) 0:03:44.622 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 04 October 2024 22:47:25 -0400 (0:00:00.072) 0:03:44.694 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 04 October 2024 22:47:25 -0400 (0:00:00.074) 0:03:44.769 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 04 October 2024 22:47:25 -0400 (0:00:00.133) 0:03:44.902 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 04 October 2024 22:47:25 -0400 (0:00:00.121) 0:03:45.024 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 04 October 2024 22:47:25 -0400 (0:00:00.121) 0:03:45.145 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 04 October 2024 22:47:26 -0400 (0:00:00.101) 0:03:45.247 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 04 October 2024 22:47:26 -0400 (0:00:00.087) 0:03:45.335 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 04 October 2024 22:47:26 -0400 (0:00:00.102) 0:03:45.437 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 October 2024 22:47:26 -0400 (0:00:00.100) 0:03:45.538 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 04 October 2024 22:47:26 -0400 (0:00:00.236) 0:03:45.774 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 October 2024 22:47:26 -0400 (0:00:00.115) 0:03:45.890 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 04 October 2024 22:47:26 -0400 (0:00:00.086) 0:03:45.977 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 04 October 2024 22:47:26 -0400 (0:00:00.092) 0:03:46.070 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 04 October 2024 22:47:26 -0400 (0:00:00.070) 0:03:46.140 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 04 October 2024 22:47:27 -0400 (0:00:00.082) 0:03:46.222 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 04 October 2024 22:47:27 -0400 (0:00:00.117) 0:03:46.340 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 04 October 2024 22:47:27 -0400 (0:00:00.115) 0:03:46.455 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 04 October 2024 22:47:27 -0400 (0:00:00.127) 0:03:46.582 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 04 October 2024 22:47:27 -0400 (0:00:00.110) 0:03:46.692 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 04 October 2024 22:47:27 -0400 (0:00:00.075) 0:03:46.768 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 October 2024 22:47:27 -0400 (0:00:00.107) 0:03:46.876 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 October 2024 22:47:27 -0400 (0:00:00.109) 0:03:46.985 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 04 October 2024 22:47:27 -0400 (0:00:00.109) 0:03:47.095 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 04 October 2024 22:47:27 -0400 (0:00:00.084) 0:03:47.180 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 04 October 2024 22:47:28 -0400 (0:00:00.092) 0:03:47.273 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 04 October 2024 22:47:28 -0400 (0:00:00.096) 0:03:47.369 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 04 October 2024 22:47:28 -0400 (0:00:00.127) 0:03:47.497 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 04 October 2024 22:47:28 -0400 (0:00:00.204) 0:03:47.701 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 04 October 2024 22:47:28 -0400 (0:00:00.351) 0:03:48.053 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 04 October 2024 22:47:28 -0400 (0:00:00.123) 0:03:48.176 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 04 October 2024 22:47:29 -0400 (0:00:00.126) 0:03:48.303 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 04 October 2024 22:47:29 -0400 (0:00:00.123) 0:03:48.427 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 04 October 2024 22:47:29 -0400 (0:00:00.106) 0:03:48.534 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 04 October 2024 22:47:29 -0400 (0:00:00.148) 0:03:48.683 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 04 October 2024 22:47:29 -0400 (0:00:00.130) 0:03:48.813 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 04 October 2024 22:47:29 -0400 (0:00:00.117) 0:03:48.931 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 04 October 2024 22:47:29 -0400 (0:00:00.122) 0:03:49.053 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 04 October 2024 22:47:29 -0400 (0:00:00.108) 0:03:49.162 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 04 October 2024 22:47:30 -0400 (0:00:00.143) 0:03:49.305 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 04 October 2024 22:47:30 -0400 (0:00:00.126) 0:03:49.432 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 04 October 2024 22:47:30 -0400 (0:00:00.101) 0:03:49.534 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 04 October 2024 22:47:30 -0400 (0:00:00.105) 0:03:49.639 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 04 October 2024 22:47:30 -0400 (0:00:00.118) 0:03:49.757 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 October 2024 22:47:31 -0400 (0:00:00.578) 0:03:50.336 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ActiveEnterTimestampMonotonic": "1218903521", "ActiveExitTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ActiveExitTimestampMonotonic": "1218669158", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service -.mount system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:46:42 EDT", "AssertTimestampMonotonic": "1218902843", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ConditionTimestampMonotonic": "1218902841", "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": "5726", "ExecMainStartTimestamp": "Fri 2024-10-04 22:46:42 EDT", "ExecMainStartTimestampMonotonic": "1218903455", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-04 22:46:42 EDT] ; stop_time=[n/a] ; pid=5726 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:46:42 EDT", "InactiveEnterTimestampMonotonic": "1218901775", "InactiveExitTimestamp": "Fri 2024-10-04 22:46:42 EDT", "InactiveExitTimestampMonotonic": "1218903521", "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": "5726", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:46:42 EDT", "WatchdogTimestampMonotonic": "1218903497", "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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 04 October 2024 22:47:33 -0400 (0:00:01.864) 0:03:52.201 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 04 October 2024 22:47:33 -0400 (0:00:00.115) 0:03:52.317 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 04 October 2024 22:47:33 -0400 (0:00:00.125) 0:03:52.442 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 04 October 2024 22:47:34 -0400 (0:00:01.116) 0:03:53.559 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 04 October 2024 22:47:34 -0400 (0:00:00.116) 0:03:53.675 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 04 October 2024 22:47:34 -0400 (0:00:00.122) 0:03:53.797 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 04 October 2024 22:47:34 -0400 (0:00:00.176) 0:03:53.973 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 04 October 2024 22:47:34 -0400 (0:00:00.147) 0:03:54.121 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 04 October 2024 22:47:35 -0400 (0:00:00.135) 0:03:54.257 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 04 October 2024 22:47:35 -0400 (0:00:00.130) 0:03:54.387 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 04 October 2024 22:47:35 -0400 (0:00:00.104) 0:03:54.492 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 04 October 2024 22:47:35 -0400 (0:00:00.158) 0:03:54.650 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 October 2024 22:47:35 -0400 (0:00:00.374) 0:03:55.024 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:47:32 EDT", "ActiveEnterTimestampMonotonic": "1268930201", "ActiveExitTimestamp": "Fri 2024-10-04 22:47:31 EDT", "ActiveExitTimestampMonotonic": "1268265858", "ActiveState": "active", "After": "systemd-journald.socket network.target auditd.service -.mount system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:47:32 EDT", "AssertTimestampMonotonic": "1268929444", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:47:32 EDT", "ConditionTimestampMonotonic": "1268929443", "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": "7822", "ExecMainStartTimestamp": "Fri 2024-10-04 22:47:32 EDT", "ExecMainStartTimestampMonotonic": "1268930116", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-04 22:47:32 EDT] ; stop_time=[n/a] ; pid=7822 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:47:32 EDT", "InactiveEnterTimestampMonotonic": "1268928804", "InactiveExitTimestamp": "Fri 2024-10-04 22:47:32 EDT", "InactiveExitTimestampMonotonic": "1268930201", "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": "7822", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:47:32 EDT", "WatchdogTimestampMonotonic": "1268930172", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 October 2024 22:47:36 -0400 (0:00:00.890) 0:03:55.915 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003103", "end": "2024-10-04 22:47:36.998262", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:47:36.995159" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 October 2024 22:47:37 -0400 (0:00:00.414) 0:03:56.329 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003131", "end": "2024-10-04 22:47:37.425680", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:47:37.422549" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 October 2024 22:47:37 -0400 (0:00:00.435) 0:03:56.765 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 04 October 2024 22:47:37 -0400 (0:00:00.233) 0:03:56.998 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7260, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 04 October 2024 22:47:39 -0400 (0:00:01.475) 0:03:58.474 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022163", "end": "2024-10-04 22:47:39.579025", "rc": 0, "start": "2024-10-04 22:47:39.556862" } 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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 04 October 2024 22:47:39 -0400 (0:00:00.444) 0:03:58.919 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 04 October 2024 22:47:39 -0400 (0:00:00.128) 0:03:59.047 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 04 October 2024 22:47:39 -0400 (0:00:00.113) 0:03:59.160 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 04 October 2024 22:47:40 -0400 (0:00:00.115) 0:03:59.276 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 04 October 2024 22:47:40 -0400 (0:00:00.115) 0:03:59.392 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 04 October 2024 22:47:40 -0400 (0:00:00.121) 0:03:59.513 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 04 October 2024 22:47:40 -0400 (0:00:00.210) 0:03:59.724 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 04 October 2024 22:47:40 -0400 (0:00:00.452) 0:04:00.176 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 04 October 2024 22:47:41 -0400 (0:00:00.120) 0:04:00.297 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:47:41 -0400 (0:00:00.208) 0:04:00.505 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004118", "end": "2024-10-04 22:47:41.602531", "rc": 0, "start": "2024-10-04 22:47:41.598413" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:47:41 -0400 (0:00:00.431) 0:04:00.937 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:47:41 -0400 (0:00:00.141) 0:04:01.078 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:47:42 -0400 (0:00:00.128) 0:04:01.207 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 04 October 2024 22:47:42 -0400 (0:00:00.119) 0:04:01.326 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:47:42 -0400 (0:00:00.207) 0:04:01.534 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004321", "end": "2024-10-04 22:47:42.659012", "rc": 0, "start": "2024-10-04 22:47:42.654691" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:47:42 -0400 (0:00:00.457) 0:04:01.991 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:47:42 -0400 (0:00:00.134) 0:04:02.126 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:47:43 -0400 (0:00:00.129) 0:04:02.255 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 04 October 2024 22:47:43 -0400 (0:00:00.109) 0:04:02.365 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:47:43 -0400 (0:00:00.205) 0:04:02.570 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004269", "end": "2024-10-04 22:47:43.679057", "rc": 0, "start": "2024-10-04 22:47:43.674788" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:47:43 -0400 (0:00:00.557) 0:04:03.128 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:47:44 -0400 (0:00:00.131) 0:04:03.260 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:47:44 -0400 (0:00:00.104) 0:04:03.365 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 04 October 2024 22:47:44 -0400 (0:00:00.082) 0:04:03.447 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:47:44 -0400 (0:00:00.135) 0:04:03.582 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004197", "end": "2024-10-04 22:47:44.631935", "rc": 0, "start": "2024-10-04 22:47:44.627738" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:47:44 -0400 (0:00:00.340) 0:04:03.922 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:47:44 -0400 (0:00:00.075) 0:04:03.997 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:47:44 -0400 (0:00:00.093) 0:04:04.091 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 04 October 2024 22:47:44 -0400 (0:00:00.074) 0:04:04.165 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 04 October 2024 22:47:45 -0400 (0:00:00.102) 0:04:04.268 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 October 2024 22:47:47 -0400 (0:00:02.411) 0:04:06.679 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 October 2024 22:47:47 -0400 (0:00:00.287) 0:04:06.967 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 October 2024 22:47:48 -0400 (0:00:00.238) 0:04:07.206 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 October 2024 22:47:48 -0400 (0:00:00.181) 0:04:07.388 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 October 2024 22:47:48 -0400 (0:00:00.131) 0:04:07.519 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 October 2024 22:47:48 -0400 (0:00:00.131) 0:04:07.651 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 October 2024 22:47:48 -0400 (0:00:00.118) 0:04:07.770 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 October 2024 22:47:48 -0400 (0:00:00.130) 0:04:07.900 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 October 2024 22:47:48 -0400 (0:00:00.109) 0:04:08.009 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 October 2024 22:47:48 -0400 (0:00:00.105) 0:04:08.115 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 October 2024 22:47:49 -0400 (0:00:00.200) 0:04:08.316 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 October 2024 22:47:49 -0400 (0:00:00.101) 0:04:08.418 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 04 October 2024 22:47:49 -0400 (0:00:00.174) 0:04:08.592 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 04 October 2024 22:47:49 -0400 (0:00:00.126) 0:04:08.719 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 04 October 2024 22:47:49 -0400 (0:00:00.141) 0:04:08.860 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 04 October 2024 22:47:49 -0400 (0:00:00.122) 0:04:08.983 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 04 October 2024 22:47:49 -0400 (0:00:00.111) 0:04:09.095 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 October 2024 22:47:50 -0400 (0:00:00.122) 0:04:09.217 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 04 October 2024 22:47:50 -0400 (0:00:00.143) 0:04:09.361 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 04 October 2024 22:47:50 -0400 (0:00:00.167) 0:04:09.529 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 04 October 2024 22:47:50 -0400 (0:00:00.157) 0:04:09.686 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 04 October 2024 22:47:51 -0400 (0:00:01.502) 0:04:11.189 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 04 October 2024 22:47:52 -0400 (0:00:00.601) 0:04:11.790 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 04 October 2024 22:47:53 -0400 (0:00:00.480) 0:04:12.271 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 04 October 2024 22:47:53 -0400 (0:00:00.195) 0:04:12.466 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 04 October 2024 22:47:53 -0400 (0:00:00.223) 0:04:12.689 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 04 October 2024 22:47:54 -0400 (0:00:00.840) 0:04:13.530 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 04 October 2024 22:47:54 -0400 (0:00:00.226) 0:04:13.757 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 04 October 2024 22:47:54 -0400 (0:00:00.258) 0:04:14.016 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 04 October 2024 22:47:54 -0400 (0:00:00.155) 0:04:14.171 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 04 October 2024 22:47:55 -0400 (0:00:00.125) 0:04:14.296 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 04 October 2024 22:47:55 -0400 (0:00:00.134) 0:04:14.431 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 04 October 2024 22:47:55 -0400 (0:00:00.127) 0:04:14.559 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 04 October 2024 22:47:55 -0400 (0:00:00.225) 0:04:14.784 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 04 October 2024 22:47:55 -0400 (0:00:00.186) 0:04:14.971 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 October 2024 22:47:56 -0400 (0:00:01.044) 0:04:16.016 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 04 October 2024 22:47:57 -0400 (0:00:00.838) 0:04:16.855 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 04 October 2024 22:47:57 -0400 (0:00:00.115) 0:04:16.970 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005220", "end": "2024-10-04 22:47:58.200374", "rc": 0, "start": "2024-10-04 22:47:58.195154" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 04 October 2024 22:47:58 -0400 (0:00:00.584) 0:04:17.555 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 04 October 2024 22:47:59 -0400 (0:00:01.354) 0:04:18.910 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 04 October 2024 22:47:59 -0400 (0:00:00.159) 0:04:19.070 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 04 October 2024 22:47:59 -0400 (0:00:00.122) 0:04:19.192 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 04 October 2024 22:48:00 -0400 (0:00:00.145) 0:04:19.338 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 04 October 2024 22:48:00 -0400 (0:00:00.124) 0:04:19.462 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 04 October 2024 22:48:00 -0400 (0:00:00.095) 0:04:19.558 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 04 October 2024 22:48:00 -0400 (0:00:00.081) 0:04:19.639 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 04 October 2024 22:48:01 -0400 (0:00:00.726) 0:04:20.366 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:26:39 EDT", "ActiveEnterTimestampMonotonic": "15691731", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:26:38 EDT", "AssertTimestampMonotonic": "14679338", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ConditionTimestampMonotonic": "14679337", "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": "852", "ExecMainStartTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ExecMainStartTimestampMonotonic": "14681171", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:26:38 EDT", "InactiveExitTimestampMonotonic": "14681233", "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": "852", "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": "Fri 2024-10-04 22:26:39 EDT", "WatchdogTimestampMonotonic": "15691479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 October 2024 22:48:01 -0400 (0:00:00.669) 0:04:21.035 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083488", "end": "2024-10-04 22:48:02.259794", "rc": 0, "start": "2024-10-04 22:48:02.176306" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 04 October 2024 22:48:02 -0400 (0:00:00.580) 0:04:21.616 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 04 October 2024 22:48:02 -0400 (0:00:00.131) 0:04:21.747 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 04 October 2024 22:48:02 -0400 (0:00:00.124) 0:04:21.872 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 04 October 2024 22:48:02 -0400 (0:00:00.109) 0:04:21.982 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 04 October 2024 22:48:03 -0400 (0:00:00.708) 0:04:22.691 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 04 October 2024 22:48:03 -0400 (0:00:00.110) 0:04:22.802 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 04 October 2024 22:48:04 -0400 (0:00:00.626) 0:04:23.429 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 04 October 2024 22:48:04 -0400 (0:00:00.073) 0:04:23.502 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 04 October 2024 22:48:04 -0400 (0:00:00.094) 0:04:23.596 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 04 October 2024 22:48:04 -0400 (0:00:00.110) 0:04:23.707 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 04 October 2024 22:48:04 -0400 (0:00:00.108) 0:04:23.815 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 04 October 2024 22:48:04 -0400 (0:00:00.140) 0:04:23.956 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 04 October 2024 22:48:04 -0400 (0:00:00.106) 0:04:24.062 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 04 October 2024 22:48:04 -0400 (0:00:00.098) 0:04:24.160 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 04 October 2024 22:48:05 -0400 (0:00:00.124) 0:04:24.285 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004898", "end": "2024-10-04 22:48:05.431259", "rc": 0, "start": "2024-10-04 22:48:05.426361" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 04 October 2024 22:48:05 -0400 (0:00:00.496) 0:04:24.782 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 04 October 2024 22:48:05 -0400 (0:00:00.118) 0:04:24.900 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 04 October 2024 22:48:07 -0400 (0:00:01.718) 0:04:26.619 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 04 October 2024 22:48:07 -0400 (0:00:00.151) 0:04:26.771 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 04 October 2024 22:48:07 -0400 (0:00:00.113) 0:04:26.885 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 04 October 2024 22:48:07 -0400 (0:00:00.179) 0:04:27.065 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 04 October 2024 22:48:08 -0400 (0:00:00.132) 0:04:27.197 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:48:08 -0400 (0:00:00.210) 0:04:27.408 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003109", "end": "2024-10-04 22:48:08.515582", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:48:08.512473" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:48:08 -0400 (0:00:00.444) 0:04:27.852 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.116207", "end": "2024-10-04 22:48:09.086616", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:48:08.970409" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:48:09 -0400 (0:00:00.744) 0:04:28.597 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 04 October 2024 22:48:09 -0400 (0:00:00.241) 0:04:28.838 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 04 October 2024 22:48:09 -0400 (0:00:00.160) 0:04:28.998 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 04 October 2024 22:48:09 -0400 (0:00:00.148) 0:04:29.147 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 October 2024 22:48:10 -0400 (0:00:00.123) 0:04:29.271 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 04 October 2024 22:48:10 -0400 (0:00:00.119) 0:04:29.390 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 04 October 2024 22:48:10 -0400 (0:00:00.111) 0:04:29.501 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 04 October 2024 22:48:10 -0400 (0:00:00.220) 0:04:29.721 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 04 October 2024 22:48:10 -0400 (0:00:00.177) 0:04:29.899 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 04 October 2024 22:48:10 -0400 (0:00:00.189) 0:04:30.088 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 04 October 2024 22:48:11 -0400 (0:00:00.282) 0:04:30.371 ******** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 04 October 2024 22:48:11 -0400 (0:00:00.349) 0:04:30.721 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 04 October 2024 22:48:11 -0400 (0:00:00.301) 0:04:31.022 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 04 October 2024 22:48:11 -0400 (0:00:00.168) 0:04:31.191 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 04 October 2024 22:48:12 -0400 (0:00:00.477) 0:04:31.668 ******** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 04 October 2024 22:48:12 -0400 (0:00:00.235) 0:04:31.904 ******** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 04 October 2024 22:48:13 -0400 (0:00:00.479) 0:04:32.383 ******** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.0 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 04 October 2024 22:48:17 -0400 (0:00:04.417) 0:04:36.801 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.7 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 04 October 2024 22:48:22 -0400 (0:00:04.858) 0:04:41.660 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 04 October 2024 22:48:23 -0400 (0:00:00.662) 0:04:42.322 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 04 October 2024 22:48:23 -0400 (0:00:00.647) 0:04:42.970 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket syslog.target dbus.service basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 04 October 2024 22:48:24 -0400 (0:00:01.187) 0:04:44.158 ******** changed: [managed-node2] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.14', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.8.14", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 04 October 2024 22:48:26 -0400 (0:00:01.733) 0:04:45.891 ******** skipping: [managed-node2] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.14', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.8.14", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.14', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.8.14", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.14', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.8.14", "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-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 04 October 2024 22:48:26 -0400 (0:00:00.200) 0:04:46.092 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 04 October 2024 22:48:27 -0400 (0:00:00.128) 0:04:46.220 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 04 October 2024 22:48:27 -0400 (0:00:00.124) 0:04:46.345 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 04 October 2024 22:48:27 -0400 (0:00:00.246) 0:04:46.592 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 04 October 2024 22:48:27 -0400 (0:00:00.196) 0:04:46.788 ******** skipping: [managed-node2] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 04 October 2024 22:48:27 -0400 (0:00:00.161) 0:04:46.950 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:48:27 -0400 (0:00:00.215) 0:04:47.166 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003655", "end": "2024-10-04 22:48:28.233163", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:48:28.229508" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:48:28 -0400 (0:00:00.405) 0:04:47.571 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.116453", "end": "2024-10-04 22:48:28.968279", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:48:28.851826" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:48:29 -0400 (0:00:00.752) 0:04:48.324 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 04 October 2024 22:48:29 -0400 (0:00:00.228) 0:04:48.553 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:48:29 -0400 (0:00:00.523) 0:04:49.077 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003291", "end": "2024-10-04 22:48:30.288386", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:48:30.285095" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:48:30 -0400 (0:00:00.508) 0:04:49.586 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.114824", "end": "2024-10-04 22:48:30.799640", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:48:30.684816" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:48:30 -0400 (0:00:00.533) 0:04:50.120 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 04 October 2024 22:48:31 -0400 (0:00:00.078) 0:04:50.198 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:48:31 -0400 (0:00:00.203) 0:04:50.401 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003248", "end": "2024-10-04 22:48:31.501107", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:48:31.497859" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:48:31 -0400 (0:00:00.410) 0:04:50.812 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.115657", "end": "2024-10-04 22:48:32.014503", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:48:31.898846" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:48:32 -0400 (0:00:00.537) 0:04:51.349 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 04 October 2024 22:48:32 -0400 (0:00:00.116) 0:04:51.466 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:48:32 -0400 (0:00:00.233) 0:04:51.700 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003122", "end": "2024-10-04 22:48:32.840852", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:48:32.837730" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:48:33 -0400 (0:00:00.622) 0:04:52.322 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.116929", "end": "2024-10-04 22:48:33.576795", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:48:33.459866" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:48:33 -0400 (0:00:00.726) 0:04:53.048 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 04 October 2024 22:48:34 -0400 (0:00:00.499) 0:04:53.547 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 04 October 2024 22:48:34 -0400 (0:00:00.119) 0:04:53.667 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 04 October 2024 22:48:34 -0400 (0:00:00.114) 0:04:53.781 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 October 2024 22:48:34 -0400 (0:00:00.119) 0:04:53.901 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 04 October 2024 22:48:34 -0400 (0:00:00.095) 0:04:53.996 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 04 October 2024 22:48:34 -0400 (0:00:00.081) 0:04:54.078 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 04 October 2024 22:48:35 -0400 (0:00:00.141) 0:04:54.219 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 04 October 2024 22:48:35 -0400 (0:00:00.147) 0:04:54.366 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 04 October 2024 22:48:35 -0400 (0:00:00.124) 0:04:54.490 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 04 October 2024 22:48:35 -0400 (0:00:00.099) 0:04:54.590 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 04 October 2024 22:48:35 -0400 (0:00:00.092) 0:04:54.682 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 04 October 2024 22:48:35 -0400 (0:00:00.115) 0:04:54.798 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 04 October 2024 22:48:35 -0400 (0:00:00.097) 0:04:54.896 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 04 October 2024 22:48:35 -0400 (0:00:00.093) 0:04:54.989 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 04 October 2024 22:48:35 -0400 (0:00:00.075) 0:04:55.065 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 04 October 2024 22:48:35 -0400 (0:00:00.082) 0:04:55.147 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 04 October 2024 22:48:36 -0400 (0:00:00.108) 0:04:55.256 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 04 October 2024 22:48:36 -0400 (0:00:00.125) 0:04:55.381 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 October 2024 22:48:36 -0400 (0:00:00.095) 0:04:55.477 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 04 October 2024 22:48:36 -0400 (0:00:00.088) 0:04:55.565 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 October 2024 22:48:36 -0400 (0:00:00.188) 0:04:55.753 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 04 October 2024 22:48:36 -0400 (0:00:00.074) 0:04:55.828 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 04 October 2024 22:48:36 -0400 (0:00:00.072) 0:04:55.900 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 04 October 2024 22:48:36 -0400 (0:00:00.073) 0:04:55.974 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 04 October 2024 22:48:36 -0400 (0:00:00.070) 0:04:56.045 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 04 October 2024 22:48:36 -0400 (0:00:00.073) 0:04:56.118 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 04 October 2024 22:48:36 -0400 (0:00:00.072) 0:04:56.191 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 04 October 2024 22:48:37 -0400 (0:00:00.082) 0:04:56.273 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 04 October 2024 22:48:37 -0400 (0:00:00.085) 0:04:56.358 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 04 October 2024 22:48:37 -0400 (0:00:00.070) 0:04:56.428 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 October 2024 22:48:37 -0400 (0:00:00.086) 0:04:56.515 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 October 2024 22:48:37 -0400 (0:00:00.068) 0:04:56.583 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 04 October 2024 22:48:37 -0400 (0:00:00.070) 0:04:56.654 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 04 October 2024 22:48:37 -0400 (0:00:00.103) 0:04:56.758 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 04 October 2024 22:48:37 -0400 (0:00:00.098) 0:04:56.856 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 04 October 2024 22:48:37 -0400 (0:00:00.091) 0:04:56.948 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 04 October 2024 22:48:37 -0400 (0:00:00.078) 0:04:57.026 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 04 October 2024 22:48:37 -0400 (0:00:00.074) 0:04:57.100 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 04 October 2024 22:48:38 -0400 (0:00:00.105) 0:04:57.206 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 04 October 2024 22:48:38 -0400 (0:00:00.293) 0:04:57.500 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 04 October 2024 22:48:38 -0400 (0:00:00.115) 0:04:57.615 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 04 October 2024 22:48:38 -0400 (0:00:00.140) 0:04:57.756 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 04 October 2024 22:48:38 -0400 (0:00:00.125) 0:04:57.882 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 04 October 2024 22:48:38 -0400 (0:00:00.107) 0:04:57.990 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 04 October 2024 22:48:38 -0400 (0:00:00.072) 0:04:58.062 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 04 October 2024 22:48:38 -0400 (0:00:00.082) 0:04:58.144 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 04 October 2024 22:48:39 -0400 (0:00:00.106) 0:04:58.251 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 04 October 2024 22:48:39 -0400 (0:00:00.104) 0:04:58.355 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 04 October 2024 22:48:39 -0400 (0:00:00.108) 0:04:58.464 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 04 October 2024 22:48:39 -0400 (0:00:00.087) 0:04:58.552 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 04 October 2024 22:48:39 -0400 (0:00:00.109) 0:04:58.662 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 04 October 2024 22:48:39 -0400 (0:00:00.165) 0:04:58.828 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 04 October 2024 22:48:39 -0400 (0:00:00.108) 0:04:58.936 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 October 2024 22:48:40 -0400 (0:00:00.611) 0:04:59.548 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:47:32 EDT", "ActiveEnterTimestampMonotonic": "1268930201", "ActiveExitTimestamp": "Fri 2024-10-04 22:47:31 EDT", "ActiveExitTimestampMonotonic": "1268265858", "ActiveState": "active", "After": "-.mount basic.target network.target system.slice auditd.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:47:32 EDT", "AssertTimestampMonotonic": "1268929444", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:47:32 EDT", "ConditionTimestampMonotonic": "1268929443", "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": "7822", "ExecMainStartTimestamp": "Fri 2024-10-04 22:47:32 EDT", "ExecMainStartTimestampMonotonic": "1268930116", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:47:32 EDT", "InactiveEnterTimestampMonotonic": "1268928804", "InactiveExitTimestamp": "Fri 2024-10-04 22:47:32 EDT", "InactiveExitTimestampMonotonic": "1268930201", "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": "7822", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:47:32 EDT", "WatchdogTimestampMonotonic": "1268930172", "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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 04 October 2024 22:48:41 -0400 (0:00:00.858) 0:05:00.407 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 04 October 2024 22:48:41 -0400 (0:00:00.187) 0:05:00.595 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 04 October 2024 22:48:41 -0400 (0:00:00.091) 0:05:00.686 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 04 October 2024 22:48:42 -0400 (0:00:01.019) 0:05:01.706 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 04 October 2024 22:48:42 -0400 (0:00:00.076) 0:05:01.782 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 04 October 2024 22:48:42 -0400 (0:00:00.141) 0:05:01.924 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 04 October 2024 22:48:42 -0400 (0:00:00.105) 0:05:02.029 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 04 October 2024 22:48:42 -0400 (0:00:00.132) 0:05:02.162 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 04 October 2024 22:48:43 -0400 (0:00:00.108) 0:05:02.270 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 04 October 2024 22:48:43 -0400 (0:00:00.119) 0:05:02.390 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 04 October 2024 22:48:43 -0400 (0:00:00.109) 0:05:02.499 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 04 October 2024 22:48:43 -0400 (0:00:00.110) 0:05:02.610 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 October 2024 22:48:43 -0400 (0:00:00.394) 0:05:03.004 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:48:41 EDT", "ActiveEnterTimestampMonotonic": "1337382275", "ActiveExitTimestamp": "Fri 2024-10-04 22:48:40 EDT", "ActiveExitTimestampMonotonic": "1337149680", "ActiveState": "active", "After": "-.mount basic.target network.target system.slice auditd.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:48:41 EDT", "AssertTimestampMonotonic": "1337381503", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:48:41 EDT", "ConditionTimestampMonotonic": "1337381502", "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": "10420", "ExecMainStartTimestamp": "Fri 2024-10-04 22:48:41 EDT", "ExecMainStartTimestampMonotonic": "1337382208", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-04 22:48:41 EDT] ; stop_time=[n/a] ; pid=10420 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:48:41 EDT", "InactiveEnterTimestampMonotonic": "1337379639", "InactiveExitTimestamp": "Fri 2024-10-04 22:48:41 EDT", "InactiveExitTimestampMonotonic": "1337382275", "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": "10420", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:48:41 EDT", "WatchdogTimestampMonotonic": "1337382252", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 October 2024 22:48:44 -0400 (0:00:01.163) 0:05:04.168 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003141", "end": "2024-10-04 22:48:45.302989", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:48:45.299848" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 October 2024 22:48:45 -0400 (0:00:00.479) 0:05:04.648 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003086", "end": "2024-10-04 22:48:45.893585", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:48:45.890499" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 October 2024 22:48:46 -0400 (0:00:00.589) 0:05:05.238 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 04 October 2024 22:48:46 -0400 (0:00:00.163) 0:05:05.401 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7360, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 04 October 2024 22:48:47 -0400 (0:00:01.537) 0:05:06.938 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023778", "end": "2024-10-04 22:48:48.238551", "rc": 0, "start": "2024-10-04 22:48:48.214773" } 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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 04 October 2024 22:48:48 -0400 (0:00:00.603) 0:05:07.542 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 04 October 2024 22:48:48 -0400 (0:00:00.074) 0:05:07.616 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 04 October 2024 22:48:48 -0400 (0:00:00.067) 0:05:07.684 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 04 October 2024 22:48:48 -0400 (0:00:00.067) 0:05:07.752 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 04 October 2024 22:48:48 -0400 (0:00:00.071) 0:05:07.823 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 04 October 2024 22:48:48 -0400 (0:00:00.067) 0:05:07.891 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 04 October 2024 22:48:48 -0400 (0:00:00.070) 0:05:07.961 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 04 October 2024 22:48:48 -0400 (0:00:00.072) 0:05:08.033 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 04 October 2024 22:48:49 -0400 (0:00:00.249) 0:05:08.283 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:48:49 -0400 (0:00:00.235) 0:05:08.519 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004225", "end": "2024-10-04 22:48:49.904470", "rc": 0, "start": "2024-10-04 22:48:49.900245" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:48:50 -0400 (0:00:00.802) 0:05:09.322 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:48:50 -0400 (0:00:00.231) 0:05:09.553 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:48:50 -0400 (0:00:00.171) 0:05:09.725 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 04 October 2024 22:48:50 -0400 (0:00:00.128) 0:05:09.854 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:48:50 -0400 (0:00:00.220) 0:05:10.075 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004238", "end": "2024-10-04 22:48:51.259215", "rc": 0, "start": "2024-10-04 22:48:51.254977" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:48:51 -0400 (0:00:00.530) 0:05:10.605 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:48:51 -0400 (0:00:00.158) 0:05:10.764 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:48:51 -0400 (0:00:00.127) 0:05:10.892 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 04 October 2024 22:48:51 -0400 (0:00:00.117) 0:05:11.010 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:48:52 -0400 (0:00:00.216) 0:05:11.226 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004188", "end": "2024-10-04 22:48:52.349153", "rc": 0, "start": "2024-10-04 22:48:52.344965" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:48:52 -0400 (0:00:00.506) 0:05:11.733 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:48:52 -0400 (0:00:00.139) 0:05:11.872 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:48:52 -0400 (0:00:00.278) 0:05:12.150 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 04 October 2024 22:48:53 -0400 (0:00:00.122) 0:05:12.272 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 October 2024 22:48:53 -0400 (0:00:00.245) 0:05:12.517 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004490", "end": "2024-10-04 22:48:53.620765", "rc": 0, "start": "2024-10-04 22:48:53.616275" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 October 2024 22:48:53 -0400 (0:00:00.474) 0:05:12.992 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 October 2024 22:48:53 -0400 (0:00:00.198) 0:05:13.191 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 October 2024 22:48:54 -0400 (0:00:00.191) 0:05:13.382 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 04 October 2024 22:48:54 -0400 (0:00:00.103) 0:05:13.485 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 04 October 2024 22:48:54 -0400 (0:00:00.074) 0:05:13.560 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 October 2024 22:48:56 -0400 (0:00:01.925) 0:05:15.486 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 October 2024 22:48:56 -0400 (0:00:00.211) 0:05:15.698 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 October 2024 22:48:56 -0400 (0:00:00.119) 0:05:15.817 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 October 2024 22:48:56 -0400 (0:00:00.114) 0:05:15.932 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 October 2024 22:48:56 -0400 (0:00:00.094) 0:05:16.027 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 October 2024 22:48:56 -0400 (0:00:00.109) 0:05:16.136 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 October 2024 22:48:57 -0400 (0:00:00.114) 0:05:16.250 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 October 2024 22:48:57 -0400 (0:00:00.105) 0:05:16.356 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 October 2024 22:48:57 -0400 (0:00:00.111) 0:05:16.467 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 October 2024 22:48:57 -0400 (0:00:00.113) 0:05:16.581 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 October 2024 22:48:57 -0400 (0:00:00.116) 0:05:16.697 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 October 2024 22:48:57 -0400 (0:00:00.110) 0:05:16.808 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 04 October 2024 22:48:57 -0400 (0:00:00.308) 0:05:17.116 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 04 October 2024 22:48:58 -0400 (0:00:00.120) 0:05:17.237 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 04 October 2024 22:48:58 -0400 (0:00:00.116) 0:05:17.353 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 04 October 2024 22:48:58 -0400 (0:00:00.091) 0:05:17.445 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 04 October 2024 22:48:58 -0400 (0:00:00.076) 0:05:17.521 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 October 2024 22:48:58 -0400 (0:00:00.082) 0:05:17.604 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 04 October 2024 22:48:58 -0400 (0:00:00.131) 0:05:17.735 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 04 October 2024 22:48:58 -0400 (0:00:00.117) 0:05:17.853 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 04 October 2024 22:48:58 -0400 (0:00:00.091) 0:05:17.945 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 04 October 2024 22:49:00 -0400 (0:00:01.306) 0:05:19.251 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 04 October 2024 22:49:00 -0400 (0:00:00.299) 0:05:19.551 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 04 October 2024 22:49:00 -0400 (0:00:00.098) 0:05:19.649 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 04 October 2024 22:49:00 -0400 (0:00:00.098) 0:05:19.747 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 04 October 2024 22:49:00 -0400 (0:00:00.301) 0:05:20.049 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 04 October 2024 22:49:01 -0400 (0:00:00.656) 0:05:20.705 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 04 October 2024 22:49:01 -0400 (0:00:00.090) 0:05:20.796 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 04 October 2024 22:49:01 -0400 (0:00:00.088) 0:05:20.884 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 04 October 2024 22:49:01 -0400 (0:00:00.078) 0:05:20.963 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 04 October 2024 22:49:01 -0400 (0:00:00.076) 0:05:21.040 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 04 October 2024 22:49:01 -0400 (0:00:00.073) 0:05:21.114 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 04 October 2024 22:49:01 -0400 (0:00:00.078) 0:05:21.192 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 04 October 2024 22:49:02 -0400 (0:00:00.100) 0:05:21.293 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 04 October 2024 22:49:02 -0400 (0:00:00.073) 0:05:21.367 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 October 2024 22:49:02 -0400 (0:00:00.593) 0:05:21.960 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 04 October 2024 22:49:03 -0400 (0:00:00.659) 0:05:22.619 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 04 October 2024 22:49:03 -0400 (0:00:00.109) 0:05:22.729 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005213", "end": "2024-10-04 22:49:03.819563", "rc": 0, "start": "2024-10-04 22:49:03.814350" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 04 October 2024 22:49:03 -0400 (0:00:00.406) 0:05:23.136 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 04 October 2024 22:49:05 -0400 (0:00:01.086) 0:05:24.223 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 04 October 2024 22:49:05 -0400 (0:00:00.101) 0:05:24.324 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 04 October 2024 22:49:05 -0400 (0:00:00.211) 0:05:24.536 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 04 October 2024 22:49:05 -0400 (0:00:00.075) 0:05:24.611 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 04 October 2024 22:49:05 -0400 (0:00:00.086) 0:05:24.698 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 04 October 2024 22:49:05 -0400 (0:00:00.077) 0:05:24.775 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 04 October 2024 22:49:05 -0400 (0:00:00.072) 0:05:24.848 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 04 October 2024 22:49:06 -0400 (0:00:00.611) 0:05:25.459 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:26:39 EDT", "ActiveEnterTimestampMonotonic": "15691731", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-sysctl.service dbus.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:26:38 EDT", "AssertTimestampMonotonic": "14679338", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ConditionTimestampMonotonic": "14679337", "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": "852", "ExecMainStartTimestamp": "Fri 2024-10-04 22:26:38 EDT", "ExecMainStartTimestampMonotonic": "14681171", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:26:38 EDT", "InactiveExitTimestampMonotonic": "14681233", "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": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:26:39 EDT", "WatchdogTimestampMonotonic": "15691479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 October 2024 22:49:06 -0400 (0:00:00.539) 0:05:25.998 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084601", "end": "2024-10-04 22:49:07.204395", "rc": 0, "start": "2024-10-04 22:49:07.119794" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 04 October 2024 22:49:07 -0400 (0:00:00.542) 0:05:26.541 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 04 October 2024 22:49:07 -0400 (0:00:00.101) 0:05:26.642 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 04 October 2024 22:49:07 -0400 (0:00:00.079) 0:05:26.721 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 04 October 2024 22:49:07 -0400 (0:00:00.082) 0:05:26.804 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 04 October 2024 22:49:08 -0400 (0:00:00.396) 0:05:27.201 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 04 October 2024 22:49:08 -0400 (0:00:00.070) 0:05:27.271 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 04 October 2024 22:49:08 -0400 (0:00:00.541) 0:05:27.813 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 04 October 2024 22:49:08 -0400 (0:00:00.072) 0:05:27.886 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 04 October 2024 22:49:08 -0400 (0:00:00.073) 0:05:27.959 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 04 October 2024 22:49:08 -0400 (0:00:00.226) 0:05:28.185 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 04 October 2024 22:49:09 -0400 (0:00:00.078) 0:05:28.264 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 04 October 2024 22:49:09 -0400 (0:00:00.076) 0:05:28.340 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 04 October 2024 22:49:09 -0400 (0:00:00.077) 0:05:28.417 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 04 October 2024 22:49:09 -0400 (0:00:00.070) 0:05:28.488 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 04 October 2024 22:49:09 -0400 (0:00:00.074) 0:05:28.563 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005163", "end": "2024-10-04 22:49:09.622721", "rc": 0, "start": "2024-10-04 22:49:09.617558" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 04 October 2024 22:49:09 -0400 (0:00:00.347) 0:05:28.911 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 04 October 2024 22:49:09 -0400 (0:00:00.079) 0:05:28.990 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 04 October 2024 22:49:11 -0400 (0:00:01.268) 0:05:30.258 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 04 October 2024 22:49:11 -0400 (0:00:00.086) 0:05:30.345 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 04 October 2024 22:49:11 -0400 (0:00:00.116) 0:05:30.461 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 04 October 2024 22:49:11 -0400 (0:00:00.102) 0:05:30.564 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 04 October 2024 22:49:11 -0400 (0:00:00.099) 0:05:30.664 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:49:11 -0400 (0:00:00.311) 0:05:30.975 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004331", "end": "2024-10-04 22:49:13.047245", "failed_when_result": false, "rc": 1, "start": "2024-10-04 22:49:12.042914" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:49:13 -0400 (0:00:01.364) 0:05:32.340 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.117528", "end": "2024-10-04 22:49:13.508352", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:13.390824" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:49:13 -0400 (0:00:00.472) 0:05:32.812 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 04 October 2024 22:49:13 -0400 (0:00:00.072) 0:05:32.885 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 04 October 2024 22:49:13 -0400 (0:00:00.074) 0:05:32.959 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 04 October 2024 22:49:13 -0400 (0:00:00.075) 0:05:33.034 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 October 2024 22:49:13 -0400 (0:00:00.070) 0:05:33.105 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 04 October 2024 22:49:13 -0400 (0:00:00.071) 0:05:33.177 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 04 October 2024 22:49:14 -0400 (0:00:00.069) 0:05:33.247 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 04 October 2024 22:49:14 -0400 (0:00:00.085) 0:05:33.332 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 04 October 2024 22:49:14 -0400 (0:00:00.069) 0:05:33.402 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 04 October 2024 22:49:14 -0400 (0:00:00.070) 0:05:33.472 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 04 October 2024 22:49:14 -0400 (0:00:00.072) 0:05:33.545 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 04 October 2024 22:49:14 -0400 (0:00:00.074) 0:05:33.620 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 04 October 2024 22:49:14 -0400 (0:00:00.087) 0:05:33.708 ******** skipping: [managed-node2] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 04 October 2024 22:49:14 -0400 (0:00:00.134) 0:05:33.842 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:49:14 -0400 (0:00:00.311) 0:05:34.154 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003197", "end": "2024-10-04 22:49:15.229544", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:15.226347" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:49:15 -0400 (0:00:00.421) 0:05:34.575 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:49:15 -0400 (0:00:00.138) 0:05:34.714 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.116003", "end": "2024-10-04 22:49:15.936498", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:15.820495" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 04 October 2024 22:49:16 -0400 (0:00:00.583) 0:05:35.297 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:49:16 -0400 (0:00:00.209) 0:05:35.506 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003169", "end": "2024-10-04 22:49:16.565402", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:16.562233" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:49:16 -0400 (0:00:00.364) 0:05:35.871 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:49:16 -0400 (0:00:00.134) 0:05:36.006 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.115332", "end": "2024-10-04 22:49:17.225018", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:17.109686" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 04 October 2024 22:49:17 -0400 (0:00:00.577) 0:05:36.584 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:49:17 -0400 (0:00:00.217) 0:05:36.801 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003197", "end": "2024-10-04 22:49:17.914362", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:17.911165" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:49:18 -0400 (0:00:00.449) 0:05:37.250 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:49:18 -0400 (0:00:00.126) 0:05:37.376 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.115939", "end": "2024-10-04 22:49:18.611666", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:18.495727" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 04 October 2024 22:49:18 -0400 (0:00:00.784) 0:05:38.161 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 October 2024 22:49:19 -0400 (0:00:00.238) 0:05:38.400 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003342", "end": "2024-10-04 22:49:19.529091", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:19.525749" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 October 2024 22:49:19 -0400 (0:00:00.482) 0:05:38.882 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 October 2024 22:49:19 -0400 (0:00:00.125) 0:05:39.008 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.113688", "end": "2024-10-04 22:49:20.249193", "failed_when_result": false, "rc": 0, "start": "2024-10-04 22:49:20.135505" } 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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 04 October 2024 22:49:20 -0400 (0:00:00.595) 0:05:39.603 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 04 October 2024 22:49:20 -0400 (0:00:00.121) 0:05:39.725 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 04 October 2024 22:49:20 -0400 (0:00:00.092) 0:05:39.817 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 October 2024 22:49:20 -0400 (0:00:00.074) 0:05:39.892 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 04 October 2024 22:49:20 -0400 (0:00:00.074) 0:05:39.967 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 04 October 2024 22:49:20 -0400 (0:00:00.075) 0:05:40.043 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 04 October 2024 22:49:20 -0400 (0:00:00.074) 0:05:40.118 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 04 October 2024 22:49:20 -0400 (0:00:00.073) 0:05:40.192 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 04 October 2024 22:49:21 -0400 (0:00:00.075) 0:05:40.268 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 04 October 2024 22:49:21 -0400 (0:00:00.072) 0:05:40.340 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 04 October 2024 22:49:21 -0400 (0:00:00.070) 0:05:40.411 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 04 October 2024 22:49:21 -0400 (0:00:00.070) 0:05:40.482 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 04 October 2024 22:49:21 -0400 (0:00:00.275) 0:05:40.757 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 04 October 2024 22:49:21 -0400 (0:00:00.120) 0:05:40.878 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 04 October 2024 22:49:21 -0400 (0:00:00.120) 0:05:40.999 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 04 October 2024 22:49:21 -0400 (0:00:00.125) 0:05:41.124 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 04 October 2024 22:49:22 -0400 (0:00:00.129) 0:05:41.254 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 04 October 2024 22:49:22 -0400 (0:00:00.113) 0:05:41.367 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 October 2024 22:49:22 -0400 (0:00:00.116) 0:05:41.483 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 04 October 2024 22:49:22 -0400 (0:00:00.111) 0:05:41.595 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 October 2024 22:49:22 -0400 (0:00:00.127) 0:05:41.723 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 04 October 2024 22:49:22 -0400 (0:00:00.106) 0:05:41.829 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 04 October 2024 22:49:22 -0400 (0:00:00.107) 0:05:41.936 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 04 October 2024 22:49:22 -0400 (0:00:00.087) 0:05:42.024 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 04 October 2024 22:49:22 -0400 (0:00:00.075) 0:05:42.099 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 04 October 2024 22:49:22 -0400 (0:00:00.073) 0:05:42.172 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 04 October 2024 22:49:23 -0400 (0:00:00.070) 0:05:42.243 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 04 October 2024 22:49:23 -0400 (0:00:00.096) 0:05:42.339 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 04 October 2024 22:49:23 -0400 (0:00:00.107) 0:05:42.446 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 04 October 2024 22:49:23 -0400 (0:00:00.112) 0:05:42.559 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 October 2024 22:49:23 -0400 (0:00:00.142) 0:05:42.701 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 October 2024 22:49:23 -0400 (0:00:00.306) 0:05:43.008 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 04 October 2024 22:49:23 -0400 (0:00:00.107) 0:05:43.115 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 04 October 2024 22:49:24 -0400 (0:00:00.117) 0:05:43.233 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 04 October 2024 22:49:24 -0400 (0:00:00.118) 0:05:43.351 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 04 October 2024 22:49:24 -0400 (0:00:00.089) 0:05:43.441 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 04 October 2024 22:49:24 -0400 (0:00:00.076) 0:05:43.517 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 04 October 2024 22:49:24 -0400 (0:00:00.103) 0:05:43.620 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 04 October 2024 22:49:24 -0400 (0:00:00.116) 0:05:43.736 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 04 October 2024 22:49:24 -0400 (0:00:00.129) 0:05:43.866 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 04 October 2024 22:49:24 -0400 (0:00:00.112) 0:05:43.978 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 04 October 2024 22:49:24 -0400 (0:00:00.124) 0:05:44.102 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 04 October 2024 22:49:25 -0400 (0:00:00.096) 0:05:44.199 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 04 October 2024 22:49:25 -0400 (0:00:00.095) 0:05:44.295 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 04 October 2024 22:49:25 -0400 (0:00:00.072) 0:05:44.367 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 04 October 2024 22:49:25 -0400 (0:00:00.069) 0:05:44.437 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 04 October 2024 22:49:25 -0400 (0:00:00.077) 0:05:44.514 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 04 October 2024 22:49:25 -0400 (0:00:00.103) 0:05:44.617 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 04 October 2024 22:49:25 -0400 (0:00:00.114) 0:05:44.732 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 04 October 2024 22:49:25 -0400 (0:00:00.253) 0:05:44.985 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 04 October 2024 22:49:25 -0400 (0:00:00.075) 0:05:45.061 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 04 October 2024 22:49:25 -0400 (0:00:00.076) 0:05:45.137 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 04 October 2024 22:49:26 -0400 (0:00:00.075) 0:05:45.212 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 October 2024 22:49:26 -0400 (0:00:00.441) 0:05:45.653 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:48:41 EDT", "ActiveEnterTimestampMonotonic": "1337382275", "ActiveExitTimestamp": "Fri 2024-10-04 22:48:40 EDT", "ActiveExitTimestampMonotonic": "1337149680", "ActiveState": "active", "After": "-.mount basic.target network.target system.slice auditd.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:48:41 EDT", "AssertTimestampMonotonic": "1337381503", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:48:41 EDT", "ConditionTimestampMonotonic": "1337381502", "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": "10420", "ExecMainStartTimestamp": "Fri 2024-10-04 22:48:41 EDT", "ExecMainStartTimestampMonotonic": "1337382208", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-04 22:48:41 EDT] ; stop_time=[n/a] ; pid=10420 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-04 22:48:41 EDT", "InactiveEnterTimestampMonotonic": "1337379639", "InactiveExitTimestamp": "Fri 2024-10-04 22:48:41 EDT", "InactiveExitTimestampMonotonic": "1337382275", "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": "10420", "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": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-04 22:48:41 EDT", "WatchdogTimestampMonotonic": "1337382252", "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-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 04 October 2024 22:49:27 -0400 (0:00:00.760) 0:05:46.413 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 04 October 2024 22:49:27 -0400 (0:00:00.070) 0:05:46.484 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:26 Friday 04 October 2024 22:49:27 -0400 (0:00:00.072) 0:05:46.556 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 04 October 2024 22:49:27 -0400 (0:00:00.135) 0:05:46.692 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 04 October 2024 22:49:29 -0400 (0:00:01.971) 0:05:48.663 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 04 October 2024 22:49:29 -0400 (0:00:00.153) 0:05:48.817 ******** ok: [managed-node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 04 October 2024 22:49:29 -0400 (0:00:00.110) 0:05:48.928 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 04 October 2024 22:49:30 -0400 (0:00:00.406) 0:05:49.334 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 04 October 2024 22:49:30 -0400 (0:00:00.197) 0:05:49.532 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 04 October 2024 22:49:30 -0400 (0:00:00.103) 0:05:49.636 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 04 October 2024 22:49:31 -0400 (0:00:00.627) 0:05:50.264 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 04 October 2024 22:49:31 -0400 (0:00:00.129) 0:05:50.394 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 04 October 2024 22:49:31 -0400 (0:00:00.502) 0:05:50.896 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 04 October 2024 22:49:31 -0400 (0:00:00.082) 0:05:50.979 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 04 October 2024 22:49:32 -0400 (0:00:00.558) 0:05:51.537 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 04 October 2024 22:49:32 -0400 (0:00:00.073) 0:05:51.611 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 04 October 2024 22:49:32 -0400 (0:00:00.073) 0:05:51.684 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 04 October 2024 22:49:32 -0400 (0:00:00.070) 0:05:51.754 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 04 October 2024 22:49:32 -0400 (0:00:00.190) 0:05:51.945 ******** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 04 October 2024 22:49:32 -0400 (0:00:00.103) 0:05:52.048 ******** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:37:09 EDT", "ActiveEnterTimestampMonotonic": "645476131", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:37:08 EDT", "AssertTimestampMonotonic": "645209788", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:37:08 EDT", "ConditionTimestampMonotonic": "645209787", "Conflicts": "ebtables.service iptables.service shutdown.target ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20532", "ExecMainStartTimestamp": "Fri 2024-10-04 22:37:08 EDT", "ExecMainStartTimestampMonotonic": "645211205", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:37:08 EDT", "InactiveExitTimestampMonotonic": "645211721", "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": "20532", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-10-04 22:37:09 EDT", "WatchdogTimestampMonotonic": "645476077", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 04 October 2024 22:49:33 -0400 (0:00:00.454) 0:05:52.503 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-04 22:37:09 EDT", "ActiveEnterTimestampMonotonic": "645476131", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-04 22:37:08 EDT", "AssertTimestampMonotonic": "645209788", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-04 22:37:08 EDT", "ConditionTimestampMonotonic": "645209787", "Conflicts": "ebtables.service iptables.service shutdown.target ip6tables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20532", "ExecMainStartTimestamp": "Fri 2024-10-04 22:37:08 EDT", "ExecMainStartTimestampMonotonic": "645211205", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-04 22:37:08 EDT", "InactiveExitTimestampMonotonic": "645211721", "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": "20532", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-10-04 22:37:09 EDT", "WatchdogTimestampMonotonic": "645476077", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 04 October 2024 22:49:33 -0400 (0:00:00.444) 0:05:52.947 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 04 October 2024 22:49:33 -0400 (0:00:00.082) 0:05:53.029 ******** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.14 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 04 October 2024 22:49:34 -0400 (0:00:00.350) 0:05:53.380 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 04 October 2024 22:49:34 -0400 (0:00:00.080) 0:05:53.460 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 04 October 2024 22:49:34 -0400 (0:00:00.074) 0:05:53.534 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 04 October 2024 22:49:34 -0400 (0:00:00.075) 0:05:53.610 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 04 October 2024 22:49:34 -0400 (0:00:00.077) 0:05:53.687 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 04 October 2024 22:49:34 -0400 (0:00:00.075) 0:05:53.763 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 04 October 2024 22:49:34 -0400 (0:00:00.073) 0:05:53.836 ******** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.14 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 04 October 2024 22:49:34 -0400 (0:00:00.335) 0:05:54.172 ******** ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 04 October 2024 22:49:35 -0400 (0:00:00.080) 0:05:54.253 ******** skipping: [managed-node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 04 October 2024 22:49:35 -0400 (0:00:00.075) 0:05:54.328 ******** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 04 October 2024 22:49:35 -0400 (0:00:00.297) 0:05:54.626 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 04 October 2024 22:49:35 -0400 (0:00:00.129) 0:05:54.755 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 04 October 2024 22:49:35 -0400 (0:00:00.102) 0:05:54.858 ******** included: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 04 October 2024 22:49:35 -0400 (0:00:00.136) 0:05:54.995 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 04 October 2024 22:49:36 -0400 (0:00:00.396) 0:05:55.391 ******** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 04 October 2024 22:49:36 -0400 (0:00:00.134) 0:05:55.525 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 04 October 2024 22:49:36 -0400 (0:00:00.370) 0:05:55.896 ******** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 04 October 2024 22:49:36 -0400 (0:00:00.080) 0:05:55.976 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 04 October 2024 22:49:37 -0400 (0:00:00.607) 0:05:56.583 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 04 October 2024 22:49:37 -0400 (0:00:00.121) 0:05:56.705 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 04 October 2024 22:49:37 -0400 (0:00:00.109) 0:05:56.814 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 04 October 2024 22:49:37 -0400 (0:00:00.215) 0:05:57.029 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 04 October 2024 22:49:37 -0400 (0:00:00.075) 0:05:57.105 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 04 October 2024 22:49:37 -0400 (0:00:00.087) 0:05:57.192 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 04 October 2024 22:49:38 -0400 (0:00:00.075) 0:05:57.267 ******** ok: [managed-node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 04 October 2024 22:49:38 -0400 (0:00:00.579) 0:05:57.847 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 04 October 2024 22:49:38 -0400 (0:00:00.076) 0:05:57.923 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 04 October 2024 22:49:38 -0400 (0:00:00.107) 0:05:58.031 ******** ok: [managed-node2] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 04 October 2024 22:49:38 -0400 (0:00:00.121) 0:05:58.153 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 04 October 2024 22:49:39 -0400 (0:00:00.128) 0:05:58.281 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 04 October 2024 22:49:39 -0400 (0:00:00.118) 0:05:58.400 ******** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.334635", "end": "2024-10-04 22:49:39.800439", "rc": 0, "start": "2024-10-04 22:49:39.465804" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 04 October 2024 22:49:39 -0400 (0:00:00.719) 0:05:59.120 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 04 October 2024 22:49:40 -0400 (0:00:00.093) 0:05:59.214 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 04 October 2024 22:49:40 -0400 (0:00:00.088) 0:05:59.303 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 04 October 2024 22:49:40 -0400 (0:00:00.071) 0:05:59.375 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 04 October 2024 22:49:40 -0400 (0:00:00.071) 0:05:59.446 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 04 October 2024 22:49:40 -0400 (0:00:00.070) 0:05:59.516 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 04 October 2024 22:49:40 -0400 (0:00:00.192) 0:05:59.709 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 04 October 2024 22:49:40 -0400 (0:00:00.074) 0:05:59.783 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 04 October 2024 22:49:40 -0400 (0:00:00.071) 0:05:59.855 ******** ok: [managed-node2] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 04 October 2024 22:49:43 -0400 (0:00:02.691) 0:06:02.546 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 04 October 2024 22:49:43 -0400 (0:00:00.097) 0:06:02.644 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 04 October 2024 22:49:43 -0400 (0:00:00.092) 0:06:02.736 ******** TASK [Leave realm] ************************************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 04 October 2024 22:49:43 -0400 (0:00:00.212) 0:06:02.949 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 04 October 2024 22:49:43 -0400 (0:00:00.129) 0:06:03.078 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 04 October 2024 22:49:44 -0400 (0:00:00.127) 0:06:03.206 ******** ok: [managed-node2] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Friday 04 October 2024 22:49:44 -0400 (0:00:00.490) 0:06:03.696 ******** changed: [managed-node2] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking 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\nFound and removing 10 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 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 unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+10 Dependent packages)\n\nInstalled size: 1.1 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/13 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/13 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/13 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 4/13 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/13 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/13 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/13 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/13 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/13 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/13 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/13 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/13 \n Erasing : lsof-4.87-6.el7.x86_64 13/13 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/13 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/13 \n Verifying : libatomic-4.8.5-44.el7.x86_64 3/13 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/13 \n Verifying : bzip2-1.0.6-13.el7.x86_64 5/13 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 6/13 \n Verifying : lsof-4.87-6.el7.x86_64 7/13 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/13 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 9/13 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/13 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/13 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 12/13 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 13/13 \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 unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Friday 04 October 2024 22:49:47 -0400 (0:00:03.193) 0:06:06.889 ******** [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed-node2] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.009527", "end": "2024-10-04 22:49:47.945547", "rc": 0, "start": "2024-10-04 22:49:47.936020" } 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/3c628fec-5322-4479-8c97-2aab62f1f6a3’ 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_133725700050040000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133725701233990000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133725698711740000.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_133725701704960000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133725701699220000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133725698759410000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133725698766550000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133725698719840000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133725699008940000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133725699486580000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133725700056230000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133725700554750000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133725699491840000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133725700549480000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133725701239070000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133725699004380000.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/log_7.trc’ 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-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Friday 04 October 2024 22:49:48 -0400 (0:00:00.439) 0:06:07.329 ******** ok: [managed-node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.576226", "end": "2024-10-04 22:49:49.005616", "rc": 0, "start": "2024-10-04 22:49:48.429390" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 04 October 2024 22:49:49 -0400 (0:00:00.929) 0:06:08.258 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.782283", "end": "2024-10-04 22:49:51.194926", "rc": 0, "start": "2024-10-04 22:49:49.412643" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=389 changed=62 unreachable=0 failed=0 skipped=880 rescued=0 ignored=0 Friday 04 October 2024 22:49:51 -0400 (0:00:02.184) 0:06:10.443 ******** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 36.54s /tmp/collections-uR7/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.64s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.61s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.86s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.42s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Remove related packages ------------------------------------------------- 3.19s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.69s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Test with certs created by the certificate role ------------------------- 2.41s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.18s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Gather package facts ---------------------------------------------------- 1.97s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Disable TLS encryption -------------------------------------------------- 1.93s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.73s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.72s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Wait for mssql-server to prepare for client connections ----------------- 1.65s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Copy certificates to hosts ---------------------------------------------- 1.63s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Wait for mssql-server to prepare for client connections ----------------- 1.61s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.54s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.50s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.48s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.48s /tmp/collections-uR7/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93